InitCommonControlsEx (function)

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function registers specific common controls classes from the common control dynamic-link library (DLL).


BOOL InitCommonControlsEx(
  LPINITCOMMONCONTROLSEX lpInitCtrls 
);

lpInitCtrls

[in] Long pointer to INITCOMMONCONTROLSEX (structure) that contains information specifying which control classes are registered.

TRUE indicates success. FALSE indicates failure.

The effect of each call to InitCommonControlsEx is cumulative. For example, if InitCommonControlsEx is called with the ICC_UPDOWN_CLASS flag, then is later called with the ICC_HOTKEY_CLASS flag, the result is that both the up-down and hot key common control classes are registered and available to the application.

Headercommctrl.h
Librarycommctrl.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: