I am using a popup from my main menu, as a context menu when I right-clock.
When an area is selected the cut and copy options are enabled. However this change is not reflected by the context menu.
Is this normal behaviour? Is it necessary for my to define a separate context menu?
Thanks
Derek
Thanks, worked it out - need to enable the items in both menus separately.
yeah, you receive a different message WM_INITPOPUPMENU and WM_INITMENU, assuming you did your EnableMenuItem calls in those handlers
I didn't, can't get WM_INITMENUPOPUP to work.
Log in to post a comment.
I am using a popup from my main menu, as a context menu when I right-clock.
When an area is selected the cut and copy options are enabled. However this change is not reflected by the context menu.
Is this normal behaviour? Is it necessary for my to define a separate context menu?
Thanks
Derek
Thanks, worked it out - need to enable the items in both menus separately.
Derek
yeah, you receive a different message WM_INITPOPUPMENU and WM_INITMENU, assuming you did your EnableMenuItem calls in those handlers
I didn't, can't get WM_INITMENUPOPUP to work.
Derek