![]() Retrieves a count of the items in a tree-view control. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_CHILD flag. Retrieves the first child item of the specified tree-view item. You can also use the TVM_GETITEMSTATE message directly. Gets the check state of the specified item. You can use this macro or send the TVM_GETBKCOLOR message explicitly. Retrieves the current background color of the control. You can use this macro or send the TVM_EXPAND message explicitly. The TreeView_Expand macro expands or collapses the list of child items associated with the specified parent item, if any. You can use this macro or send the TVM_ENSUREVISIBLE message explicitly. You can use this macro or send the TVM_ENDEDITLABELNOW message explicitly.Įnsures that a tree-view item is visible, expanding the parent item or scrolling the tree-view control, if necessary. You can use this macro or send the TVM_EDITLABEL message explicitly.Įnds the editing of a tree-view item's label. This macro implicitly selects and focuses the specified item. ![]() You can also send the TVM_DELETEITEM message explicitly.īegins in-place editing of the specified item's text, replacing the text of the item with a single-line edit control containing the text. Removes an item and all its descendants from a tree-view control. You can use this macro or send the TVM_CREATEDRAGIMAGE message explicitly.ĭeletes all items from a tree-view control. An application can display the image when dragging the item by using the image list functions. The macro also creates an image list for the bitmap and adds the bitmap to the image list. This section contains implementation details and example code for working with tree-view controls.Ĭreates a dragging bitmap for the specified item in a tree-view control. Overviews TopicĪ tree-view control is a window that displays a hierarchical list of items, such as the headings in a document, the entries in an index, or the files and directories on a disk. This section contains information about the programming elements used with tree-view controls.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |