[futurebasic] Re: [FB] alert background color

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: Ben Jamin <benjamen@...>
Date: 23 Apr 2002 20:14:05 +1000
You need to create an "alrx" resource that is the same ID as your "ALRT" resource (eg: 128)

In this resource put 13 nulls, so the resource should be 13 bytes long.

Now the alert will be white, or it will use your colour settings as specified in ResEdit

Jamin


On 23/04/02 10:38 AM, lcs@... wrote:
>
>%
>
>Hi All,
>
>In an old program, I have an alrert resource containing a
>PICT. The PICT has a white background which is was OK
>when the alert box also had a white background; but now
>that is not default behvior. So now I want to force the
>background color of the whole Alert window to agree with
>the background of the PICT.  But for the life of me I
>cannot manage that.
>
>Some details on my predicament.  Resedit213 does allow me
>to impose the color of the alert background within
>ResEdit:- one chooses custom coloring; then one adjusts the
>"content" coloring using a nice dialog. Excellent result
>in Resedit itself, but then nil effect in the FB program.
>
>Hints?  
>
>Maybe it's me who should
> CALL SETWINCOLOR(theWindow,newColorTable) where both args
>are longs. But how to get theWindow and when to call it?
>Maybe in an alert filter procedure.  Sounds scary.  I
>thought alerts were fast food!
>
>Cheers
>
>Laurent S.
>
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
>
>