On Tuesday, June 10, 2003, at 02:50 pm, 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 > > def setwindowbackground(_kThemeActiveDialogBackgroundBrush, _zTrue) > > > > 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. > > Does anyone have a solution...or am I not specifying the appearance > window > correctly ???? > > TIA > > J Smith > > Hi I tend to draw my own lists, and use OSErr = fn getthemebrushascolor (_kThemeBrushListViewBackground,16,_True,@ListBackgroundColor) OSErr = fn getthemebrushascolor (_kThemeBrushListViewSeparator,16,_True,@ListSeparatorColor) HiliteError = fn getthemebrushascolor (_kThemeBrushPrimaryHighlightColor,16,_True,@ListHiliteColor) to get the correct colours so that I can paint them where required.. Regards Ian