Solved

Debug Error Messages

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sum28 challenge 31 115
twoTwo  challenge 35 107
building a service to accessed via telnet client, want colors ? 4 93
Change to event 1 119
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 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