Gamestudio Links
Zorro Links
Newest Posts
Indicator RSI
by sdelatorre
Yesterday at 23:16
Transaction Cost
by tradingest
Yesterday at 21:52
Is it possible to do Trade Mode without live brokerage account?
by AndrewAMD
Yesterday at 20:36
OptimialF values in .fac file mostly zero
by SBGuy
Yesterday at 19:48
MED (or any tool) - change base frame / pose of frame 0 ?
by rayp
Yesterday at 17:55
Rigid Force Alpha - Classic side-scrolling shoot'em up
by Turrican
Yesterday at 16:09
Series within loop
by Spirit
Yesterday at 13:22
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
9 registered (AndrewAMD, alibaba, SBGuy, Superku, Quad, sdelatorre, 3 invisible), 460 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
jiffdbf, jgtrader, Chefmac, BazGen, pallab1964
18079 Registered Users
Topic Options
Rate This Topic
#470917 - 02/13/18 09:11 Window Strech?
tagimbul Offline

Registered: 06/04/10
Posts: 203
hey i have make yesterday a little programm:


#include <acknex.h>
#include <default.c>

function main()
var screenScaleFreeze = 0;

mouse_mode = 4;

if(screen_size.x - mouse_pos.x < 5 && screen_size.y - mouse_pos.y < 5)
mouse_pointer = 6;
mouse_pointer = 1;

if(mouse_pointer == 6 && mouse_left)
screenScaleFreeze = 1;

screenScaleFreeze = 0;


video_window(tmp.x,NULL ,NULL,NULL );

DEBUG_VAR(screen_size.x ,20);
DEBUG_VAR(screen_size.y ,40);


by the corner down right i can stretch the window
video_set stretch not like a normal windows window. so i fix it with video_window
but the window is jerky

what can i do to make it smoother?

greez tom
meine website mit 3dgs sachen =) //noch nicht ganz umgebaut ^^"
und mein YT channel mit diversen game entwicklungs videos, vor allem shader zeugs

#470950 - 02/14/18 08:56 Re: Window Strech? [Re: tagimbul]
MasterQ32 Offline

Registered: 11/26/07
Posts: 2562
Loc: Germany, BW, Stuttgart
Change the style of the engine window with video_window with flag 4 (thick border that allows resizing the window) set, then react in on_message to WM_SIZE

But check out first, if reacting to WM_SIZE is necessary before changing the resolution twice
Visit my site:


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)