Gamestudio Links
Zorro Links
Newest Posts
Votes for future features
by DdlV
Yesterday at 23:46
Project Aum - Winter Contest 2017 - Update
by George
Yesterday at 22:37
hold key code returns very high value instead of 0 or 1
by 3run
Yesterday at 16:08
oldschool fps project
by 3run
Yesterday at 15:46
Sam Foster Sound | Experienced Indie Game Composer for Hire
by titanicpiano14
Yesterday at 15:02
[ALL STYLES] 2D Videogame Artist (pixel, vector, painted)
by DesixStudios
12/15/17 14:45
Easy question
by jcl
12/15/17 13:47
AUM Magazine
Latest Screens
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
12 registered (Ch40zzC0d3r, Dico, 3run, boatman, AndrewAMD, alibaba, easyX, 4 invisible), 451 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Meisterbene, Amocfx, cme, pataba, byano
17835 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: 300
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: 300
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: 14
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 | resources | magazine | manual | support faq | bugs

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