Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Akow, degenerate_762), 1,430 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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 | chip programmers | 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