[futurebasic] Re: [FB] Lion Full Screen Mode with a Scrollbar

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2011 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Sat, 24 Sep 2011 10:31:56 +1200
Rich Love wrote:

> Working with the Robert P. sample, I added a vertical scroll bar and changed the background color to blue.
> The problem is that the scroll bar area remains blue during the transition to full screen (not good).
> 
> Is there any way to prevent this other than changing the background color to white?
> Here is my modified sample code with the scrollbar and background color.

> DIM RGB.RGBCOLOR
> RGB.Red%=0
> RGB.Green%=0
> RGB.Blue%=40000
> 
> CALL RGBBackColor(#@RGB)


Use the special function SetWindowBackground() 

DIM RGB.RGBCOLOR
RGB.Red%=0
RGB.Green%=0
RGB.Blue%=40000
fn SetWindowBackground( @RGB, _true )

Robert P.