Jump to content
Sign in to follow this  
phjvh

Right Click, Left Click

Recommended Posts

Guest rpmc

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

Share this post


Link to post
Share on other sites

Hi,Yes it can:Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites
Guest rpmc

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

Tom,I 'll make it a new item..Jan"Beatus ille qui procul negotiis..."

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...