IsChecked returns TRUE if the widget’s checkbox is checked; FALSE if it is unchecked.
Use this function on TreeViewEx widgets instead of the GetItemImageState method.
For information on specifying Item, see the ListView class.
If the widget does not have check boxes, IsChecked returns an exception, E_WINDOW_TYPE_MISMATCH.