<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > TreeView Control > TreeView Control Commands > TreeView_SetCheck |
Description
The optional checkbox for the data item specified by hItem is set based upon the value of the CheckFlag parameter.
If CheckFlag is %TRUE, the item is checked. If CheckFlag is %FALSE, the item is unchecked.
Syntax
Treeview_SetCheck(hWnd, ctrlID, hItem, CheckFlag)
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
hItem |
Number |
No |
Handle of a Treeview item, used to uniquely identify the item |
CheckFlag |
Number |
No |
%TRUE or %FALSE |
Remarks
Restrictions
See also
Examples