MImgCtlRefresh

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

bOk = MImgCtlRefresh( hWndCtl )
bOk = CMImgCtl.Refresh( )

Refreshes an image control. "Refresh" means that the scrollbars are adjusted and the control is redrawn.
You should call this function if the control's image was modified directly with M!Image functions, e.g. MImgSetSize.

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

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

Example

Set bOk = MImgCtlRefresh( hWndCtl )

Created with the Personal Edition of HelpNDoc: Free PDF documentation generator