Jump to content
Software FX Community

mousedown/up events no shift, ctrl


Neoteny

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 comment
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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...