
trying to add menu to dialog based app
Quote:
>What is the chronological order of things to do to get this working from
>scratch? I probably made some incorrect assumptions/steps.
No you were doing fine, you just can't get there from here :-).
The code which implements the update command UI mechanism is in
CFrameWnd, but dialogs inherit from CWnd, not CFrameWnd, so you don't
get that code. Bummer.
Instead, try handling WM_INITMENUPOPUP and rolling your own update
code. I hear some people have had good luck just nicking the code from
CFrameWnd. Sneaky....
--
Bob Moore [Microsoft MVP - WinSDK]
http://www.mooremvp.freeserve.co.uk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Due to an unreasonable amount of queries, I no
longer answer unsolicited email questions. Sorry,
no exceptions.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~