1. multi-window Windows app?
Hi all,
I am having fun with Win32lib 0.45. My previous experience with Windows
programming was limited to some time spent in janitorial mode with a large
VB app a couple of years ago. But enough about the events leading up to my
breakdown.
The docs say, "The main window is set to <i>window</i>. When <i>window</i>
is closed, the application is shut down."
That seems pretty limiting. Suppose I want to (and I think I do) create a
multiple-window application. Sounds like I can't do it, using this version
of Win32lib. Am I correct, or is there a way to overcome that limitation?
I am trying to rapidly develop a prototype here. I'm willing to *eventually*
learn as much detail of Windows programming as I need to get the job done,
but would like to do things easily and quickly in the short term.
A probably-acceptable alternative to multiple windows would be to use the
Tab control. If I have to go that route to use Win32lib, fine, but I think
that approach would be my second choice, vs. multiple windows.
George Henry
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
2. Re: multi-window Windows app?
Hello, George,
You CAN have multiple windows. What the docs are saying is that the first
window you create in your program is the 'main window' and when IT is
closed, the app shuts down. You can open and close the other windows as you
wish.
Have fun with Win32Lib. It is a wonderful tool. I didn't know anything at
all about programming with windows until I found Euphoria and then David
Cuny's win32lib.
On Thu, 30 Nov 2000 05:34:55 -0000, George Henry <ghenryca at HOTMAIL.COM>
wrote:
>Hi all,
>
>I am having fun with Win32lib 0.45. My previous experience with Windows
>programming was limited to some time spent in janitorial mode with a large
>VB app a couple of years ago. But enough about the events leading up to my
>breakdown.
>
>The docs say, "The main window is set to <i>window</i>. When <i>window</i>
>is closed, the application is shut down."
>
>That seems pretty limiting. Suppose I want to (and I think I do) create a
>multiple-window application. Sounds like I can't do it, using this version
>of Win32lib. Am I correct, or is there a way to overcome that limitation?
>
>I am trying to rapidly develop a prototype here. I'm willing to
*eventually*
>learn as much detail of Windows programming as I need to get the job done,
>but would like to do things easily and quickly in the short term.
>
>A probably-acceptable alternative to multiple windows would be to use the
>Tab control. If I have to go that route to use Win32lib, fine, but I think
>that approach would be my second choice, vs. multiple windows.
>
>George Henry
>___________________________________________________________________________
__________
>Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com
3. Re: multi-window Windows app?
--=_B5EEA4A2.C7A6ED1A
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I've done a couple business apps that use multiple windows. Attached is =
the main window program that includes all the other sub-programs (I won't =
attach them for file-size reasons, but if you need them, email me directly =
and I'll see what I can do). Pay special attention to the "openWindow" =
commands. Hopefully, this will be a good example for you to see how to =
lay out a multiple Window program. =20
Michael J. Sabal
m_sabal at yahoo.com=20
>>> ghenryca at HOTMAIL.COM 11/30/00 12:34AM >>>
Hi all,
I am having fun with Win32lib 0.45. My previous experience with Windows
programming was limited to some time spent in janitorial mode with a large
VB app a couple of years ago. But enough about the events leading up to my
breakdown.
The docs say, "The main window is set to <i>window</i>. When <i>window</i>
is closed, the application is shut down."
That seems pretty limiting. Suppose I want to (and I think I do) create a
multiple-window application. Sounds like I can't do it, using this version
of Win32lib. Am I correct, or is there a way to overcome that limitation?
I am trying to rapidly develop a prototype here. I'm willing to *eventually=
*
learn as much detail of Windows programming as I need to get the job done,
but would like to do things easily and quickly in the short term.
A probably-acceptable alternative to multiple windows would be to use the
Tab control. If I have to go that route to use Win32lib, fine, but I think
that approach would be my second choice, vs. multiple windows.
George Henry
___________________________________________________________________________=
__________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.co=
m
--=_B5EEA4A2.C7A6ED1A