MFC:class and struct

1.MSG struct

http://msdn.microsoft.com/en-us/library/900ks98t.aspx

1 typedef struct tagMSG {
2     HWND    hwnd;
3     UINT      message;
4     WPARAM wParam;
5     LPARAM   lParam;
6     DWORD   time;
7     POINT      pt;
8 }  MSG;
View Code

 

2. WNDCLASS

http://msdn.microsoft.com/en-us/library/aa925944.aspx

 1 typedef struct _WNDCLASS {
 2   UINT style; 
 3   WNDPROC lpfnWndProc; 
 4   int cbClsExtra; 
 5   int cbWndExtra; 
 6   HANDLE hInstance; 
 7   HICON hIcon; 
 8   HCURSOR hCursor; 
 9   HBRUSH hbrBackground; 
10   LPCTSTR lpszMenuName; 
11   LPCTSTR lpszClassName; 
12 } WNDCLASS; 
View Code

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。