Ctl3dCtlColorEx function
Handles the WM_CTLCOLOR message for applications that use CTL3D.
Syntax
HBRUSH Ctl3dCtlColorEx(
UINT wm,
WPARAM wParam,
LPARAM lParam
);
Parameters
-
wm
-
The WM_CTLCOLOR message for the application.
-
wParam
-
A handle to the display context (DC).
-
lParam
-
A handle to a child window (control).
Return value
Returns a handle to the appropriate brush if the function succeeds; otherwise, it returns (HBRUSH)(0)
indicating that an error occurred.
Remarks
This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.
Requirements
Requirement | Value |
---|---|
DLL |
|