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 / One thing I really like in GDK.NET

Author
Message
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 9th Jan 2009 02:11
its the way to use real windows controls with the Viewport. It gives the development of tools a whole new meaning...

Now I dont need to make a GUI to create a tool because I can use all windows controls around the Viewport

Nice work....

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 9th Jan 2009 03:12
It's quite possible using Windows Forms with Visual C++. We just need to figure out how to get the handle of the panel we want.
GMS0012
18
Years of Service
User Offline
Joined: 18th Nov 2006
Location:
Posted: 10th Jan 2009 11:23
you can use windows forms with gdk.net?

no need to build something around this?

how is it possible to add a "GDK.net" Viewport to a windows form?
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Jan 2009 18:06
if you look in the project when you make a new one (where the box is turning when you using mouse) then you can see how the viewport is in it.

if you make Pubilic Shared cube as new darkgdk......cube(10) in the Application class then you can access the object (cube) from a windows button.

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
GMS0012
18
Years of Service
User Offline
Joined: 18th Nov 2006
Location:
Posted: 10th Jan 2009 18:22
i got it now.. the problem was that the VS 2008 template was not working.....

I couldnt create a new DarkGDL project.. but I fixed it and see the viewport.. cool
GMS0012
18
Years of Service
User Offline
Joined: 18th Nov 2006
Location:
Posted: 10th Jan 2009 21:20
hey,

did you try to use the viewport within WPF????
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 11th Jan 2009 00:58
WPF??

Here is what Im doing:

Form code


My application.vb


As you can see I have all the coding in the Form.

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
GMS0012
18
Years of Service
User Offline
Joined: 18th Nov 2006
Location:
Posted: 11th Jan 2009 11:40
WPF = Windows Presentation Foundation...

to get it working in Winform is pretty cool... it is really simple... more simple than other frameworks....

Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 11th Jan 2009 13:15
Ok.... Im not so much in these fancy words .... Im just coding

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 15th Jan 2009 22:49
Ahh! VB! It BURNS!
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 16th Jan 2009 23:09
@Zuka - go out and clean your mouth with soap.....

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.

Login to post a reply

Server time is: 2024-11-25 11:33:12
Your offset time is: 2024-11-25 11:33:12