Troubleshooting MFC Message Maps

  • Thread starter Thread starter Rich Dobbs
  • Start date Start date
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
 
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
 
Back
Top