?? skbdlg.h
字號:
// AADlg.h : header file
/////////////////////////////////////////////////////////////////////////////
// CSKBDlg dialog
//////位置由父窗口設(shè)置
class CSKBDlg : public CDialog
{
// Construction
public:
////CSKBDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSKBDlg)
enum { IDD = IDD_SOFTKB };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSKBDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSKBDlg)
virtual BOOL OnInitDialog();
afx_msg void On1();
afx_msg void On2();
afx_msg void On3();
afx_msg void On4();
afx_msg void On5();
afx_msg void On6();
afx_msg void On7();
afx_msg void On8();
afx_msg void On9();
afx_msg void On0();
afx_msg void OnCapslock();
afx_msg void OnA();
afx_msg void OnB();
afx_msg void OnC();
afx_msg void OnD();
afx_msg void OnE();
afx_msg void OnF();
afx_msg void OnG();
afx_msg void OnH();
afx_msg void OnI();
afx_msg void OnJ();
afx_msg void OnK();
afx_msg void OnL();
afx_msg void OnM();
afx_msg void OnN();
afx_msg void OnO();
afx_msg void OnP();
afx_msg void OnQ();
afx_msg void OnR();
afx_msg void OnS();
afx_msg void OnT();
afx_msg void OnU();
afx_msg void OnV();
afx_msg void OnW();
afx_msg void OnX();
afx_msg void OnY();
afx_msg void OnZ();
afx_msg void OnEnter();
afx_msg void OnSpace();
afx_msg void OnBs();
afx_msg void OnDel();
afx_msg void OnAdd();
afx_msg void OnSubtract();
afx_msg void OnMulti();
afx_msg void OnDivide();
afx_msg void OnDoublepoint();
afx_msg void OnComma();
afx_msg void OnFullstop();
afx_msg void OnQuestionmark();
afx_msg void OnExcalmatorymark();
afx_msg void OnAt();
afx_msg void OnMoney();
afx_msg void OnPercent();
afx_msg void OnLeftparenthesis();
afx_msg void OnRightparenthesis();
afx_msg void OnEqualmark();
afx_msg void OnSolidus();
afx_msg void OnSmall();
afx_msg void OnBig();
afx_msg void OnLeft();
afx_msg void OnRight();
afx_msg void OnUp();
afx_msg void OnDown();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CSKBDlg(CWnd* pWnd);
BOOL Create();
private:
CWnd* m_pParentWnd; ////父窗口
CWnd* m_pTargetWnd; ///目標窗口指針
BOOL IsLowerCase; ///小寫字母時為真
public:
void SetTargetWnd(CWnd* pWnd) ///指定目標窗口
{
m_pTargetWnd = pWnd;
}
void ExecuteNumKey(UINT nVKey); //////數(shù)字鍵
void ExecuteLetterKey(UINT nVKey); //////字母鍵
void ExecuteChrKey(UINT nVKey); ////符號鍵,有的需要上檔鍵
};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -