InitCommonControlsEx

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

BOOL InitCommonControlsEx(
  LPINITCOMMONCONTROLSEX lpInitCtrls 
);

Parameters

  • lpInitCtrls
    [in] 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.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib.

See Also

Common Control Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.