Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 2,576 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
on_esc = NULL funktioniert nicht! #297455
11/07/09 16:47
11/07/09 16:47
Joined: Jan 2005
Posts: 605
Deutschland, NRW
G
garv3 Offline OP
User
garv3  Offline OP
User
G

Joined: Jan 2005
Posts: 605
Deutschland, NRW
Hallo nochmal!

Ich möchte den ESC-Key deaktivieren, damit das Fenster nicht geschlossen wird, wenn man ihn drückt.
Habe dazu an den Beginn der main-Funktion on_esc = NULL; geschrieben. Das Fenster schließt sich dennoch. Sowohl im Testrun als auch über 'run current script'.

Jemand ne Idee?


GameStudio Version: A7 Pro v7.86
Re: on_esc = NULL funktioniert nicht! [Re: garv3] #297545
11/08/09 06:15
11/08/09 06:15
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline
Member
seecah  Offline
Member

Joined: Apr 2009
Posts: 248
Philippines
Hi,

I did not understand your language but thanks for the help of google translate..
It might help if you'll assign an empty function on on_esc something like..


Quote:

void do_nothing()
{}

on_esc = do_nothing;


Hope that helps..



Can't is not an option™
Re: on_esc = NULL funktioniert nicht! [Re: seecah] #297573
11/08/09 14:06
11/08/09 14:06
Joined: Jan 2005
Posts: 605
Deutschland, NRW
G
garv3 Offline OP
User
garv3  Offline OP
User
G

Joined: Jan 2005
Posts: 605
Deutschland, NRW
Works fine! Thanks!


GameStudio Version: A7 Pro v7.86
Re: on_esc = NULL funktioniert nicht! [Re: garv3] #297648
11/09/09 03:04
11/09/09 03:04
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline
Member
seecah  Offline
Member

Joined: Apr 2009
Posts: 248
Philippines
Always welcome...



Can't is not an option™

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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