Export (0) Print
Expand All
Expand Minimize

MoveToEx

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function updates the current position to the specified point and optionally retrieves the previous position.


WINGDIAPI BOOL WINAPI MoveToEx(
  HDC hdc,
  int X,
  int Y,
  LPPOINT lpPoint
);

hdc

[in] Handle to a device context.

X

[in] Integer that specifies the x-coordinate of the new position, in logical units.

Y

[in] Integer that specifies the y-coordinate of the new position, in logical units.

lpPoint

[out] Pointer to a POINT structure that receives the previous position.

If this parameter is a NULL pointer, MoveToEx does not retrieve the previous position.

A nonzero value indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

The MoveToEx function affects all drawing functions.

If hdc specifies a mirrored device context, the horizontal coordinates increase from right to left rather than from left to right.

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE .NET 4.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft