Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » About menu item disabled when creating dialog-based application Collapse All
Subject Author Date
Offer Har Dec 17, 2008 - 10:02 AM

When I create a dialog based application, and let the MFC wizard add the About option, then replaced CDialog with CExtNCW<CExtResizableDialog>, the About MyAppName... command is disabled. This code was generated by the wizard, and works well bofre to replacement of the CDialog - please cehck & fix.


Thanks,


Ron.

Technical Support Dec 18, 2008 - 11:18 AM

The menus in Prof-UIS are built up on top of the MFC’s command updating mechanism. You should add a ID_APP_ABOUT menu command to the system menu of your dialog and add a message handler for it to your dialog class or your application class. The ID_APP_ABOUT command should be used instead of the IDM_ABOUT command.