Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
full screen on any monitor #395047
02/19/12 10:52
02/19/12 10:52
Joined: Nov 2009
Posts: 22
spain
J
jumpu Offline OP
Newbie
jumpu  Offline OP
Newbie
J

Joined: Nov 2009
Posts: 22
spain
Hi, I'm making a screen saver, and when I run it on my monitor to see it full screen.
But if I run it on a laptop or another computer, they are black edges on the sides.
Is not full screen.
There any way to display full screen on any monitor.
I have understood that the instruction is "video switch", but not as used.
Does anyone can help me?.
excuse my bad English

Re: full screen on any monitor [Re: jumpu] #395048
02/19/12 10:53
02/19/12 10:53
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
video_set(sys_metrics(SM_CXSCREEN), sys_metrics(SM_CYSCREEN), 0, 1);

Last edited by Rei_Ayanami; 02/19/12 12:04.
Re: full screen on any monitor [Re: Rei_Ayanami] #395050
02/19/12 11:54
02/19/12 11:54
Joined: Nov 2009
Posts: 22
spain
J
jumpu Offline OP
Newbie
jumpu  Offline OP
Newbie
J

Joined: Nov 2009
Posts: 22
spain
thanks, Rei Ayanami.
but this instruction, where do I put it?
Thank you.

Re: full screen on any monitor [Re: jumpu] #395051
02/19/12 12:05
02/19/12 12:05
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Ehh, sorry, video_set , edited my post.

Just put this code where the video_switch part is, and delete the video_switch.

Re: full screen on any monitor [Re: jumpu] #395052
02/19/12 12:08
02/19/12 12:08
Joined: Nov 2009
Posts: 22
spain
J
jumpu Offline OP
Newbie
jumpu  Offline OP
Newbie
J

Joined: Nov 2009
Posts: 22
spain
I put it in the main function.
but I get the following error "undeclared identifier SM_CXSCREEN"

Re: full screen on any monitor [Re: jumpu] #395053
02/19/12 12:24
02/19/12 12:24
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
video_set(sys_metrics(0), sys_metrics(1), 0, 1);

this will work too...

[You did not include windows.h, did you?]


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1