
Checking menu items in dialog based app.
Quote:
> I can't seem to check menu items with the code I have below in a dialoged
>based application. This same code however, will work in an SDI or MDI
>application. This code is very simplictic using ON_UPDATE _COMMAND
>handlers. Say it ain't so that you can't check menu items in a dialog app.
OK, I won't say it. That won't change the reality though <g>. The
problem is that the command-ui dispatching stuff is in the cframewnd
class, but not in the cdialog. I have heard of people copying chunks
of code from CFrameWnd to try and get this working, but I always
figured that life was too short for that and simply used the old
fashioned API calls to do my checking and enabling.
Bob Moore [WinSDK MVP]