Checks whether the handle for a windowed control (or a parent control) is transparent.
Source position: controls.pp line 2770
procedure CheckTransparentWindow( |
var Handle: PtrUInt; |
var AWinControl: TWinControl |
); |
CheckTransparentWindow is procedure used to check whether the handle for a windowed control (or a parent control) is transparent. CheckTransparentWindow uses the current mouse position to locate controls or forms under the mouse rectangle. The LM_NCHITTEST message is performed for AWinControl to determine if the handle is drawn transparently. Additional Forms in the Z-Order are visited until an opaque windowed control is located. Parent controls are searched too (when needed).
CheckTransparentWindow updates the values in Handle and AWinControl to reflect the results from the search. When an overlayed control is not located, the value in Handle is set to 0, and AWinControl is set to Nil.
CT Web help |
CodeTyphon Studio |