Solved

Debug Error Messages

Posted on 1998-05-12
2
900 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Window placement 17 95
twoTwo  challenge 35 112
sumHeights2  challenge 7 130
unix example issues 18 106
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

749 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