13.12.2012 Views

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

360 CHAPTER The Window Manager (WM)<br />

Return value<br />

Handle of the window’s previous sibling; 0 if none exists.<br />

Additional information<br />

A window’s previous sibling is the previous child window that was created relative to<br />

the same parent. If the Z-positions of the windows have not been changed, it will be<br />

the window directly below of the one specified.<br />

WM_GetStayOnTop()<br />

Description<br />

Returns the current value of the stay on top flag.<br />

Prototype<br />

int WM_GetStayOnTop(WM_HWIN hWin);<br />

Parameter Description<br />

hWin Window handle.<br />

Return value<br />

0: stay on top flag not set<br />

1: stay on top flag set<br />

WM_GetUserData()<br />

Description<br />

Retrieves the data set with WM_SetUserData().<br />

Prototype<br />

int WM_GetUserData(WM_HWIN hWin, void * pDest, int SizeOfBuffer);<br />

Parameter Description<br />

hWin Window handle.<br />

pDest Pointer to buffer.<br />

SizeOfBuffer SIze of buffer.<br />

Return value<br />

Number of bytes retrieved.<br />

Additional information<br />

The maximum number of bytes returned by this function is the number of Extra-<br />

Bytes specified when creating the window.<br />

WM_GetWindowOrgX(), WM_GetWindowOrgY()<br />

Description<br />

Returns the X- or Y-position (respectively) of the origin of the specified window in<br />

desktop coordinates.<br />

Prototypes<br />

int WM_GetWindowOrgX(WM_HWIN hWin);<br />

int WM_GetWindowOrgY(WM_HWIN hWin);<br />

Parameter Description<br />

hWin Window handle.<br />

UM03001 User & Reference Guide for <strong>emWin</strong> V5.18 © 1997 - 2012 <strong>SEGGER</strong> <strong>Microcontroller</strong> GmbH & Co. KG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!