Sign in to follow this  
phjvh

Right Click, Left Click

Recommended Posts

Can xml differentiate between a left button and a right button mouse click?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

When I use , rather than the intended right button gauge click, I get the Windows "Close Window" message.How do I override the "Close Window" message?Additionally, I would like the cursor to be a Hand with a "+" or "-" sign next to the index finger. What are the names for these cursors?Thanks...

Share this post


Link to post
Share on other sites

>When I use , rather than the>intended right button gauge click, I get the Windows "Close>Window" message.Beware that mouse events are case sensitive: LeftSingle; RightSingle; LeftDrag; etc.Also you have to test whether the event is being fired using a sintax like this: (M:Event) 'RightSingle' scmp 0 == if{ ..do what you want to .. }>Additionally, I would like the cursor to be a Hand with a "+">or "-" sign next to the index finger. What are the names for>these cursors?> for "+" sign for "-" signTom

Share this post


Link to post
Share on other sites

Hi,Here is an example, one of my functioning clicks:"Anything you want"( or or }(M:Event) 'LeftSingle' scmp 0 == if{ (L:test,number) 1 - 0 max (>L:test,number) (L:fmc ped,bool) ! if{ 1 (>L:fmc ped,bool) } }(M:Event) 'RightSingle' scmp 0 == if{ (L:test,number) 1 + 10 min (>L:test,number) (L:fmc ped,bool) if{ 0 (>L:fmc ped,bool) } }When you "rightclick" outside the defined area things go wrong!Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

>> Yeah, those are the right ones! I was focused on the and didn't notice to change it for :-hmmm Tom

Share this post


Link to post
Share on other sites

Yom,Totally different question:The AP ATT HOLD function.When does it works?Do you have to set yawdamper and autocoord off or must the acft.cfg default pitch and bank etc. be changed?When i put att hold on, it goes immediatly off.Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

Jan,I've never used AP ATT HOLD function so far, so I don't know how it behaves, sorry. :-( Tom

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this