首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

40分悬赏WM_SetFocus 例子给了马上给分解决方案

2012-04-06 
40分悬赏WM_SetFocus 例子给了马上给分如题 给出例子 出口如何响应 WM_SetFocus 和WM_KillFocus[解决办法]

40分悬赏WM_SetFocus 例子给了马上给分
如题 给出例子 出口如何响应 WM_SetFocus 和WM_KillFocus

[解决办法]
WM_SETFOCUS Notification
--------------------------------------------
The WM_SETFOCUS message is sent to a window after it has gained the keyboard focus. 


WM_KILLFOCUS Notification
--------------------------------------------
The WM_KILLFOCUS message is sent to a window immediately before it loses the keyboard focus. 

[解决办法]
case WM_SETFOCUS :
SetFocus (hwndEdit) ;
return 0 ;

[解决办法]

探讨
case WM_SETFOCUS :
SetFocus (hwndEdit) ;
return 0 ;

热点排行