Troubleshooting MFC Message Maps


R

Rich Dobbs

Recently, I restructured my MDI MFC application moving one of my views to a new MDIChildWnd. At some point in this process, several of menu items for commands implemented by my view stopped being enabled. Initially, I just had an ON_COMMAND entry in my view's message map, but even when I added an ON_UPDATE_COMMAND_UI entry, the OnUpdate handler doesn't get called.

What's an effect way to debug this kind of problem?

I'm using Visual Studio 2008.

Thanks for any help,

Rich Dobbs

Submitted via EggHeadCafe - Software Developer Portal of Choice
AJAX Web Service Driven Customers Table With Customer Details
http://www.eggheadcafe.com/tutorial...en-customers-table-with-customer-details.aspx
 
Ad

Advertisements

C

Cholo Lennon

Recently, I restructured my MDI MFC application moving one of my
views to a new
MDIChildWnd. At some point in this process, several of menu items
for commands
implemented by my view stopped being enabled. Initially, I just had
an ON_COMMAND entry
in my view's message map, but even when I added an
ON_UPDATE_COMMAND_UI entry,
the OnUpdate handler doesn't get called.

What's an effect way to debug this kind of problem?

I'm using Visual Studio 2008.

Thanks for any help,

Rich Dobbs

Submitted via EggHeadCafe - Software Developer Portal of Choice
AJAX Web Service Driven Customers Table With Customer Details

http://www.eggheadcafe.com/tutorials/aspnet/4c3d2726-
d99e-4f83-9e49-0d4
867b6271a/ajax-web-
service-driven-customers-table-with-customer-details.aspx
This newsgroup is almost inactive (and your question is about MFC,
not C++ CLI). Try posting in microsoft.public.vc.mfc

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Message Map ID 0
MFC dead 16
STL and MFC 6
MFC documentation 2
MFC and Qt 0
dotnet or MFC 2
MFC class - Properties tab - Windows Messages 0
MFC or.NET 3

Top