Table of Contents

TTMSFNCCustomControl.GetCheckBoxBitmap Method

Returns the native OS checkbox bitmap for use in custom drawing. Pass AChecked, AFocused, and AEnabled to select the appropriate visual state.

API unit family: TMSFNCCustomControl Declaring type: TTMSFNCCustomControl

Syntax

function GetCheckBoxBitmap(AChecked: Boolean = False; AFocused: Boolean = False; AEnabled: Boolean = True): TTMSFNCBitmapHelperClass; virtual;

Parameters

Name Description
AChecked When True, returns the checked-state bitmap.
AFocused When True, returns the focused-state bitmap.
AEnabled When False, returns the disabled-state bitmap.

Returns

The bitmap helper for the requested checkbox state.