Retrieves the window origin for a device context in logical units.
Source position: winapih.inc line 161
public function TWidgetSet.GetWindowOrgEx( |
dc: HDC; |
var P: TPoint |
):Integer; virtual; |
dc: HDC; |
P: PPoint |
):Integer; virtual; |
dc |
|
The device context. |
P |
|
Receives the origin. |
Zero on failure.
dc |
|
The device context. |
P |
|
Receives the origin. |
|
Specifies which window point maps to the viewport origin (0,0). |
|
|
Returns the origin of the viewport for a device context. |