Author | Topic: Re: Mdi using Crt (Hybrid) | |
---|---|---|
Hannes Ziegler | Re: Mdi using Crt (Hybrid) on Tue, 20 Jul 2004 22:51:15 +0200 Phil Ide wrote: > > Bapu, > > > I want to convert my clipper application with xbase. I have converted most > > of the part. Can anybody send me example code > > creating mdi using crt (hybrid) > > Isn't that an oxymoron? By definition, an MDI application must be GUI. If > an MDI app spawns a console window, then that window is not MDI (though the > rest of the application could be). > > I would also be very wary about using multiple CRT windows anyway (at least > for input) as this can be very frustrating when handling events. Dont't forget: The Crt Window can serve as the MDI parent. (Of course it should be resizable) IMO, the constraint about MDI Crts is imposed by SetAppwindow() which defines the output device that receives QOut() and @ SAY aoutput If there was a possibility to address the commands ?, ?? or @ SAY to a particular output device, there shouldn't be no problem with Crt Windows acting as MDI child windows. However, this would require changes of the programming language. Regards, Hannes |