comctl32 topic
Common Controls Library
Implements a wide variety of standard Windows controls, such as File Open, Save, and Save As dialogs, progress bars, and list views. It creates and manages the windows for these UI elements, places various graphic elements within them, and collects user input.
Functions
-
DefSubclassProc(
int hWnd, int uMsg, int wParam, int lParam) → int comctl32 - Calls the next handler in a window's subclass chain. The last handler in the subclass chain calls the original window procedure for the window.
-
DrawStatusText(
int hDC, Pointer< comctl32RECT> lprc, Pointer<Utf16> pszText, int uFlags) → void - The DrawStatusText function draws the specified text in the style of a status window with borders.
-
InitCommonControlsEx(
Pointer< comctl32INITCOMMONCONTROLSEX> picce) → int - 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.
-
RemoveWindowSubclass(
int hWnd, Pointer< comctl32NativeFunction< pfnSubclass, int uIdSubclass) → intSUBCLASSPROC> > - Removes a subclass callback from a window.
-
SetWindowSubclass(
int hWnd, Pointer< comctl32NativeFunction< pfnSubclass, int uIdSubclass, int dwRefData) → intSUBCLASSPROC> > - Installs or updates a window subclass callback.
-
TaskDialog(
int hwndOwner, int hInstance, Pointer< comctl32Utf16> pszWindowTitle, Pointer<Utf16> pszMainInstruction, Pointer<Utf16> pszContent, int dwCommonButtons, Pointer<Utf16> pszIcon, Pointer<Int32> pnButton) → int - The TaskDialog function creates, displays, and operates a task dialog. The task dialog contains application-defined message text and title, icons, and any combination of predefined push buttons. This function does not support the registration of a callback function to receive notifications.
-
TaskDialogIndirect(
Pointer< comctl32TASKDIALOGCONFIG> pTaskConfig, Pointer<Int32> pnButton, Pointer<Int32> pnRadioButton, Pointer<Int32> pfVerificationFlagChecked) → int - The TaskDialogIndirect function creates, displays, and operates a task dialog. The task dialog contains application-defined icons, messages, title, verification check box, command links, push buttons, and radio buttons. This function can register a callback function to receive notification messages.