[cpp] view plain copy print? [cpp] view plain copy print? http://blog.csdn.net/microzone/article/details/49883783 Read More
posted @ 2018-01-18 00:48 findumars Views(1365) Comments(0) Diggs(0)
集成开发环境(IDE)可以给程序员提供很大的帮助。大多数的IDE包含编译器和解释器。例如微软的 Visual Studio 本身内置的编译器和解释就是很好的例子,Eclipse 是另一个很好的例子。鼓励程序员使用IDE的主要原因是开发软件应用程序的各个组成部分之间可方便的进行切换。一般一个特定的ID Read More
posted @ 2018-01-18 00:47 findumars Views(13045) Comments(0) Diggs(0)
获取本地时间 1 2 3 4 5 6 7 8 9 10 11 1.GetLocalTime获取的是本地时区时间 1 2 2.GetSystemTime获取的是UTC时间 1 2 Note: UTC(Universal Time Coordinated),协调世界时,又称世界标准时间或世界协调时间.  Read More
posted @ 2018-01-18 00:41 findumars Views(7304) Comments(0) Diggs(0)
函数原型 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)