Link to home
Start Free TrialLog in
Avatar of paulburns
paulburns

asked on

Warning: GetWindowMenuPopup failed!

I am getting this message in the debug trace output when running my program. Does anyone know what it means and how to get rid of it?
Avatar of vachooho
vachooho
Flag of United States of America image

THis trace message shows that MFC tries to find the "Window" menu item in your default MDIFrame's menu.

It is used for updating menu - by adding mdi child's names into Window menu and "More windows" menu item in case 10 or more child windows found.

It seems that you MDIFrame;s menu does not have Window(or similar) menu item

Avatar of paulburns
paulburns

ASKER

Yes, i removed the Window menu. So can i safely ignore this message?
Yes you can ignore this trace message.

Frame window will do nothing regarding Window menu in the case you delete Window menu.

It has correct behaviour.
ok, thanks. could you answer please.
ASKER CERTIFIED SOLUTION
Avatar of vachooho
vachooho
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial