OnKeyPress

CNi

Function Group
OnKeyPress() Functions    Prev page: OnKeyDownNext page: OnKeyUp    
Function Declared in:
NiKnobEvents.h

'Declaration' icon -- Shortcut to top of page. Declaration

void OnKeyPress(
    short FAR* KeyAscii);

'Description' icon -- Shortcut to top of page. Description

Generated when a KeyDown message generates a key while a control is active.

Shortcut to top of page. Parameters

short FAR* KeyAscii

The ASCII value of the key that the user pressed.

'See Also' icon -- Shortcut to top of page. See Also

Shortcut to top of page. Example

void OnKeyPress(short FAR* KeyAscii) {
   if (KeyASCII == 83) {
       // Your event code here.
   }
}