1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

MDI Status Bar and MRU

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

  1. CecilD

    CecilD Banned

    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

    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