Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CXTPControlComboBox + tree - how?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlComboBox + tree - how?

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


Joined: 19 September 2008
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dzid Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlComboBox + tree - how?
    Posted: 19 September 2008 at 2:30am
Hello,

I would have to create the combobox to use on a toolbar, that will display a tree in it's popup area - something like this.
 

This one was hacked together from the CComboBox and MarkupTreeCtrl from the samples.

However it would be nice to have it look like the CXTPControlComboBox.

I have tried to make the similar control using CXTPControlComboBox as a parent, but have a problem finding the way to display the tree on a popup bar.

I can't derive the popup bar from both CMarkupTreeCtrl and CXTPControlComboBoxPopupBar because both classes have CWnd as a base class.

For some reason I can't subclass the popup window - probably this is a stupid idea anyway.

Is there a way to make a custom popup control for the combo box?
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2008 at 8:56am
Hi;
Have you ever solved this?
How?
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
dzid View Drop Down
Newbie
Newbie


Joined: 19 September 2008
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote dzid Quote  Post ReplyReply Direct Link To This Post Posted: 24 November 2008 at 6:06pm
Hi,

I've just avoided the requirement of the control of such kind :)
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.047 seconds.