现在的位置: 首页 > 综合 > 正文

WM_NOTIFY and ON_NOTIFY_REFLECT

2017年09月07日 ⁄ 综合 ⁄ 共 496字 ⁄ 字号 评论关闭
by --MSDN
The message-map macro for reflected messages is slightly different than for regular notifications: it has _REFLECT appended to its usual name. For instance, to handle a WM_NOTIFY message in the parent, you use the macro ON_NOTIFY in the parent’s message map. To handle the reflected message in the child control, use the ON_NOTIFY_REFLECT macro in the child control’s message map. In some cases, the parameters are different, as well. Note that ClassWizard can usually add the message-map entries for you and provide skeleton function implementations with correct parameters.

抱歉!评论已关闭.