![]() |
Combo Box With Icons |
Post Reply ![]() |
Author | |
Maneesh ![]() Newbie ![]() Joined: 02 May 2005 Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() Posted: 02 May 2005 at 7:51am |
Hello How can i create a combobox as a toolbar item and have items with an ICON and its Name like <Excel Icon> Microsoft Excel <OPen Icon> Open File as Drop Down items. Using xtreme toolkit pro ! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Sorry, but we plan to implement Icons from ComboBox only for 10.0 release.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Maneesh ![]() Newbie ![]() Joined: 02 May 2005 Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
Well oleg Iam sorry .... I was able to do it !!! with Xtreme Toolkit pro ! I am not sure whether u understood the problem ~~ well hers the code ! Assume the toolbar button id is IDM_COMBO_SOURCE__BTN and in the OnCreateControl check for this !!! CXTComboBoxEx m_SourceCombo; if ( pToolBar && pToolBar->GetBarID() == IDR_STANDARD_TOOLBAR ) }
Then use the InsertItem() fn to of teh combo box classs to add the items in the combo and u can also set icons or bitmaps to each item !!!
Thanks Maneesh |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |