2025-11-27 16:46:48 +09:00

11 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Verdana;}}
{\colortbl ;\red0\green0\blue255;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 The set of the classes to implement combo tree functionality contains 3 basic classes and a template class based on this classes to provide such functionality. These classes were designed in this way to allow more flexibility. So, we can use instead of dropdown \b CTreeCtrl\b0 another dropdown controls like \b COXTreeCtrl\b0 or \b COXShellFolderTree \b0 etc.\par
\par
The main class in this set is a \cf1\b COXComboDropDown\cf0\b0 - this is an abstract class, where most function defined as pure virtual function. This class provides sizing, showing and another managment. Second, \cf1\b COXComboPickerCtrl\cf0\b0 is derived from \b CComboBox\b0 and has relationship with \cf1\b COXComboDropDown\cf0\b0 throw a pointer m_pDropDown to \cf1\b COXComboDropDown\cf0\b0 . This class handles "combo-part" stuff of this set of the clases.\par
And last class, \cf1\b COXDropDownContainer\cf0\b0 is a parent for dropdown controls, (\b CTreeCtrl\b0 , for example). \par
\par
To create your own class based on this set, you have to derive your class from your dropdown control and from \cf1\b COXComboDropDown \cf0\b0 where you override pure virtual functions. To use \b CTreeCtrl\b0 derived classes you can use \cf1\b COXTreeComboDropDown<PARENTTREE> \cf0\b0 class.\par
\pard\par
}