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.
Subject |
Author |
Date |
|
Norman Tellinot
|
Nov 18, 2006 - 3:19 PM
|
When I use an MFC CDialogBar, the buttons in the dialog hosted by the CDialogBar result in commands sent to the frame/view etc...
This no longer works if you use CExtResizableDialog & CExtControlPanelBar, as suggested in the help.
What is the prescribed way to get this to work?
I looked in the FixedSizePanels sample, and it looks the buttons in the dialog bars use "CDynamicButton", which overrides CExtButton::_OnClick (which is undocumented), and sends a WM_COMMAND message with the buttons ctrlid. Is that the suggested way?
|
|
Technical Support
|
Nov 21, 2006 - 3:17 AM
|
You should use a CExtPanelControlBar window with a dialog window inside. In your dialog class, you can handle all the events from windows inside the dialog.
|
|