Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AbrahamR, wdlmaster, 7th_zorro, dr_panther, 1 invisible), 764 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Right click button possible? #261137
04/16/09 00:04
04/16/09 00:04
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
Is it possible to have buttons notice right clicks and not only left clicks? Doesn't say anything in the manual about it.

Re: Right click button possible? [Re: upsidedownman] #261151
04/16/09 00:51
04/16/09 00:51
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf


you have to think a bit creative, but isn't that the fun of 3DGS? laugh

Last edited by Michael_Schwarz; 04/16/09 00:51.

"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Right click button possible? [Re: Michael_Schwarz] #261153
04/16/09 01:10
04/16/09 01:10
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
I was thinking of doing that but it would mean more code for each button and its positions but i guess i have no choice. Thanks.

Re: Right click button possible? [Re: upsidedownman] #261189
04/16/09 09:21
04/16/09 09:21
Joined: Jul 2008
Posts: 553
Singapore
delinkx Offline
User
delinkx  Offline
User

Joined: Jul 2008
Posts: 553
Singapore
i guess u want both the mouse buttons to do the same function. so u define something like this:

Code:
funtion myMouse()
{
 //here, do the mouse stuffs
}

void main()
{
 ...
 on_mouse_left = myMouse;
 on_mouse_right = myMouse;
 on_mouse_middle = myMouse;
 ...
}




A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook

Gamestudio download | chip programmers | 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