Skip to content

Commit 3f98883

Browse files
committed
add helper GetPressedVirtualKeys()
1 parent 332df8b commit 3f98883

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

mql40/include/rsf/MT4Expander.mqh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
// other
177177
string GetInternalWindowTextA(int hWnd);
178178
int GetLastWin32Error();
179+
int GetPressedVirtualKeys(int flags);
179180
bool IsProgramType(int type);
180181
bool IsVirtualKeyDown(int vKey);
181182
bool IsWindowAreaVisible(int hWnd);

mql40/include/rsf/api.mqh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,7 @@ string GetMqlDirectoryA();;
787787
string GetMqlDirectoryW();;
788788
string GetMqlSandboxPathA(int inTester);;
789789
string GetMqlSandboxPathW(int inTester);;
790+
int GetPressedVirtualKeys(int flags);;
790791
string GetReparsePointTargetA(string name);;
791792
string GetStringA(int address);;
792793
string GetStringW(int address);;
@@ -838,7 +839,7 @@ bool IsStandardTimeframe(int timeframe);;
838839
bool IsSymlinkA(string path);;
839840
bool IsTerminalConfigKeyA(string section, string key);;
840841
bool IsUIThread(int threadId=NULL);;
841-
bool IsVirtualKeyDown(int vKey);;
842+
bool IsVirtualKeyDown(int key);;
842843
bool IsWindowAreaVisible(int hWnd);;
843844
int LeaveContext(int &ec[]);;
844845
bool LoadMqlProgramA(int hChart, int programType, string programName);;

mql40/libraries/rsfMT4Expander.dll

512 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)