Login Page - Create Account

Support Board


Date/Time: Thu, 18 Jan 2018 02:21:37 +0000



ACSIL mouse click key modifier

Support Request:
[2017-09-15 12:46:43]
dtl-saw - Posts: 37
I'm using custom buttons on a control bar + mouse clicks to create drawings and configure chart behaviors. To keep the number of buttons used down I would like to use a key modifier for mouse clicks.
For example, i use a custom button to enter a drawing mode and then use a mouse click to define an index on the chart for constructing a drawing. If I could combine <CTRL> key + a mouse click then I could define another different behavior from just the mouse click and which saves from using another button.
Do you have that available in ACSIL to combine special function keys like: <ALT>, <CTRL>, <SHIFT> to combine with left mouse clicks?

Thanks
[2017-09-15 17:47:06]
Sierra Chart Engineering - Posts: 56242
We will see about adding flag variables to ACSIL to indicate these particular keyboard states.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2017-09-15 17:47:16
[2017-11-25 19:38:57]
dtl-saw - Posts: 37
It's been awhile since I posted, did you implement this requested feature?
This capability will be a big benefit for everyone writing ACSIL functions.
Regards
[2017-11-25 23:45:54]
Sierra Chart Engineering - Posts: 56242
Yes this has been done for some time now:

  uint16_t sc.SupportKeyboardModifierStates;
  uint16_t sc.IsKeyPressed_Control;
  uint16_t sc.IsKeyPressed_Shift;
  uint16_t sc.IsKeyPressed_Alt;

We will have documentation available as soon as possible for these.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2017-11-26 02:09:36]
dtl-saw - Posts: 37
Fantastic! Thanks for supporting this feature.
[2017-11-26 02:36:04]
Sierra Chart Engineering - Posts: 56242
You will need to set :

sc.SupportKeyboardModifierStates=1;
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

To post a message in this thread, you need to login with your Sierra Chart account:

Login


Login Page - Create Account