Tree-View Control Extended Styles
This section lists extended styles used when creating tree-view controls. The value of extended styles is a bitwise combination of these styles.
| Constant | Description |
|---|---|
|
Windows Vista. Remove the horizontal scroll bar and auto-scroll depending on mouse position. |
|
Windows Vista. Include dimmed checkbox state if the control has the TVS_CHECKBOXES style. |
|
Windows Vista. Specifies how the background is erased or filled. |
|
Windows Vista. Retrieves calendar grid information. |
|
Windows Vista. Include exclusion checkbox state if the control has the TVS_CHECKBOXES style. |
|
Windows Vista. Fade expando buttons in or out when the mouse moves away or into a state of hovering over the control. |
|
Not supported. Do not use. |
|
Windows Vista. Do not indent the tree view for the expando buttons. |
|
Windows Vista. Intended for internal use; not recommended for use in applications. Do not collapse the previously selected tree-view item unless it has the same parent as the new selection. This style must be used with the TVS_SINGLEEXPAND style. Note This style may not be supported in future versions of Comctl32.dll. Also, this style is not defined in commctrl.h. Add the following definition to the source files of your application to use this style:
#define TVS_EX_NOSINGLECOLLAPSE 0x0001 |
|
Windows Vista. Include partial checkbox state if the control has the TVS_CHECKBOXES style. |
|
Windows Vista. Allow rich tooltips in the tree view (custom drawn with icon and text). |
Requirements
|
Header |
|
|---|