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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 13,972 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
Mouse out of window #361745
03/04/11 20:10
03/04/11 20:10
Joined: Apr 2007
Posts: 21
B
Brahve Offline OP
Newbie
Brahve  Offline OP
Newbie
B

Joined: Apr 2007
Posts: 21
Hi if you can help I used video_screen and changed to window. Now when I go right & mouse is out of window I can not shoot and I always click on desktop. How can I keep mouse in window and play game normal?

Re: Mouse out of window [Re: Brahve] #361749
03/04/11 20:43
03/04/11 20:43
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
simple, but annoying:
Code:
#include <windows.h>
function mouseHolder_startup()
{
    while(1)
    {
        SetCursorPos(sys_metrics(0) / 2,sys_metrics(1) / 2);
        wait(1);
    }
}




Visit my site: www.masterq32.de
Re: Mouse out of window [Re: MasterQ32] #361755
03/04/11 21:06
03/04/11 21:06
Joined: Apr 2007
Posts: 21
B
Brahve Offline OP
Newbie
Brahve  Offline OP
Newbie
B

Joined: Apr 2007
Posts: 21
Yes this solved problem very good laugh thank you for help about window.


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