Page 1 of 1

Setting the background color of a scroll area

Posted: Thu Oct 28, 2004 6:02 pm
by halo
I need to make a scroll area with a white background for a texture browser.

Posted: Thu Oct 28, 2004 6:16 pm
by halo
I got it:

ScrollAreaGadget(1,180,0,800-180,600,GetSystemMetrics_(#SM_CXSCREEN)-180,4000,1)

id=ContainerGadget(2,0,0,GadgetWidth(1),GadgetHeight(1))
hBrush = CreateSolidBrush_(RGB(255,255,255))
SetClassLong_(id,#GCL_HBRBACKGROUND,hBrush)