| 77 | } |
| 78 | |
| 79 | static BOOL KeyboardLayoutHasAltGr(HKL layout) |
| 80 | { |
| 81 | BOOL hasAltGr = FALSE; |
| 82 | int scancode; |
| 83 | for (WORD i = 32; i < 256; ++i) |
| 84 | { |
| 85 | scancode = VkKeyScanEx((TCHAR)i, layout); |
| 86 | if ((scancode != -1) && ((scancode & 0x600) == 0x600)) |
| 87 | { |
| 88 | hasAltGr = TRUE; |
| 89 | break; |
| 90 | } |
| 91 | } |
| 92 | return hasAltGr; |
| 93 | } |
| 94 | |
| 95 | WinBFWindow::WinBFWindow(BFWindow* parent, const StringImpl& title, int x, int y, int width, int height, int windowFlags) |
| 96 | { |
no outgoing calls
no test coverage detected