Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - ComboBox on ToolBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ComboBox on ToolBar

 Post Reply Post Reply
Author
Message
martypku View Drop Down
Newbie
Newbie


Joined: 17 September 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote martypku Quote  Post ReplyReply Direct Link To This Post Topic: ComboBox on ToolBar
    Posted: 20 September 2006 at 9:24am
I want add a ComboBox to a toolbar.
The ComboBox is something like layer control of AutoCAD, which is a famous graphic software.
 
The ComboBox has the following features:
 
1. For any row, it includes a string and some icons.
 
2. When the ComboBox is popup, you can click on an icon to change image of the icon, such as on/off of a bulb.
 
3. The combobox doesnot close up until you click on the string part of a row.
 
In my former mfc project, I use CComboBox. But now I am afraid I can only use CXTPControlComboBox.I look through all topics of this forum and the samles(including CustomThemes), but I cannot find exactly what I want.
So, ......
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 9:31am
Hello,
in CustomThemes sample there is ComboPopup. May be it can fit for you?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
martypku View Drop Down
Newbie
Newbie


Joined: 17 September 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote martypku Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 9:41am

I checked the Line Style control, I am afraid it is not enough for me.

I hope I can control the close-up of combo: when I click on an icon, the combo doesnot close up and change the image of the icon.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 10:23am
No, I mean last Combo in ComboBar that show popupbar (Save as XML combo) you can show any popup bar in combo with icons.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
martypku View Drop Down
Newbie
Newbie


Joined: 17 September 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote martypku Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 10:41pm
Sorry, I cannot find the combo what you said.
I agree with you that I can show any popup bar in combo with icons. However, what I mostly concern is how I can control the close-up of the listbox part of combo.
Back to Top
martypku View Drop Down
Newbie
Newbie


Joined: 17 September 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote martypku Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 2:28am

Help me, please!

Thanks in advance.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 2:50am
Hi,
 
May be your toolkit  version is old.
I mean this combo:
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
martypku View Drop Down
Newbie
Newbie


Joined: 17 September 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote martypku Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 4:20am
Oh, yes, my sample doesnot include this.
Can you send it to me?
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 September 2006 at 5:32am

Hello,

I afraid you have to update your toolkit.
Your version doesn't support Combo + PopupBar
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.