Search found 1 match: moveto

Searched query: moveto

by MGA
Fri Nov 11, 2022 3:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: signatur.prg How can I know if the user has signed or not?
Replies: 5
Views: 589

signatur.prg How can I know if the user has signed or not?

... z | DoDraw( hDC, y, x, lPaint := .T. ) }

ACTIVATE DIALOG oDlg CENTER ;
ON INIT ( hDC := GetDC( oSig:hWnd ) ) ;
VALID ( ReleaseDC( oSig:hWnd, hDC ), .T. )

return nil

static function DoDraw( hDc, x, y, lPaint )

if ! lPaint
MoveTo( hDC, x, y )
else
LineTo( hDc, x, y )
endIf

return nil