Hello,
is it possible, to change a cursor of a defined image-area ?
( painted a second image with ABPaint on the main-image )

// the main-image
DEFINE BRUSH oNewBrush ;
COLOR GradientFill( hDC, 0, 0, aRect[3], aRect[4], aGrad, lDirect )
DEFINE CURSOR oCrsHand RESOURCE "Hand"
// changes the cursor of the main-image
// oBitmap:oCursor := oCrsHand
hBitmap2 := ReadBitmap( 0, c_path1 + cBitmap2 )
ABPaint( hDC, aRect[4] - 30, nBTop, hBitmap2, 255 )
oBitmap:bLClicked = { | nRow, nCol | IIF( nCol > aRect[4] - 24, oDlg:End(), NIL ) }
Best Regards
Uwe
is it possible, to change a cursor of a defined image-area ?
( painted a second image with ABPaint on the main-image )

// the main-image
DEFINE BRUSH oNewBrush ;
COLOR GradientFill( hDC, 0, 0, aRect[3], aRect[4], aGrad, lDirect )
DEFINE CURSOR oCrsHand RESOURCE "Hand"
// changes the cursor of the main-image
// oBitmap:oCursor := oCrsHand
hBitmap2 := ReadBitmap( 0, c_path1 + cBitmap2 )
ABPaint( hDC, aRect[4] - 30, nBTop, hBitmap2, 255 )
oBitmap:bLClicked = { | nRow, nCol | IIF( nCol > aRect[4] - 24, oDlg:End(), NIL ) }
Best Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.