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 / Call other windows??

Author
Message
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 1st Nov 2010 00:33
Say I have this:


but I want this to be in a different window


How do I call that window in that part of the main code??

Always program as if the person maintaining your program is a psychopath that knows where you live
Dodga
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 1st Nov 2010 01:32
So just to get this straight, you want that line of code to be in a different file, like a header file?
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 1st Nov 2010 23:46
sure, I think thats what I mean

Always program as if the person maintaining your program is a psychopath that knows where you live
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 2nd Nov 2010 05:53
You might want to take a quick look into the Win32 API

Forgers Win32 API Tutorials. You might just need to read a few lessons.

And I think I found something that might be of help:

http://stackoverflow.com/questions/1707918/handling-multiple-windows-win32-api

I'd say just start out with a Win32 program that's really simple, just two blank windows. But for your project, you might want to take a look in the DarkGDK source code.

I remember a few months ago that a person here used OpenCV to make it so that he could control the camera in DarkGDK to move around his world. How it worked is that if he leaned forward, his webcam would pick up on it, and then move forward, if he leaned back, it would move the camera back. The program did have two windows though, one showing the game work, an the other showing the webcam output.

Anything is possible.

http://ref.darkgdk.us/ <- Online DarkGDK Refernece. More content coming soon.

Login to post a reply

Server time is: 2024-11-19 16:48:11
Your offset time is: 2024-11-19 16:48:11