InitCommonControls function

Registers and initializes certain common control window classes. This function is obsolete. New applications should use the InitCommonControlsEx function.

Syntax

void InitCommonControls(

);

Parameters

This function has no parameters.

Return Value

This function does not return a value.

Remarks

Under Comctl32.dll version 5.x, only 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.

Requirements

   
Windows version Windows Vista [desktop apps only] Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h
Library Comctl32.lib
DLL Comctl32.dll