AfxRegisterWndClass(0,....)第一个参数的问题

来源:互联网 发布:沭阳美工招聘信息 编辑:程序博客网 时间:2024/04/30 01:06
1。 Sets   the   mouse   style   to   CS_DBLCLKS,   which   sends   double-click   messages   to   the   window   procedure when      the   user   double-clicks   the   mouse.    

2。 Sets   the   arrow   cursor   style   to   the   Windows   standard   IDC_ARROW.     
3。 Sets   the   background   brush   to   NULL,   so   the   window   will   not   erase   its   background.    
4。 Sets   the   icon   to   the   standard,   waving-flag   Windows   logo   icon.

当第一个参数设置为NULL时,有上面四个反应。第一个反映是屏蔽了鼠标左键的双击消息。

但是,当我调用了AfxRegisterWndClass(0)后, 我还是想恢复鼠标左键的双击消息。 
该怎么处理呢。


0 0
原创粉丝点击