MoveToEx The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
VB4-32,5,6
Declare Function MoveToEx Lib "gdi32" Alias "MoveToEx" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, lpPoint As POINTAPI) As Long |
VB.NET
System.Drawing.Graphics.DrawLine |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- hdc
Identifies a device context.
- X
Specifies the x-coordinate of the new position, in logical units.
- Y
Specifies the y-coordinate of the new position, in logical units.
- lpPoint
Points to a POINT structure in which the previous current position is stored. If this parameter is a NULL pointer, the previous position is not returned. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|