Jegyzet
Az oldalhoz való hozzáférés engedélyezést igényel. Próbálhatod be jelentkezni vagy könyvtárat váltani.
Az oldalhoz való hozzáférés engedélyezést igényel. Megpróbálhatod a könyvtár váltását.
Ensures that the common control DLL (Comctl32.dll) is loaded, and registers specific common control classes from the DLL. An application must call this function before creating a common control.
Syntax
BOOL InitCommonControlsEx(
[in] const INITCOMMONCONTROLSEX *picce
);
Parameters
[in] picce
Type: const LPINITCOMMONCONTROLSEX
A pointer to an INITCOMMONCONTROLSEX structure that contains information specifying which control classes will be registered.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |
| Library | Comctl32.lib |
| DLL | Comctl32.dll (version 4.70 or later) |
| API set | ext-ms-win-shell-comctl32-init-l1-1-0 (introduced in Windows 10, version 10.0.10240) |