simard@IRO.UMontreal.CA (Serge Simard) (03/04/91)
I have a window containing 3 lists gadgets at the top taking half of window and i want to setup a console window in the bottom half (you guessed it, it is a smalltalk browser :-) ). Any pointers on how to do this? -- *-------------------------------------------------------------- ///----------* * Serge Simard Project: G.I.P.P.O /// Only * * SIMARD@IRO.UMONTREAL.CA ou/or U1075@JSP.UMONTREAL.CA \\\/// Amiga... * *---------------------------------------------------------- \XX/ ------------*
forgeas@swinjm.UUCP (Jean-Michel Forgeas) (03/04/91)
In article <1991Mar3.161212.18235@IRO.UMontreal.CA>, Serge Simard writes: > I have a window containing 3 lists gadgets at the top taking > half of window and i want to setup a console window in the > bottom half (you guessed it, it is a smalltalk browser :-) ). This can be a part of what you want: //-----------open your window window = OpenWindow( newwindow ); //-----------attach a console to your window WriteMsg->io_Data = window; WriteMsg->io_Length = sizeof(*window); OpenDevice( "console.device", 0, WriteMsg, 0 ); //-----------resize the console into the window WriteCon( "\x9b\x38\x78" ); /* 8 columns from left */ WriteCon( "\x9b\x31\x32\x79" ); /* 12 lines from top */ -- \___/ Jean-Michel Forgeas \-/ cbmvax!cbmehq!cbmfra!swinjm!forgeas | The Software Winery -^- And, where is the universe ?
jms@vanth.UUCP (Jim Shaffer) (03/05/91)
In article <1991Mar3.161212.18235@IRO.UMontreal.CA> simard@IRO.UMontreal.CA (Serge Simard) writes: > > I have a window containing 3 lists gadgets at the top taking > half of window and i want to setup a console window in the > bottom half (you guessed it, it is a smalltalk browser :-) ). Why not just use two windows? -- * From the disk of: | jms@vanth.uucp | "Glittering prizes and Jim Shaffer, Jr. | amix.commodore.com!vanth!jms | endless compromises 37 Brook Street | 72750.2335@compuserve.com | shatter the illusion of Montgomery, PA 17752 | (CompuServe as a last resort)| integrity!" (Rush)