This isn't specifically NI related (though it is a problem I've run into while developping instrument control software with MStudio).
Evidently I've never tried to construct a Dialog based app before in MSVC++/MFC with menus. I have my main app window derived from CDialog, and I added a menu to it. The menu events fire fine, and the OnUpdateCmdUI events fire too. But here's the catch: the ON_UPDATE_COMMAND_UI events fire immediately before the item ON_COMMAND events (ie: not when the menu is first displayed, but after an command has been clicked).
How do I ensure that the menu is updated normally? You know, so check and radio settings actually appear (the way they do in frame windows)?
Thanks for any advice,
-Mike
mje1@u.washington.edu