views:

29

answers:

0

Hi i am new to hooking..i am using wm_getmessage hook to know which menu item is clicked. i am using the follwing code to get identifier of the menu

WORD identifier=LOWORD(pMsg->wParam);

it is giving integer value..up to now is fine... my problem is how to know which menu item is clicked by using this identifier? is it possible by this? or is there any other way to know which menu item clicked?

please explain with code if possible..

Thanks in advance...