Re: Window Background Color in Win32Lib
- Posted by Ferlin Scarborough <ferlin1 at bellsouth.net> Feb 09, 2005
- 423 views
Brian Broker wrote: > > The following works for me: > }}} <eucode> > include win32lib.ew > > constant > Win = create(Window,"test",0,Default,Default,300,300,0) > > procedure openWin( integer self, integer event, sequence params ) > setWindowBackColor(Win,BrightWhite) > end procedure > setHandler(Win,w32HOpen,routine_id("openWin")) > > WinMain(Win,Normal) > </eucode> {{{ > > Maybe check that you don't have a typo in routine_id()? > > -- Brian > Brian, Thanks, not sure what I did wrong the first 100 times I tried it. I just placed the setWindowBackColor(MyMain,BrightWhite) in the open routine and it worked. Hmmm, come to think of it.....hold on let me go try something real quick..... Yep, bet that's what I did, I used White instead of BrightWhite. Got one of thos paleshadesofgray and other long color names happening. Later. Ferlin Scarborough Learn To Program Games in Free Courses At http://www.gameuniv.net My Euphoria Home Page http://mywebpage.netscape.com/shadetreesoft