=WM_VSCROLL(消息反射) 和 WM_VSCROLL(消息响应)的区别 所谓消息反射就是控件拥有者自己不处这个理消息,而是反射给控件对象本身来处理这个消息 1、“=WM_VSCROLL”是消息反射标志 , WM_VSCROLL是 消息响应的标志,在VC6.0的ClassWizard中注意会发 Read More
posted @ 2017-03-18 00:45
findumars
Views(631)
Comments(0)
Diggs(0)
//程序入口 [cpp] view plain copy intAPIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MSG msg; //消息结构体 //向系统 Read More
posted @ 2017-03-18 00:43
findumars
Views(1238)
Comments(0)
Diggs(0)
http://blog.csdn.net/qq2399431200/article/details/9035315 Read More
posted @ 2017-03-18 00:41
findumars
Views(875)
Comments(0)
Diggs(0)
控件向父窗体发送自定义消息,父窗体定义处理此消息的函数 程序源代码(整个工程)下载:http://download.csdn.net/detail/qq2399431200/6274793 效果描述: 指定哪个类添加自定义消息:(当然这个类必须是CmdTarget的子类,不然不能处理消息) 添加消息 Read More
posted @ 2017-03-18 00:35
findumars
Views(2858)
Comments(0)
Diggs(0)
NULL_BRUSH 或HOLLOW_BRUSH和GetStockObject函数 备注:HOLLOW_BRUSH等价于NULL_BRUSH,都代表透明化刷 返回值:返回一个GDIOBJ对象的句柄。根据需要转换成笔/刷的句柄, 如:HBRUSH(GetStockObject(HOLLOW_BRUSH Read More
posted @ 2017-03-18 00:33
findumars
Views(1644)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号