bOk = MImgCtlSetTextPos( hWndCtl, nLeft, nTop )
bOk = CMImgCtl.SetTextPos( nLeft, nTop )

Sets the position of an image control's text.

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

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

nTop
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 = MImgCtlSetTextPos( hWndCtl, 10, 10 )

See also
MImgCtlGetTextPos

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites