Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / More than one application

Author
Message
Paulfred
16
Years of Service
User Offline
Joined: 4th May 2008
Location:
Posted: 12th Aug 2008 13:56
Hello!

I've a question! I want to have more windows than one. Like a parent and a child window. Is this possibly?

Thank you in advance!
Paul
SunDawg
19
Years of Service
User Offline
Joined: 21st Dec 2004
Location: Massachusetts
Posted: 12th Aug 2008 17:34 Edited at: 12th Aug 2008 17:36
It's important to understand the difference between running more than one application and having more than one window. That said, the sort of parent and child window system you want can be done, but not without some difficulty. The GDK doesn't have any internal commands for creating a new window, so you have to understand and utilize the Windows API.

Attached are a couple tutorials. One is by jinzai, and the other I'm not sure of. (Originally posted here and here)

It's a bit of reading, but hopefully that can get the ball rolling for you!


My site, for various stuff that I make.

Attachments

Login to view attachments
Paulfred
16
Years of Service
User Offline
Joined: 4th May 2008
Location:
Posted: 12th Aug 2008 18:35
Thank you for the fast answer!
I want to have more GDK-Windows.
Have I to do this with WinAPI? But how? Have anyone an example code for me?

Thank you in advance!
Paul

Login to post a reply

Server time is: 2024-09-30 05:19:31
Your offset time is: 2024-09-30 05:19:31