![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Sup guys,
How would you create a second GUI window? The one you register at the begining. Please don't tell me to go to MSDN and check out the function CreateWindow/Ex because I have and there's no parameter to create a second window to work with... Also how to you make a popup window? Thanks. |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Dec 2007
Posts: 28
Rep Power: 0
![]() |
Re: Double window -
Hello,
Given your question, I reckon you're using MS Visual C++. If this is the case, it is quite simple to make a new window. Just create a new form within the same project, write the code for the buttons, etc... and in your main class (main form) code, add a pointer towards this new class you just created. Then, if you want for ex. that whenever the user clicks on a button, the window should open, then inside you button handling code, you just do : myNewWindowPtr = new MyNewClassName(params...); With myNewWindowPtr being the pointer towards your new form, declared in the main form's class. And there you go. |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: Double window -
Thanks for your reply! But I work with Win32
![]() Any ideas? Thanks. |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Dec 2007
Posts: 28
Rep Power: 0
![]() |
Re: Double window -
No problem
But unfortunately I cannot help you with WIN32, I have never used it...maybe some of the more experimented programmers here will be able to help you out. |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: Double window -
Sadly enough there aren't many programmers that go past using 1 window let alone 2 lol, so they never try to figure out how to do so and this has a indirect attack on me :p Well I'd still like to thank you for your help/posts.
![]() Is there anyone who knows how? Thanks. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| double functions (getting weird numbers) | j0nathan | C++ | 4 | Apr 5th, 2006 2:53 AM |
| How do i use a ^ for a double variable? | dvu | C# | 4 | Feb 3rd, 2006 9:27 AM |
| Arranging Views of Project Explorer, Property window and Form Layout | java_roshan | Visual Basic | 6 | Sep 30th, 2005 2:55 PM |
| New Window | Chris Weimer | HTML / XHTML / CSS | 3 | Sep 20th, 2005 9:18 AM |
| Display result to GUI window | Nano | Java | 3 | Jun 1st, 2005 12:18 PM |