Registers and initializes certain common control window classes. This function is obsolete. New applications should use the InitCommonControlsEx function.
Syntax
void InitCommonControls(VOID);
Return Value
No return value.
Remarks
Under Comctl32.dll version 5.x, only Microsoft Windows 95 classes (ICC_WIN95_CLASSES) can be registered through InitCommonControls. Programs which require additional common control classes must use the InitCommonControlsEx function.
Under Comctl32.dll version 6.0 and later, InitCommonControls does nothing. Applications must explicitly register all common controls through InitCommonControlsEx.
Function Information
| Minimum DLL Version | comctl32.dll |
|---|
| Header | commctrl.h |
|---|
| Import library | comctl32.lib |
|---|
| Minimum operating systems |
Windows NT 3.51, Windows 95 |
|---|