WinXRegOnPaint


WinXRegOnPaint (hWnd, FUNCADDR onPaint)

Registers the onPaint callback function to repaint the window

Parameter Description
hWnd The handle of the window to register the event for
FUNCADDR onPaint The address of the onPaint callback function

Returns

$$TRUE on success or $$FALSE on fail

Remarks

If you register this callback, the Auto Draw functionality will be lost.

Examples

'register the onPaint callback
WinXRegOnPaint (#hMain, &onPaint())

Related Links

onPaint (Callback)