Menu

Context menu

2003-01-04
2012-09-26
  • Derek Baker

    Derek Baker - 2003-01-04

    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

     
    • Derek Baker

      Derek Baker - 2003-01-04

      Thanks, worked it out - need to enable the items in both menus separately.

      Derek

       
    • Nobody/Anonymous

      yeah, you receive a different message WM_INITPOPUPMENU and WM_INITMENU, assuming you did your EnableMenuItem calls in those handlers

       
    • Derek Baker

      Derek Baker - 2003-01-05

      I didn't, can't get WM_INITMENUPOPUP to work.

      Derek

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.