Vcl.Forms.Ctl3DCtlColorEx

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

Ctl3DCtlColorEx: function(Window: HWnd; Msg, wParam, lParam: Longint): Longint stdcall = nil; { obsolete }

C++

extern DELPHI_PACKAGE int __stdcall (*Ctl3DCtlColorEx)(HWND Window, int Msg, int wParam, int lParam);

Properties

Type Visibility Source Unit Parent
variable public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

Handles the WM_CTLCOLOR message for applications that use CTL3D.

Ctl3DCtlColorEx is a function that handles the WM_CTLCOLOR message for applications that use CTL3D.

Parameter Meaning

Window

Specifies the windows that is targeted.

Msg

Specifies the WM_CTLCOLOR message for the application.

wParam

Specifies a handle to the display context (DC).

lParam

Specifies a handle to a child window (control).

Ctl3DCtlColorEx returns a handle to the appropriate brush, if the function succeeds. Otherwise, Ctl3DCtlColorEx returns 0, indicating that an error occurred.

See Also