getCtlClass

Syntax

int getCtlClass(int n)

Return

Returns the class of control number n. If the class returned is 0 (or constant CC_UNUSED) it does not exists (not created or deleted).

One of the following will be returned:

Constant nameValue
CC_ANIMATION24
CC_BITMAP20
CC_CHECKBOX7
CC_COMBOBOX12
CC_EDIT15
CC_FRAME17
CC_GROUPBOX9
CC_ICON21
CC_IMAGE19
CC_LISTBOX11
CC_OWNERDRAW10
CC_PREVIEW25
CC_PROGRESSBAR14
CC_PUSHBUTTON6
CC_RADIOBUTTON8
CC_RECT18
CC_SCROLLBAR2
CC_SLIDER13
CC_SPINNER4
CC_STANDARD1
CC_STATICTEXT16
CC_TAB27
CC_TOOLTIP23
CC_TRACKBAR3
CC_UNUSED0
CC_UPDOWN5
CC_ZOOM26

Please note that not all of the above constants and control types are available yet.