Welcome, Guest.
Please login or register.
Two windows?
Forum Login
Login Name: Create a new account
Password:     Forgot password

XBLite Forum    General Boards    Windows GUI + XBLite  ›  Two windows?
Users Browsing Forum
No Members and 1 Guests

Two windows?  This thread currently has 3,500 views. Print Print Thread
1 Pages 1 Recommend Thread
teslaXB
September 28, 2012, 4:42pm Report to Moderator Report to Moderator

Baby Member
Posts: 22
Hi..
I have qquestion about how create two window with overlapped style ?
Is there any example about that?
What i must use ..two message loop or just one?
What about in this case with WndProcedure?
anyone..?
Logged Offline
Private Message Private message
XBLiteAdmin
October 2, 2012, 3:22pm Report to Moderator Report to Moderator
Administrator Group
Posts: 44
In general, you have one top level window using the overlapped style. All subsequent
windows should be child windows with one parent window. You can create multiple windows
such as dialog style windows (no task bar), but only one top level window.

D.
Logged Offline
Site Site Private Message Private message Reply: 1 - 4
teslaXB
October 2, 2012, 4:40pm Report to Moderator Report to Moderator

Baby Member
Posts: 22
Yes i know that from other languages.
BUT
is there a way to create two windows and use one message loop?
any example..?
Logged Offline
Private Message Private message Reply: 2 - 4
XBLiteAdmin
October 5, 2012, 8:04pm Report to Moderator Report to Moderator
Administrator Group
Posts: 44
Sure, it is easy to do with one message loop, but be careful in handling
messages from two windows. See attached program.



This post contains attachments; to download them you must login.

Logged Offline
Site Site Private Message Private message Reply: 3 - 4
teslaXB
October 10, 2012, 7:16pm Report to Moderator Report to Moderator

Baby Member
Posts: 22
Thank you!
Logged Offline
Private Message Private message Reply: 4 - 4
1 Pages 1 Recommend Thread
Print Print Thread

XBLite Forum    General Boards    Windows GUI + XBLite  ›  Two windows?

Thread Rating
There is currently no rating for this thread