다음을 통해 공유


GPE::MovePointer (Windows CE 5.0)

Send Feedback

This method executes from applications either to move the hot spot of the cursor to a specific screen location or to hide the cursor.

SCODE GPE::MovePointer( int x, int y);

Parameters

  • x
    [in] Horizontal screen location to move the cursor to. Applications can pass a value of –1 to hide the cursor.
  • y
    [in] Vertical screen location to move the cursor to.

Return Values

None.

Remarks

Cursor display is optional. The requirements of the target platform determine whether cursors are necessary. If the platform uses a stylus or a shell without a pointer, no cursor is necessary, and the GPE pointer methods can return S_OK without doing any work. Furthermore, it may be acceptable, depending on the target platform display hardware, to display only monochrome cursors.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Gpe.h.
Link Library: Gpe_lib.lib.

See Also

Display Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.