开发者

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

开发者 https://www.devze.com 2023-01-26 21:40 出处:网络
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 theCOMMAND_RANGE_HANDLER(0, 10000, OnClickCopyItem)

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

精彩评论

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