Re: using keys in windows
- Posted by David Cuny <dcuny at LANSET.COM> Aug 12, 2000
- 489 views
Frank Collins wrote: > Does anyone know how to use the arrow keys with win32lib > I've tried onKeyPress, and onKeyDown but can't get it to work onKeyPress will only return "visible" keys; you need to use onKeyDown. Windows maps the keys a bit differently than DOS; take a look at the VK_ (virtual key) constants: VK_UP, VK_DOWN, VK_LEFT, etc. -- David Cuny