函数原型 1 2 3 4 5 6 The PostThreadMessage function posts a message to the message queue of the specified thread. It returns without waiting for the threa Read More
posted @ 2018-01-18 00:39
findumars
Views(1258)
Comments(0)
Diggs(0)
我们以CListCtrl控件为例来分析WM_NOTIFY消息。 CListCtrl控件在Report样式下会包含CHeaderCtrl标头控件,即CHeaderCtrl标头控件为CListCtrl控件的子控件,所以不难理解,拖动CHeaderCtrl标头控件的列分隔栏会投递HDN_BEGINTRAC Read More
posted @ 2018-01-18 00:36
findumars
Views(1219)
Comments(0)
Diggs(0)
参考文章:MFC的消息反射机制 [cpp] view plain copy if (message == WM_NOTIFY) { NMHDR* pNMHDR = (NMHDR*)lParam; if (pNMHDR->hwndFrom != NULL && OnNotify(wParam, lPa Read More
posted @ 2018-01-18 00:35
findumars
Views(2231)
Comments(0)
Diggs(0)
[appmodul.cpp] 1 2 3 4 5 6 7 [winmain.cpp] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 CWinApp::InitApplication CWinThread::InitInstance CWinThread:: Read More
posted @ 2018-01-18 00:34
findumars
Views(666)
Comments(0)
Diggs(0)
Windows消息范围及意义 #define WM_USER 0x0400 #define WM_APP 0x8000 0到WM_USER-1 Messages reserved for use by the system 系统预留使用的消息 WM_USER到0x7FFF Integer messa Read More
posted @ 2018-01-18 00:31
findumars
Views(2305)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号