MDI Status Bar and MRU

CecilD's Avatar
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?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.