| View previous topic :: View next topic |
| Author |
Message |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Thu Jan 17, 2008 8:01 am Post subject: {request} MDI forms |
|
|
What can i use mdi forms for? I need to clone a window just like msn conversation windows. Are those mdis?
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Thu Jan 17, 2008 9:03 am Post subject: Re: {request} MDI forms |
|
|
| Naablet wrote: | | What can i use mdi forms for? I need to clone a window just like msn conversation windows. Are those mdis? |
You know Photoshop?
It has one main window and if you load an image it will load in a smaller window inside the main window.
That's an mdi form and that's how they can be used.
I made a map editor not long ago it had the main interface and a small mdi form to render real-time.
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Thu Jan 17, 2008 9:27 am Post subject: Re: {request} MDI forms |
|
|
| stealthy17 wrote: | | Naablet wrote: | | What can i use mdi forms for? I need to clone a window just like msn conversation windows. Are those mdis? |
You know Photoshop?
It has one main window and if you load an image it will load in a smaller window inside the main window.
That's an mdi form and that's how they can be used.
I made a map editor not long ago it had the main interface and a small mdi form to render real-time. |
so how do i do an basic mdi? Cuz i cannot add any controls or stuff to it.
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Renkokuken GO Moderator
Reputation: 4
Joined: 22 Oct 2006 Posts: 3249
|
Posted: Thu Jan 17, 2008 9:28 am Post subject: Re: {request} MDI forms |
|
|
| Naablet wrote: | | stealthy17 wrote: | | Naablet wrote: | | What can i use mdi forms for? I need to clone a window just like msn conversation windows. Are those mdis? |
You know Photoshop?
It has one main window and if you load an image it will load in a smaller window inside the main window.
That's an mdi form and that's how they can be used.
I made a map editor not long ago it had the main interface and a small mdi form to render real-time. |
so how do i do an basic mdi? Cuz i cannot add any controls or stuff to it. | Thus the backfire of learning VB; Dependencies.
|
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Thu Jan 17, 2008 9:29 am Post subject: |
|
|
No idea sorry.
I don't have VB6 installed atm.
Last time i used child forms was in C# Express.
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Thu Jan 17, 2008 9:51 am Post subject: |
|
|
| Naablet wrote: | | so how do i do an basic mdi? |
| Code: | | wxMDIParentFrame *wMDI = new wxMDIParentFrame( NULL, wxID_ANY, wxT("") ); | Should compile.
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Thu Jan 17, 2008 4:43 pm Post subject: Re: {request} MDI forms |
|
|
| Naablet wrote: | | stealthy17 wrote: | | Naablet wrote: | | What can i use mdi forms for? I need to clone a window just like msn conversation windows. Are those mdis? |
You know Photoshop?
It has one main window and if you load an image it will load in a smaller window inside the main window.
That's an mdi form and that's how they can be used.
I made a map editor not long ago it had the main interface and a small mdi form to render real-time. |
so how do i do an basic mdi? Cuz i cannot add any controls or stuff to it. |
seriously? see attachment on how to add stuff onto an MDIform without getting noobed out
btw you'll want to see how limited subclassing is on this, because there is none
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Fri Jan 18, 2008 5:46 am Post subject: |
|
|
Oh so that is an MDI form?
But what is a msn converstation window then?
Like shown on the picture bellow.
| Description: |
|
| Filesize: |
155.71 KB |
| Viewed: |
5618 Time(s) |

|
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Fri Jan 18, 2008 5:50 am Post subject: |
|
|
Just a new instance of a form...
Or maybe a custom designed window...
Why do you need to know?
Last edited by stealthy17 on Fri Jan 18, 2008 5:56 am; edited 1 time in total |
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Fri Jan 18, 2008 5:53 am Post subject: |
|
|
that's like...
dim A as new form1
A.show
or C++eqv...
CreateWindowEx with the same parameters everytime
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Fri Jan 18, 2008 6:21 am Post subject: |
|
|
I see.
I've done it 2 times (a custom home-brew MSN (one in VB.Net the other in C#)
How you do the forms erm...
You make a form (frmMessage for example) and put all the components on it that you want.
Then you do
Dim newMsgFrm As frmMessage
newMsgFrm.Show
Edit;
Of course later on you'll have to automate it.
You should make an array of windows and when you receive a new MSG you can add it to the array for better handling etc...
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Fri Jan 18, 2008 6:23 am Post subject: |
|
|
| stealthy17 wrote: | I see.
I've done it 2 times (a custom home-brew MSN (one in VB.Net the other in C#)
How you do the forms erm...
You make a form (frmMessage for example) and put all the components on it that you want.
Then you do
Dim newMsgFrm As frmMessage
newMsgFrm.Show
Edit;
Of course later on you'll have to automate it.
You should make an array of windows and when you receive a new MSG you can add it to the array for better handling etc... |
smart ^^
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Fri Jan 18, 2008 6:23 am Post subject: |
|
|
recreating msn eh?
i tried and gave up on vb6 because it uses winsock.ocx, which is not available on standard windows xp's
you can figure out all the winsock.DLL calls... tell me when you finish.
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Fri Jan 18, 2008 6:24 am Post subject: |
|
|
| blland wrote: | recreating msn eh?
i tried and gave up on vb6 because it uses winsock.ocx, which is not available on standard windows xp's
you can figure out all the winsock.DLL calls... tell me when you finish. |
Ye i'm moving to c#
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
|