SHIFT = 16
CTRL = 17
Great. Thank you!!
bool IsKeyEsc( void ) { return(::TerminalInfoInteger(TERMINAL_KEYSTATE_ESCAPE) < 0); } bool IsKeyTab( void ) { return(::TerminalInfoInteger(TERMINAL_KEYSTATE_TAB) < 0); } bool IsKeyCtrl( void ) { return(::TerminalInfoInteger(TERMINAL_KEYSTATE_CONTROL) < 0); } bool IsKeyShift( void ) { return(::TerminalInfoInteger(TERMINAL_KEYSTATE_SHIFT) < 0); }
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys,
I just used CHARTEVENT_KEYDOWN this way:
Is it somehow possible to check if SHIFT and A are pressed? I didn't find anything about it in the MQL4 docs.