Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Martin_HH, Quad, 1 invisible), 26,128 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How and when does work the on_mouse_left? #488548
01/18/25 10:45
01/18/25 10:45
Joined: Sep 2009
Posts: 1,035
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,035
Budapest
How and when does work the on_mouse_left?
In the Manual:
Quote
function mouse_event(code)
{
if (code == 280)
{
printf("left key pressed!");
}
if (code == 281)
{
printf("right key pressed!");
}
if (code == 282)
{
printf("middle key pressed!");
}
}
...
void main() {
...
on_mouse_left = mouse_event;
on_mouse_right = mouse_event;
on_mouse_middle = mouse_event;
...

Well, I tried this and didn't worked.
Then I added this line:
Code
    enable_mouse = 2;
and didn't worked.
Then I added this line:
Code
    mouse_mode = 4;
and didn't worked.
Then I added this line:
Code
    on_mouse_left = mouse_event;
and didn't worked.

What preconditions must to be fulfilled to get this into work?

Re: How and when does work the on_mouse_left? [Re: Aku_Aku] #488550
01/20/25 09:52
01/20/25 09:52
Joined: Jun 2008
Posts: 60
Caucasus
VoroneTZ Offline
Junior Member
VoroneTZ  Offline
Junior Member

Joined: Jun 2008
Posts: 60
Caucasus
idk, all works fine
8.47.1 pro

[Linked Image]

Last edited by VoroneTZ; 01/20/25 09:53.
Re: How and when does work the on_mouse_left? [Re: VoroneTZ] #488572
01/30/25 16:09
01/30/25 16:09
Joined: Sep 2009
Posts: 1,035
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,035
Budapest
Well... At my side nothing.
Thank you for the feedback.


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