SS_NOTIFY

Sends the parent window STN_CLICKED, STN_DBLCLK, STN_DISABLE, and STN_ENABLE notification codes when the user clicks or double-clicks the control.

SS_NOTIFY属性使得CStatic控件能够接收鼠标事件并通知其父窗口,CStatic控件默认不接受鼠标事件

PS:通过一个CStatic上tooltip不显示的问题发现

05-18 20:38