开发者

how to fire menu item click event in ATL OR WTL?

Currently i am using the ON_WM_SELECT messgae but it will fire on mous开发者_运维技巧e hover over the menu.


Instead of the ON_WM_SELECT i used the COMMAND_RANGE_HANDLER(0, 10000, OnClickCopyItem) to get the click event for the each menu item

COMMAND_RANGE_HANDLER( idFirst, idLast, func )

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜