Errors in window.prg ?

Errors in window.prg ?

Postby Frank Demont » Mon Aug 28, 2006 11:19 am

Hello

Trying to use ON MOVE , i noticed :

1) oDlg:bMoved is executed with nRow,ncol , so the preprocessor should be (fivewin.ch and dialog.ch):

<oWnd>:bMoved [ := \{ | nRow,nCol | <uMove> \} ], ;

2) Comparing two methods :

case nMsg == WM_LBUTTONDOWN
return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ),;
METHOD LButtonDown( nRow, nCol, nKeyFlags )
case nMsg == WM_MOVE
return ::Moved( nLoWord( nLParam ), nHiWord( nLParam ) )
METHOD Moved( nRow, nCol ) INLINE ;
Which is nRow ? nLoWord(nLParam) or nHiWord(nLParam)

Trying to use this method gives for nrow always 0 , nCol is updated


3) Using oDlg:Move(0,0,......)

? oDlg:nTop , oDlg:nLeft gives -130 and -104 . Why ?????

4) As mentioned earlyer : tgroup can't be used with a bitmap in his area , nor with ON PAINT WbdBox(.....) , they are erased

When the background color is the same from the window , there is no need to repaint the entire area !

Frank
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 78 guests