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 / Fullscreen

Author
Message
Nathan03
19
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Texas
Posted: 9th Dec 2004 00:05
How do I get into real fullscreen with sdk like in DBPro? I have tried using dbSetDisplayMode but that just changes window size and stays in windowed mode.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Dec 2004 00:48
Try dbSetWindowOff


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Dec 2004 00:54
Bewarned that if you come out of FSEX mode and back into window mode, the desktop resolution will have changed (temporarily). In addition, I found it was impossible to then go back into FSEX mode again (the program appeared to hang) - even with re-loading the graphics.

Walk softly... and carry a big gun...
Nathan03
19
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Texas
Posted: 9th Dec 2004 01:02
thanks, it works. I have one more question is it possible to hide the window that displays when game start that says Dark Game SDk
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 9th Dec 2004 03:44
Ideally, this is where obtaining the HWND and MessagePump for the application would be handy. Such resources could be used for multi-linqual support via Resource tables etc. Unless this is already supported but not documented.

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Dec 2004 03:54
You could use LoadResource to access any resource now. Its possible to get HWND handle, and you can always add your own message pump.

Walk softly... and carry a big gun...
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 9th Dec 2004 03:59
Well, yeah true, but as for new developers that have only started out to use the SDK, they may not necessarily be familiar with Windows concepts. It's just an idea for added user support/documentation etc. Ideas are the thing that dreams are made of.

Paul.


Home of the Cartography Shop - DarkBASIC Professional map importer
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 9th Dec 2004 04:01
Hopefully the documentation will be updated soon(ish).

Walk softly... and carry a big gun...

Login to post a reply

Server time is: 2024-11-18 21:57:36
Your offset time is: 2024-11-18 21:57:36