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 / DarkGDK with wxWidgets !

Author
Message
MadBit
Valued Member
9
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 4th Jul 2014 15:58
I've rewritten the initialization of DarkGDK. So I can now let run DarkGDK easily in a child window of an application.
A small disadvantage is, you can not to retrieved the input devices from darkgdk (mouse and keyboard). This task will then take the application.



I like to use wxWidgets in connection with wxFormBuilder. That's why I made ​​the effort.

I've attached the executable with app-source. so you can see how it works

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
Timidon
13
Years of Service
User Offline
Joined: 26th Jun 2005
Location: Bakersfield, Ca. USA.
Posted: 4th Jul 2014 20:49
Nifty Idea..

Watch "StarCrash" a 1979 epic film, make sure your not to sober..
The Tall Man
5
Years of Service
User Offline
Joined: 16th Nov 2013
Location: Earth
Posted: 4th Jul 2014 21:03
oh nice!

For keyboard input, I've never used the DarkGDK commands, I use GetKeyState(). It's pretty direct to the keyboard and independent of focus.

Here's the Microsoft documentation on it:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646301%28v=vs.85%29.aspx

Judging what we see is the greatest blinder and self-limiter in the universe.

What we perceive is never reality. It is only a story we tell ourselves based on our current perspective, which has far more to do with our beliefs about ourselves than with anything else.

Login to post a reply

Server time is: 2019-02-16 02:53:45
Your offset time is: 2019-02-16 02:53:45