InitCommonControlsEx

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

BOOL InitCommonControlsEx(
LPINITCOMMONCONTROLSEX
lpInitCtrls);

Parameters

lpInitCtrls

Long pointer to an INITCOMMONCONTROLSEX structure that contains information specifying which control classes are registered.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

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.