ref: a1b60580a22958a519aa77d48f7b3d2817996283
parent: b2a21e517071512c3cab0bb291095d72af2d3dc4
author: David Turner <[email protected]>
date: Mon Feb 21 12:45:15 EST 2000
small fix, PageUp/PageDown now work Alt-F4 doesn't work anymore (needs more changes :-)
--- a/demos/graph/win32/grwin32.c
+++ b/demos/graph/win32/grwin32.c
@@ -73,16 +73,14 @@
{ VK_BACK, grKeyBackSpace },
{ VK_TAB, grKeyTab },
{ VK_RETURN, grKeyReturn },
- { VK_ESCAPE, grKeyEsc },
+ { VK_ESCAPE, grKeyEsc },
{ VK_HOME, grKeyHome },
{ VK_LEFT, grKeyLeft },
{ VK_UP, grKeyUp },
{ VK_RIGHT, grKeyRight },
{ VK_DOWN, grKeyDown },
- /*
- { VK_PAGEUP, grKeyPageUp },
- { VK_PAGEDOWN, grKeyPageDown },
- */
+ { VK_PRIOR, grKeyPageUp },
+ { VK_NEXT, grKeyPageDown },
{ VK_END, grKeyEnd },
{ VK_F1, grKeyF1 },
{ VK_F2, grKeyF2 },
@@ -437,6 +435,7 @@
}
case WM_KEYDOWN:
+ case WM_SYSKEYDOWN:
switch ( wParam )
{
case VK_ESCAPE: