Print Page | Close Window

CXTPControlComboBox + tree - how?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12203
Printed Date: 28 February 2025 at 4:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPControlComboBox + tree - how?
Posted By: dzid
Subject: CXTPControlComboBox + tree - how?
Date 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?



Replies:
Posted By: mgampi
Date 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


Posted By: dzid
Date Posted: 24 November 2008 at 6:06pm
Hi,

I've just avoided the requirement of the control of such kind :)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net