1. Win32Lib.ew child windows
- Posted by Ya YA YA NoThanx <g__vine at HOTMAIL.COM> Oct 19, 1999
- 604 views
- Last edited Oct 20, 1999
Hi all, im back. I just got the newest win32lib hope'n it would fix a problem i have... It did not. I am making my main window then trying to add 2 child windows but it crash's when i declare the 2nd window as a child. I tried using modal windows but i dont see how to use them correctly. What i am trying to do is have 2 windows that both take input with the onXXXXX statments(eg onClick[Window1] = routine_id "onClick_Window1" ) with our having to redraw the full screen(@ 800X600 it is slow with win32lib) Can someone point out my oversight? TIA J. Reeves Grape Vine ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
2. Re: Win32Lib.ew child windows
- Posted by David Cuny <dcuny at LANSET.COM> Oct 19, 1999
- 536 views
- Last edited Oct 20, 1999
J. Reeves wrote: > I just got the newest win32lib hope'n it would fix a > problem i have... It did not. I am making my main > window then trying to add 2 child windows but > it crashes when i declare the 2nd window as a child. Could you give a short example? At the end of this message is an example that doesn't crash. -- David Cuny include win32lib.ew constant W1 = create( Window, "Main", 0, Default, Default, 200, 200, 0 ), W2 = create( Window, "Child1", W1, Default, Default, 100, 100, 0 ), W3 = create( Window, "Child2", W1, Default, Default, 100, 100, 0 ) procedure onOpen_W1() openWindow( W2, Normal ) openWindow( W3, Normal ) end procedure onOpen[W1] = routine_id("onOpen_W1") WinMain( W1, Normal )
3. Re: Win32Lib.ew child windows
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Oct 20, 1999
- 515 views
>From: David Cuny <dcuny at LANSET.COM> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >To: EUPHORIA at LISTSERV.MUOHIO.EDU >Subject: Re: Win32Lib.ew child windows >Date: Tue, 19 Oct 1999 23:50:57 -0700 > >J. Reeves wrote: > > > I just got the newest win32lib hope'n it would fix a > > problem i have... It did not. I am making my main > > window then trying to add 2 child windows but > > it crashes when i declare the 2nd window as a child. > >Could you give a short example? At the end of this message is an example that doesn't crash. <snip> I think the poplem is in the way i want the child window to act. i used constant MWnd = create( Window, "Game", 0, 0, 0, 800, 600, 0 ), W2 = create( Window, "PlayWnd", MWnd, 0, 0, 400, 600, WS_CHILD ) ..as long as i didnt use WS_CHILD it worked(kinda) I want the child windows to be confined to the inside of the MWnd window...I am trying to take 1/2 the screen(left side) as the play window...then most of the right as the map window with a small command (buttons) bar in the middle....Maybe i misunderstand how a child window works(i rerad in the win32 docs that a child window was cliped to the parent window and was not alowed to draw out side of the parent..am i wrong?) thanx for your help J. Reeves Grape Vine ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
4. Re: Win32Lib.ew child windows
- Posted by Bernie Ryan <bwryan at PCOM.NET> Oct 20, 1999
- 533 views
I think you want to use a MDI window for your main window. I don't think that MDI windows are supported yet in the win32 library.
5. Re: Win32Lib.ew child windows
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Oct 20, 1999
- 539 views
Bernie Ryan wrote: > I think [J. Reeves] want to use a MDI window for > your main window. I don't think that MDI windows > are supported yet in the win32 library. That's correct; Win32Lib does not support MDI windows. -- David Cuny
6. Re: Win32Lib.ew child windows
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Oct 20, 1999
- 535 views
- Last edited Oct 21, 1999
A) is win32lib going to support them anytime soon? B)If not where can i find a Eu lib that will let me? C)Is there any place online i can find info on MDI window programming?(i will look when i am done with this mail) D)If all the above fail then "Omega Galaxy-The quest for Freedom" will be closed until this is sloved TIA to all J. Reeves Grape Vine ICQ# 13728824l >From: "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >To: EUPHORIA at LISTSERV.MUOHIO.EDU >Subject: Re: Win32Lib.ew child windows >Date: Wed, 20 Oct 1999 17:23:11 -0700 > >Bernie Ryan wrote: > > > I think [J. Reeves] want to use a MDI window for > > your main window. I don't think that MDI windows > > are supported yet in the win32 library. > >That's correct; Win32Lib does not support MDI windows. > >-- David Cuny > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
7. Re: Win32Lib.ew child windows
- Posted by Ad Rienks <kwibus at DOLFIJN.NL> Oct 21, 1999
- 573 views
On Wed, 20 Oct 1999 14:46:15 PDT, Grape_ Vine_ <g__vine at HOTMAIL.COM> wrote: ><snip> > >I think the poplem is in the way i want the child window to act. >i used >constant >MWnd = create( Window, "Game", 0, 0, 0, 800, 600, 0 ), >W2 = create( Window, "PlayWnd", MWnd, 0, 0, 400, 600, WS_CHILD ) > >..as long as i didnt use WS_CHILD it worked(kinda) >I want the child windows to be confined to the inside of the MWnd window...I >am trying to take 1/2 the screen(left side) as the play window...then most >of the right as the map window with a small command (buttons) bar in the >middle....Maybe i misunderstand how a child window works(i rerad in the >win32 docs that a child window was cliped to the parent window and was not >alowed to draw out side of the parent..am i wrong?) > >thanx for your help > >J. Reeves >Grape Vine Do you really need a Child Window? If I understand you well, I think a Panel on the right and the left hand side in the main window could also solve your problem. ^ | /-\<|
8. Re: Win32Lib.ew child windows
- Posted by David Cuny <dcuny at LANSET.COM> Oct 21, 1999
- 586 views
J. Reeves wondered: > is win32lib going to support [MDI] anytime soon? Probably not. I've glanced at the code needed to create them, but I haven't really had a chance to go over it in depth. If it's fairly trivial, I might give it a shot. > If not where can i find a Eu lib that will let me? I can't answer that one. > Is there any place online i can find info on MDI window programming? Can't help there, either. > If all the above fail then "Omega Galaxy-The quest for Freedom" will be > closed until this is solved MDI isn't the only, or often even the best approach. Perhaps splitting up your window into several areas might be sufficient. It's not difficult to emulate a window, either - take a look at IDE, for example. The 'child' window that is being created in the window (and all the controls) is drawn entirely by the application. In the initial version, even the toolbar was emulated. -- David Cuny
9. Re: Win32Lib.ew child windows
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Oct 21, 1999
- 556 views
- Last edited Oct 22, 1999
From: David Cuny >J. Reeves wondered: > > > is win32lib going to support [MDI] anytime soon? > >Probably not. I've glanced at the code needed to create them, but I haven't >really had a chance to go over it in depth. If it's fairly trivial, I might >give it a shot. > > > If not where can i find a Eu lib that will let me? > >I can't answer that one. > > > Is there any place online i can find info on MDI window programming? > >Can't help there, either. > > > If all the above fail then "Omega Galaxy-The quest for Freedom" will be > > closed until this is solved > >MDI isn't the only, or often even the best approach. Perhaps splitting up >your window into several areas might be sufficient. It's not difficult to >emulate a window, either - take a look at IDE, for example. The 'child' >window that is being created in the window (and all the controls) is drawn >entirely by the application. In the initial version, even the toolbar was >emulated. > >-- David Cuny I will look at it. I was hoping to stay away from having to make my program handle the input for a large window and decide what should be done in what window...so that it can handle input better(i think that a if..end if loop will slow it down to much).. Thanks for help J Reeves Grape Vine ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
10. Re: Win32Lib.ew child windows
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Oct 21, 1999
- 549 views
- Last edited Oct 22, 1999
<snip> < Do you really need a Child Window? If I understand you well, I think a Panel on the right and the left hand side in the main window could also solve your problem. > What do you mean by panel?(I am clueless on the most part about window types and such) J Reeves Grape Vine ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
11. Re: Win32Lib.ew child windows
- Posted by Ad Rienks <kwibus at ZONNET.NL> Oct 22, 1999
- 609 views
I'm sorry; I just looked at the doc file of Win32Lib, but that doesn't provide a Panel control. But I think a Group control can also be used in the manner I'm referring to. It is not a seperate window, but a part of the parent window, just like a Button. I'm a bit unsure here, for I also read that a Group in Win32Lib can not receive events. I think that means that it can not be used for your purpose, unless modified. I want to look into this further, but not now, I don't have the time. It will be next week. In the mean time, maybe someone else can help you further. Ad. PS. I thought I knew a bit about the use of Win32Lib, but unfortunately for you that is not the case. I'm into VEL more since some time. ----- Oorspronkelijk bericht ----- Van: Grape_ Vine_ <g__vine at HOTMAIL.COM> Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> Verzonden: vrijdag 22 oktober 1999 6:33 Onderwerp: Re: Win32Lib.ew child windows > <snip> > < > Do you really need a Child Window? If I understand you well, I think a > Panel on the right and the left hand side in the main window could also > solve your problem. > > > > What do you mean by panel?(I am clueless on the most part about window types > and such) > > J Reeves > Grape Vine > > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com
12. Re: Win32Lib.ew child windows
- Posted by Grape_ Vine_ <g__vine at HOTMAIL.COM> Oct 22, 1999
- 543 views
Thanx for your time. I think i will change to Win32api by Bernard Ryan ..I looked at it and it has better control then win32lib but more work(not afraid of it..just dont like to do extra if its not needed..)...Again thanx for your time and help J Reeves Grape Vine ICQ# 13728824 >From: Ad Rienks <kwibus at ZONNET.NL> >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >To: EUPHORIA at LISTSERV.MUOHIO.EDU >Subject: Re: Win32Lib.ew child windows >Date: Fri, 22 Oct 1999 08:50:05 +0200 > >I'm sorry; I just looked at the doc file of Win32Lib, but that doesn't >provide a Panel control. But I think a Group control can also be used in >the >manner I'm referring to. >It is not a seperate window, but a part of the parent window, just like a >Button. >I'm a bit unsure here, for I also read that a Group in Win32Lib can not >receive events. I think that means that it can not be used for your >purpose, >unless modified. I want to look into this further, but not now, I don't >have >the time. >It will be next week. In the mean time, maybe someone else can help you >further. > >Ad. > >PS. I thought I knew a bit about the use of Win32Lib, but unfortunately for >you that is not the case. I'm into VEL more since some time. > >----- Oorspronkelijk bericht ----- >Van: Grape_ Vine_ <g__vine at HOTMAIL.COM> >Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> >Verzonden: vrijdag 22 oktober 1999 6:33 >Onderwerp: Re: Win32Lib.ew child windows > > > > <snip> > > < > > Do you really need a Child Window? If I understand you well, I think a > > Panel on the right and the left hand side in the main window could also > > solve your problem. > > > > > > > What do you mean by panel?(I am clueless on the most part about window >types > > and such) > > > > J Reeves > > Grape Vine > > > > ______________________________________________________ > > Get Your Private, Free Email at http://www.hotmail.com ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com