mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
Logging: allowing logging of PrintScreen even when switch is used to suppress MsgBox
This commit is contained in:
parent
d4a3c5c28f
commit
93f57c0970
@ -847,7 +847,7 @@ void AppleWin_RegisterHotKeys(void)
|
||||
VK_SNAPSHOT // UINT vk = PrintScreen
|
||||
);
|
||||
|
||||
if ((!bStatus[0] || !bStatus[1] || !bStatus[2]) && g_bShowPrintScreenWarningDialog)
|
||||
if ((!bStatus[0] || !bStatus[1] || !bStatus[2]))
|
||||
{
|
||||
std::string msg("Unable to register for PrintScreen key(s):\n");
|
||||
|
||||
@ -858,7 +858,8 @@ void AppleWin_RegisterHotKeys(void)
|
||||
if (!bStatus[2])
|
||||
msg += "\n. Ctrl+PrintScreen";
|
||||
|
||||
MessageBox( g_hFrameWindow, msg.c_str(), "Warning", MB_ICONASTERISK | MB_OK );
|
||||
if (g_bShowPrintScreenWarningDialog)
|
||||
MessageBox( g_hFrameWindow, msg.c_str(), "Warning", MB_ICONASTERISK | MB_OK );
|
||||
|
||||
msg += "\n";
|
||||
LogFileOutput(msg.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user