⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scannerdlg.h

📁 Wifi扫描器和自定义MFC控件 Wifi scanner + custom MFC controls 在WINCE环境下工作。
💻 H
字号:
#pragma once

#include "afxcmn.h"

#include "ColoredDlg.h"
#include "ListCtrlEx.h"

// CWifiDevicesDlg dialog

class CScannerDlg : public CColoredDlg
{
	DECLARE_DYNAMIC(CScannerDlg)

public:
	CScannerDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CScannerDlg();
	void UpdateList();
	void SetListFont(int iFontSize);

// Dialog Data
	enum { IDD = IDD_SCANNER_DLG };

protected:
	void UpdateItem(DisplayInfo nfo);
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	afx_msg void OnPaint();
	afx_msg void OnPopupGolarge();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);

	DECLARE_MESSAGE_MAP()

	bool GetRow(DWORD ID, DisplayInfo &di);
	void ApplyListFont();
	bool m_bListFontApplied;

	DisplayInfo m_diTmp;
	int m_iListFontSize;
	bool m_bLarge;
	int m_iLargeID;

	CListCtrlEx m_list;
	CFont m_listfont;
	CString m_numactive;
	CString m_rb_static;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -