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
 
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


Top