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 |
|
Offer Har
|
Aug 21, 2009 - 4:50 AM
|
Dear Support, We have a drop-list with many items, we would like to group them into a tree. Is there any ready-to-use control in Prof-UIS that does that? Thanks, Ron.
|
|
Technical Support
|
Aug 22, 2009 - 2:23 PM
|
You can find a lot of articles on the Internet like these:
http://www.codeguru.com/cpp/controls/combobox/dropdown/article.php/c1791 http://www.codeproject.com/KB/combobox/TreeCombo.aspx
But they typically describe how to create something that looks like a combo box common control but not based on it. So, we spent a couple of hours and coded the following simplest possible combo box control with a popup tree control instead of the list box:
http://www.prof-uis.com/download/forums/tmp/TestTreeComboBoxForRon.zip
This is basic implementation which was written just to prove whether this is possible. It’s probably not a ready-to-use control yet. So, we need to know your wishes and task details. The main feature of our tree combo box is that it’s based on the CExtComboBox and CExtTreeCtrl controls - it’s not derived directly from CWnd . But we need to add a lot of additional features. For example, we need to make it working in several specific modes like display comma separated text of all the checked tree items.
|
|