Previous | Up | Next |
Define a callback on key-down event. The scancode depends on the keyboard : it will be recalled on the key-up event. The value is the ascii code for usual characters, and following table gives the others codes.Parameters
Pause 0xFF13 Scroll_Lock 0xFF14 Delete 0xFFFF Home 0xFF50 Left 0xFF51 Up 0xFF52 Right 0xFF53 Down 0xFF54 Prior 0xFF55 Next 0xFF56 End 0xFF57 Insert 0xFF63 Num_Lock 0xFF7F F1 0xFFBE F2 0xFFBF F3 0xFFC0 F4 0xFFC1 F5 0xFFC2 F6 0xFFC3 F7 0xFFC4 F8 0xFFC5 F9 0xFFC6 F10 0xFFC7 F11 0xFFC8 F12 0xFFC9 F13 0xFFCA F14 0xFFCB F15 0xFFCC F16 0xFFCD Caps_Lock 0xFFE5
ObjWin _CBwinKeydown ( ObjWin _win_ fun [ObjWin u0 I I] u1 _callback_ u0 _user_ )
Return value
_win_ any window _callback_ callback on keydown event (supplemental parameters are scancode -- specific to the keyboard -- and value, which is the ascii code for usual keys) _user_ user parameter
same window