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.

PureGDK / Changing Resolution - Fullscreen and Windowed

Author
Message
Soul Reaper
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: England
Posted: 6th Jul 2010 19:32
Hello all

I was working on how to change Resolution in PGDK, I think This is a good example Feel free to improve on it.

I was trying to get it to go from full Screen 1440x900x32 into windowed mode 800x600x32 at runtime but The Parent window can only be called once at runtime unless someone else know a good trick or two

Another Method I was thinking of was to have the menu as a program and then load the main program and set windowed mode that way, just an idea.

Best Regards
Kevin

Soul Reaper
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: England
Posted: 7th Jul 2010 14:53
While i am checking on this post I would like to say a very big thank you to Mistrel & Testers, also the TGC Team.

Pure GDK is a great and very robust.

I have a Question

as a rule can i use pure basic keyboard routines with Pure GDK or is it safer to stuck with the Dark Basic GDK commands for this.

DBkeystate(VK_Space) etc

Best Regards
Kevin
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 12th Jul 2010 09:45
All of the keyboard and mouse commands have been replaced internally with the same simple API calls PureBasic makes. So it makes no difference. Use whichever you feel more comfortable with.

Soul Reaper
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: England
Posted: 14th Jul 2010 14:30
Thank you Mistrel for making this clear to me

Best Regards
Kevin
Soul Reaper
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: England
Posted: 8th Aug 2010 14:01
Hello all

I have added a window mode that takes notice of where the task bar is.

Best Regards
Kevin

Login to post a reply

Server time is: 2024-04-19 01:46:30
Your offset time is: 2024-04-19 01:46:30