Solved

Debug Error Messages

Posted on 1998-05-12
2
898 Views
Last Modified: 2013-11-20
I keep getting this error message in my debug window
after the app finishes..
Heres a extract from the window:
Loaded 'C:\WINNT\system32\indicdll.dll', no matching symbolic information found.
Warning: GetWindowMenuPopup failed!
Loaded 'C:\WINNT\system32\MSIDLE.DLL', no matching symbolic information found.
Warning: GetWindowMenuPopup failed!
The thread 0x6D has exited with code 0 (0x0).

Why do i get GetWindowMenuPopup failed ??
I really can't figure this out, the application works
perfectly but it's quite annoying..

It's a MDI app..

Bjorn !!
0
Comment
Question by:blarsen
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1310019
The GetWindowMenuPopup routine in CMDIFrameWnd searches the mainframe for a window popup menu. It should contain at least one menu item where the the id is between AFX_IDM_WINDOW_FIRST and AFX_IDM_WINDOW_LAST. This is where windows will place the captions of the MDI child windows so you can activate them. If you don't have this menu, the program will still run fine, but you will see this warning, which can be safely ignored.

0
 

Author Comment

by:blarsen
ID: 1310020
HMENU CMainFrame::GetWindowMenuPopup(HMENU hMenuBar)
{
    return NULL;
}

I just added this function as a member function in my mainframe, and the problem vanished..
But i don't know if this is allowed or not..

Bjorn !!


0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question