What steps are needed to do a OnContextMenu (dialog app) and have the menu: 1) not appear unless it is over the list control and 2) change according to what is selected on the list control? Por ejemplo, in Outlook, the context menu is different when right clicking on the left, shortcuts, pane vs. when you right click in the right, message list, pane. Also, within the message list, the menu changes according to whether the item right clicked has an attachment to view or not.
I can do a simple context menu, but am not sure how you limit/change it on the fly.
TIA for any direction you can give.
I can do a simple context menu, but am not sure how you limit/change it on the fly.
TIA for any direction you can give.