Version 1 (modified by 6 years ago) ( diff ) | ,
---|
SetKeyEvent
CForm member function to set an event to alter received keypresses before processing by the form.
void CForm::SetKeyEvent(int (*pEventKey)(CForm* pForm, CFormItem *pItem, int nData))
Parameters
pEventKey = Event to handle keypresses
Return Value
This function may return 0 to disregard the keypress or the ASCII value to be processed as the key.
Remarks
Examples
See Also
Note:
See TracWiki
for help on using the wiki.