MDI Status Bar and MRU

Discussion in 'MFC' started by CecilD, May 21, 2009.

  1. CecilD

    CecilD Banned

    Joined:
    May 21, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have a MFC MDI application where I want to put the full path of a file location when selecting one of the "most recently used" list from the file menu.

    The problem is if I hook into the MenuSelect event, the file paths show up in the status bar but the generic behavior of showing menu help text in the status bars stops working.

    Commenting out the "ON_WM_MENUSELECT()" allows the generic help text to the status bar to work.

    Most of the examples I have found are for dialogs, not MDI.

    What am I missing?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    If you hook the event after doing the needed thing call the base class function or pass it on the message to the parent dialog and rest should work fine.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice