MDI OpenWindow

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by wavemaker.

Hi,

I don't think this is now possible with PureBasic: create an MDI client window, and MDI childs. Of course, you can do it using the API, but:

* Then you can't benefit from PB gadget functions, etc.
* You must code fifty lines more than it would be needed if you just had to write:

OpenWindow(whatever, #MDI,... )

or:

OpenMDIWindow(blah, blah... )

What about it, Fred?

Regards,



Juan Calderón Alonso
Registered user
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Hi wavemaker
Yes, something like OpenMDIWindow() would be really great.. atm i am searching for a good mdi example, because i found somewhere some time ago an example but i dont really get it changed to use own gadgets inside ;(

PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win2000 + all Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by traumatic.
Originally posted by wavemaker
* Then you can't benefit from PB gadget functions, etc.
you can actually. who told you you can't?
the needed WindowID() is the same as the returned window-handle...
there's shouldn't be any problem in mixing pb-gadgets and win-api.
am I missing something?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Wavemaker = brother of El_Choni... = sometimes El_Choni itself (in the beginning he used his brother's account :)

El_Choni wrote some code/examples for MDI stuff, just search for it on the forum, or @ Paul's resource site (I hope)

El_Choni is a nice guy and did a lot of work for the community regarding MDI (well actually not only MDI...)

Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.
Post Reply