Login Page - Create Account

Support Board


Date/Time: Thu, 26 Dec 2024 11:24:58 +0000



Changing symbols from chart does not ignore hotkeys

View Count: 1457

[2016-03-12 00:43:29]
i960 - Posts: 360
I have quite a few hotkeys setup for easy tool access without having to use modifiers (shift, ctrl, alt, etc) which works great for day to day charting. However, when attempting to change symbols via '/' and entering a new symbol Sierra doesn't fully recognize this as a "safe input" state and the hotkeys grab my keystrokes for the symbol i'm trying to type in. I can't think of any use-case where a user would use /<SYMBOL> and *also* want hotkeys to be active at that time they're typing, so it seems like a bug to me.
[2016-03-12 00:56:47]
Sierra Chart Engineering - Posts: 104368
We cannot do anything about this because the remapping of a keyboard key to a menu command happens at the operating system level.

Also, if we were to support this, which is impossible, and a keyboard shortcuts get disabled when someone mistakenly types a letter into a chart, this is not going to be something that is desirable to them.
Sierra Chart Support - Engineering Level

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

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2016-03-12 00:57:38
[2016-03-12 01:11:15]
i960 - Posts: 360
Also, if we were to support this, which is impossible, and a keyboard shortcuts get disabled when someone mistakenly types a letter into a chart, this is not going to be something that is desirable to them.

That's easy though - they just hit escape and they know they're back to normal. I'm not asking for it so somehow magically know I'm typing in a symbol at all times but instead to just ignore hotkeys when specifically in "input" mode aka '/'.

The OS is not taking over hotkey control for SierraChart entirely - they are simply keyboard hooks set by SC which call SC defined callbacks, e.g. SetWindowsHookEx() w/ the KeyboardProc callback type. Just have the callbacks check an input state variable and return early if it's set (and said variable would be set if a user types '/' in a chart). Otherwise process the keyboard hook as normal.

Along the lines of http://stackoverflow.com/questions/828134/disabling-keys-using-windows-hooks
Date Time Of Last Edit: 2016-03-12 01:11:48

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

Login

Login Page - Create Account