Browse Source

win32: avoid beep on alt-key press.

tags/2021-05-28
jules 12 years ago
parent
commit
2db3582466
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 2
- 1
modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -2356,7 +2356,8 @@ private:
if (doAppCommand (lParam))
return TRUE;
break;
case WM_MENUCHAR: // triggered when alt+something is pressed
return MNC_CLOSE << 16; // (avoids making the default system beep)
//==============================================================================
case WM_SETFOCUS:


Loading…
Cancel
Save