首页 > 技术文章 > CStatic控件SS_NOTIFY属性

yibinpan 2014-03-10 17:01 原文

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不显示的问题发现

推荐阅读