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

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 ;