Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   MDI Status Bar and MRU (http://www.go4expert.com/forums/mdi-status-bar-mru-t17656/)

CecilD 21May2009 22:02

MDI Status Bar and MRU
 
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 22May2009 07:15

Re: MDI Status Bar and MRU
 
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.


All times are GMT +5.5. The time now is 03:48.