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 / win32 api + darksdk

Author
Message
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 23rd Jan 2005 23:53
Im having trouble figuring out how to make a GUI with the Win32 API while using DGSDK. Ive never used the API so thats the main problem I think, but there are enough tutorials out there that using the API itself shouldnt be a big deal. However what I cant seem to figure out is how you structure WinMain, game loop, etc. Basically I just want to have the menu at the top with "File", and then have "Open", "Save", etc under "File". But I just cant seem to figure out how to get the Win32 and DGSDK game loop to work together. I hope my problem is clear.
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 24th Jan 2005 00:07
I think a better way of phrasing your question is:

I would like to use the controls in Visual C++, such as the Menu control, the TextBox Control, etc and how I can incorporate this with using the DGSDK.

-This...is my boomstick!
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 24th Jan 2005 00:11
Yes thats probably better, thanks.
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 24th Jan 2005 00:13
The good news is that Mike is supposed to provide an example using MFC (Microsoft Foundation Class, where are the controls are) when the next update comes out for the DGSDK. Since that is what they are using with FPSC basically.

-This...is my boomstick!
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 24th Jan 2005 00:33
Yeah I know. Except I need to know now, so...
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 24th Jan 2005 00:53
Me too. But I'm sitting on my hands until then....

*BUT* if you find out earlier, please let me know.

-This...is my boomstick!
MiR
20
Years of Service
User Offline
Joined: 13th Jul 2003
Location: Spain
Posted: 24th Jan 2005 00:57
I remember RobK asking whether anyone wanted the BLueGUI ported over to DGSDK or if we wanted to use the win32 api. He must know how to get it working then. He might tell you if you email him.


¿Como estas you el dia de today?
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 24th Jan 2005 01:02
I asked him already. He's looking into it. He needs to find out about the SDK handles Strings before he can start working on it. May be months.

-This...is my boomstick!
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 24th Jan 2005 10:17
Where are all those C++ gurus hiding?

Mike - Is there any way you could post the MFC + DGSDK stuff? It doesnt have to be in great detail like Im sure the tutorial in the update will be. But I think it would help a lot of people including myself.
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 25th Jan 2005 02:03
Yes Mike, please.

We are not asking for fixes, just how to implement MFC with DGSDK. Give us a headstart and we can figure the rest out on the forums among ourselves.

-This...is my boomstick!
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th Jan 2005 21:05
Quote: "Where are all those C++ gurus hiding?"


It's not erally a C++ issue - more a library issue. I've no particular need to mix GUI & DarkSDK, so it's not something I've been asking Mike for.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 25th Jan 2005 23:01 Edited at: 25th Jan 2005 23:24
Apparently someone lacks a good sense of humor, or maybe I do.

Seriously though...DUH!!!

EDIT:
If I get this figured out, I will definitely post some sort of tutorial.
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 25th Jan 2005 23:45
Hummm. Maybe I will email mike....

-This...is my boomstick!
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 26th Jan 2005 18:58 Edited at: 26th Jan 2005 18:59
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/menus/usingmenus.asp
Good luck trying to do it without a window procedure to handle the events

CURRENT PROJECT: Chaos Hizzle Demo
STATUS: Release of BETA imminent!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 26th Jan 2005 19:10
In C it should be okay - sub-class the DBPro window, and add your own message handling function.

Visit http://homepages.nildram.co.uk/~nickk/
Questions are a burden to others, answers a prison for oneself.
Cellbloc Studios
20
Years of Service
User Offline
Joined: 15th Mar 2004
Location: Atlanta, GA
Posted: 26th Jan 2005 22:09
Actually I got an email from Mike (what a great guy!). I will be sharing it with everyone when I have access to my email later tonight.

-This...is my boomstick!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th Jan 2005 00:52
Ooooh - sounds interesting

Visit http://homepages.nildram.co.uk/~nickk/
Questions are a burden to others, answers a prison for oneself.

Login to post a reply

Server time is: 2024-03-29 09:11:09
Your offset time is: 2024-03-29 09:11:09