|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| Windows 95: int == 16 bits
|
|
|
GetDCOrgEx
The GetDCOrgEx function obtains the final translation origin for a specified device context
(DC). The final translation origin specifies an offset that Windows uses to
translate device coordinates into client coordinates (for coordinates in an
application's window). This function supersedes the GetDCOrg function.
BOOL GetDCOrgEx(
HDC hdc,
| // device-context handle
| LPPOINT lpPoint
| // address of structure that receives translation origin
| );
|
|
Parameters
hdc
Specifies the device context whose final translation origin is to be
retrieved.
lpPoint
Points to a POINT structure that the function will set to the final translation origin, in
device coordinates.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The final translation origin is relative to the physical origin of the screen.
See Also
CreateIC, POINT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|