www.pudn.com > syskeyboard.rar > testDlg.h


// testDlg.h : 头文件 
// 
 
#pragma once 
#import "VirKeybd.dll" raw_interfaces_only , no_namespace , named_guids 
 
// CtestDlg 对话框 
class CtestDlg : public CDialog 
{ 
// 构造 
public: 
	CtestDlg(CWnd* pParent = NULL);	// 标准构造函数 
 
// 对话框数据 
	enum { IDD = IDD_TEST_DIALOG }; 
 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持 
 
 
// 实现 
protected: 
	HICON m_hIcon; 
	CComPtr pKeyboard ;	// IVirKeyBds 
 
	// 生成的消息映射函数 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	DECLARE_MESSAGE_MAP() 
public: 
	afx_msg void OnBnClickedButton1(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnBnClickedButton2(); 
	afx_msg void OnBnClickedButton3(); 
	afx_msg void OnBnClickedButton4(); 
	afx_msg void OnBnClickedButton5(); 
	afx_msg void OnBnClickedCheck2(); 
	afx_msg void OnBnClickedCheck3(); 
	afx_msg void OnBnClickedCheck1(); 
};