如何响应动态创建CStatic控件的消息
1个回答
展开全部
那就用ON_NOTIFY_RANGE:
ON_NOTIFY_RANGE( wNotifyCode, id, idLast, memberFxn )
参数:
wNotifyCode
The code for the notification message to be handled, such as LVN_KEYDOWN.
id
The first identifier in the contiguous range of identifiers.
idLast
The last identifier in the contiguous range of identifiers.
memberFxn
The member function to be called when this notification is sent.
afx_msg void memberFxn( UINT id, NMHDR * pNotifyStruct, LRESULT * result );
where the italicized parameters are:
id
The child identifier of the control that sent the notification.
pNotifyStruct
A pointer to the notification structure, as described above.
result
A pointer to the result code you’ll set before you return
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询