![]() |



Function |
Declared in: NiSlideEvents.h |
Declaration
void OnKeyUp( short FAR* KeyCode, short Shift);
Description
Generated when you release a key while the control has the input focus.
Parameters
short FAR* KeyCode
short Shift
Specifies the virtual-key code of the given key.
Contains the state of the SHIFT, CTRL, and ALT keys, which can be any combination of the CNiSlide::ShiftKeys enumeration values. The list below includes valid enumeration values.
- CNiSlide::ShiftKey - SHIFT key is pressed.
- CNiSlide::CtrlKey - CTRL key is pressed.
- CNiSlide::AltKey - ALT key is pressed.
See Also
Example
void OnKeyUp(short FAR* KeyCode, short Shift) { // Check for the Alt-Shift-D key. if ((*KeyCode == 68) && (Shift == CNiSlide::ShiftKey | CNiSlide::AltKey)) { // Your event code here. } }