Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 1.83
by jcl
Today at 16:24
Unfreed in -diag
by 3run
Today at 10:30
About STRING* and char
by 20BN
Today at 09:40
I need help
by evangelos
Today at 02:37
Draw stuff from other thread
by Superku
Yesterday at 22:00
Optimize Stop with multi Asset strategy
by Dalla
Yesterday at 21:48
cloth ?
by 3run
Yesterday at 20:48
AUM Magazine
Latest Screens
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
Who's Online
18 registered (alibaba, FirasTaji, Hicham, AndrewAMD, Cerve, 3run, easyX, 4 invisible), 474 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
FirasTaji, zentrader, Fenry, DJ_Algo, tang
18005 Registered Users
Topic Options
Rate This Topic
#469621 - 11/25/17 13:50 Window Scaller +position
CocaCola Offline
Senior Member

Registered: 03/04/14
Posts: 340
i wont load window position and sice from a file, at start.
I use video_window to change the window parameter.
in the code underneath I have nearly same resolutions, but I get my panel double sizes . what do video_window in realy?
function main()
//	video_mode = 9;
//	video_screen = 0;

Edited by CocaCola (11/25/17 22:12)

#469627 - 11/25/17 22:19 Re: Window Scaller +position [Re: CocaCola]
CocaCola Offline
Senior Member

Registered: 03/04/14
Posts: 340
I have nowI have zip the project hereI have download the project here
It is a empty project. You can activate with esc the esc_menue an closet these by the smal button on the bottom right sight of the window.
for the scale mode you click on the middle botton, in posmode, you can switch beween change size or window position by the righn mouse botton, by clicking LMT you acept the window POS and Size.
my problem is now, how can I make, the mouse is staying in the game window?

#469775 - 12/08/17 07:37 Re: Window Scaller +position [Re: CocaCola]
codeChallenged Offline

Registered: 12/16/09
Posts: 15
Loc: Saskatchewan Canada
#include <windows.h>

void lock_mouse() //keep mouse in game window
RECT rect;



Moderator:  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

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