Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!inria!loria!loria.crin.fr!domen From: domen@wiener.crin.fr (Eric Domenjoud) Newsgroups: comp.sys.atari.st.tech Subject: Re: Need help with windows Message-ID: Date: 3 Dec 90 08:06:03 GMT References: <1990Nov27.003016.24863@rice.edu> <1990Nov27.011538.29460@math.lsa.umich.edu> <1990Nov28.205143.14708@rice.edu> <1990Nov30.125209.13531@newcastle.ac.uk> Sender: news@loria.crin.fr Organization: CRIN, Nancy, France Lines: 41 In-reply-to: D.M.Johnson@newcastle.ac.uk's message of 30 Nov 90 12:52:09 GMT In article <1990Nov30.125209.13531@newcastle.ac.uk> D.M.Johnson@newcastle.ac.uk (Dave Johnson) writes: ...... What I do is this ------------ main() { int pipeid,handle; pipeid = appl_init(); handle = wind_create(NAME,x,y,w,h); /* replace with window coords */ wind_set(handle,NAME,"test",0,0); /* this might be the wrong syntax but I don't have a problem here */ wind_open(handle,x,y,w,h); ....etc... -------------- So I can get the title bar to appear and the outline of the window. What I would like to know, Have I missed anything out when setting up the windows as the background in the window is grey (I use a high rez monitor) and not the white which I was expecting. Any help, tips, general comments most useful Dave Johnson D.M.Johnson@uk.ac.newcastle After openning the window with window_open, you should get a message WM_REDRAW, telling you to draw the content of your window. The AES only draws the frame of the window, and it is your own responsability to fill it with whatever you want. Anyway, as far as I remember, the first parameter of wind_create is not the name of the window but the kind of window you want. Eric Domenjoud e-mail: domen@loria.crin.fr