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 |
$$TRUE on success or $$FALSE on fail
If you register this callback, the Auto Draw functionality will be lost.
'register the onPaint callback WinXRegOnPaint (#hMain, &onPaint()) |