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 |
|
Matteo Codda
|
Jun 11, 2008 - 6:34 AM
|
Hi, I’m working with Profui 2.8.1 and I need to create several "dynamic" toolbar at run-time with different control’s types (like edit, combo or button). How can I do this? I don’t have find anything inside the sample section, faq or form news ! Can you help me with a sample? Thanks a lot... Matteo
|
|
Technical Support
|
Jun 16, 2008 - 7:05 AM
|
The CExtToolControlBar class has a set of methods with which you can dynamically create a toolbar, i.e. InsertButton , RemoveButton , and SetButtons . If you need to insert some control to a toolbar, you should use the CExtToolControlBar::SetButtonCtrl() method which attaches a window handle to a toolbar button. You can take a look how the m_wndComboSolutionCfg combo box is created as a toolbar button in the ProfStudio sample.
|
|