Jump to content
Software FX Community

mousedown/up events no shift, ctrl


Recommended Posts

The mouse down and up events return fairly odd numbers for args.button (1048576 for left button and 2097152 for right button, it would have been nice to capture them in an enumeration...), but there's no 'shift' argument that indicates wether shift and/or ctrl keys are pressed during the event. I need this info because I have code for selecting objects. shift and ctrl keys have their purpose in that. I must say, I never worked with a control that didn't pass this info.

 Any chance of a bugfix? I have a deadline next week...

Link to post
Share on other sites

We missed the button enumeration, here are the values

Left = 0x100000Right = 0x200000

We have also added a Flags property to allow you to check whether Shift and/or Ctrl were pressed at the time of the Event. The interesting values are

Shift = 4Control = 8

Please send an email to support at softwarefx dot com as these changes are not included yet in our public service pack.

JuanC

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...