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 |
|
Istvan Horgos
|
Aug 12, 2005 - 1:46 PM
|
Hello! Is it possible to modify the CExtToolControlBar class (placed on a dialog) so that the buttons are always in center of tool bar? For example: | <- x -> | button a | button b | button c | <- x -> | where 2x is length of dialog minus length of (a + b + c) and areas called x contains no buttons Thanks!
|
|
Bui Tan Duoc
|
Feb 1, 2007 - 1:57 AM
|
Is free vesion OK with this code : g_CmdManager->CmdGetPtr(NULL,ID_FILE_NEW)->m_sToolbarText = _T("New"); Actually, I want to add text to toolbar button !
|
|
Technical Support
|
Feb 1, 2007 - 11:44 AM
|
The toolbar buttons with text below the icons are used in the FunnyBars sample. Please take a look at this sample first and if you still have problems, contact us again.
|
|
Technical Support
|
Aug 13, 2005 - 7:29 AM
|
There is almost nothing impossible in this world :) We have coded a sample application for you (includes a compiled application and a test project). The CMyToolBar class, which is fully implemented in the TestDlg.h file, aligns buttons as you requested. You can copy and use it in your project. Just invoke its SetTBA() method and specify the CMyToolBar::__ETBA_CENTER value as a method parameter as it is demonstrated in the CTestDlg::OnRadioAlignCenter() method in our test project.
|
|
Istvan Horgos
|
Aug 13, 2005 - 1:33 PM
|
This is the best support team I ever seen! Thank you!
|
|