[futurebasic] RE: [FB] Re: More GW Help

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2001 : Group Archive : Group : All Groups

From: "Fast, Dennis" <DFast@...>
Date: Tue, 8 May 2001 12:45:28 -0700
OOOO! It woiks! Thanks!

-----Original Message-----
From: Robert Covington [mailto:artlythere@...]
Sent: Tuesday, May 08, 2001 11:07 AM
To: futurebasic@...
Subject: [FB] Re: More GW Help
---snip

LOCAL FN CopyGW2GW(sPort as long,dPort as long,sRect as ptr,dRect as ptr)
'standard utility
call ForeColor( _blackColor )
call BackColor( _whiteColor )
CALL COPYBITS(#sPort+2,#dPort+2,#sRect,#dRect,_srcCopy,0)
END FN

If you are changing the fore/back colors when painting, you need to set the
Fore/Back color as above before copybits.
Then you need to set things back to your painting colors afterwards.