GetMessagePos.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GetMessagePos (USER.119)

SYNOPSIS

DWORD GetMessagePos
 (
 )

DESCRIPTION

The GetMessagePos(3w) function returns a long value representing a cursor position, in screen coordinates, when the last message retrieved by the GetMessage(3w) function occurs. The x-coordinate is in the low-order word of the return value, the y-coordinate is in the high-order word. The application can use the MAKEPOINT(3w) macro to obtain a POINT structure from the return value.

For the current cursor position, use GetCursorPos(3w).

RETURNS

Cursor position of last message on success, zero on failure.

CONFORMANCE

ECMA-234, Win32

IMPLEMENTATION

Defined in "user_private.h".

Implemented in "dlls/user32/message.c".

Debug channel "msg".