MImgCtlGetTextPos

The M!Image Custom Control ›› Functions ››
Parent Previous Next

bOk = MImgCtlGetTextPos( hWndCtl, nrLeft, nrTop )
bOk = CMImgCtl.GetTextPos( nrLeft, nrTop )

Gets the position of an image control's text.

Parameters
hWndCtl
Window Handle: Window Handle of the image control.

nrLeft
Receive Number: Left position in pixels relative to the upper left corner of the image control.

nrTop
Receive Number: Top position in pixels relative to the upper left corner of the image control.

Return
Boolean: TRUE if successful or FALSE if an error occured.

Example

bOk = MImgCtlGetTextPos( hWndCtl, nLeft, nTop )

See also
MImgCtlSetTextPos

Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease