fix pause key
This commit is contained in:
parent
5412deb27e
commit
38453e3a09
1 changed files with 8 additions and 0 deletions
|
@ -1080,6 +1080,10 @@ WORD TConfigForm::GetKeyCode(System::UnicodeString key)
|
|||
return VK_SNAPSHOT;
|
||||
}
|
||||
|
||||
if (key == L"Pause_") {
|
||||
return VK_PAUSE;
|
||||
}
|
||||
|
||||
if (key == L"R " + ShortCutToText(VK_MENU)) {
|
||||
return VK_RMENU;
|
||||
}
|
||||
|
@ -1097,6 +1101,10 @@ System::UnicodeString TConfigForm::GetKeyText(WORD key)
|
|||
return L"PrtScn";
|
||||
}
|
||||
|
||||
if (key == VK_PAUSE) {
|
||||
return L"Pause_";
|
||||
}
|
||||
|
||||
if (key == VK_RMENU) {
|
||||
return L"R " + ShortCutToText(VK_MENU);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue