Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » change font and color for selected item in CExtTreeCtrl Collapse All
Subject Author Date
Borremans Pierre Dec 11, 2009 - 3:45 AM

How to change the font and color for the selected item in CExtTreeCtrl ?

Technical Support Dec 11, 2009 - 3:19 PM

Please invoke the CExtTreeCtrl::TreeItemInfoGetPtr() method and get pointer to the CExtTreeCtrl::TREEITEMINFO_t data objects describing the properties of the specified HTREEITEM tree item. The CExtTreeCtrl::TREEITEMINFO_t class has the following public properties:

               COLORREF
                                    m_clrTextNormal,          m_clrBackgroundNormal,
                                    m_clrTextSelected,        m_clrBackgroundSelected,
                                    m_clrTextDisabled,        m_clrBackgroundDisabled,
                                    m_clrTextHover;