[futurebasic] Re: [FB] Appearance Window

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2003 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Tue, 10 Jun 2003 15:46:56 -0400
On Tuesday, June 10, 2003, at 09:50  AM, J. Smith wrote:

> The problem I have is that when I build a scrolling list in a window 
> build
> using the appearance window attributes, i.e.
>
>
> appearance WINDOW _MainWnd,"Backup",@wRect,_kDocumentWindowClass,¬
>                   _kWindowStandardFloatingAttributes
>


I am not sure you should be mixing _kWindowStandardFloatingAttributes 
with a non-floating Document window Class, unless you have a 
_kFloatingWindowClass window. You may want 
_kWindowStandardDocumentAttributes

Try instead

appearance WINDOW _MainWnd,"Backup",@wRect, _kDocumentWindowClass,¬
                   _kWindowStandardDocumentAttributes


Or if you need a floating window:

appearance WINDOW _MainWnd,"Backup",@wRect, _kFloatingWindowClass,¬
                   _kWindowStandardFloatingAttributes

Floating attributes and behavior (above all other application documents)

> the scolling list has the same color as the window background. I've 
> looked
> through the Appearance examples and did not see any code to sidestep 
> this
> problem.


You may be in the horridly ucky position of having to use a compositing 
window, but I doubt that. I think there's a setting for your list or 
background that RP came up with somewhere?


Try the above window changes and see if that aids anything first. 
Otherwise, if help doesn't show, send me your window and list creation 
FN, and I will see if I can aid more better.


Robert