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 |
|
HP Jiang
|
Feb 4, 2010 - 9:15 PM
|
In my CExtResizableDialog dialog, an instance of CExtToolControlBar is created. by I don’t know how to dock it in the left of the dialog since it’s docked on the top as default. who knows the solution thanks Jiang
|
|
HP Jiang
|
Feb 8, 2010 - 2:41 AM
|
|
|
Technical Support
|
Feb 5, 2010 - 11:17 AM
|
You should invoke the CWnd::RepositionBars( 0, 0xFFFF, 0 ); code both in the OnInitDialog() and OnSize() methods of your dialog class. Your toolbar should be created with the CBRS_ALIGN_RIGHT style or you should apply this style using the pBar->SetBarStyle( ( pBar->GetBarStyle & (~(CBRS_ALIGN_ANY)) ) | CBRS_ALIGN_RIGHT ); code.
|
|