void FireKeyDown( USHORT* pnChar, short nShiftState );
Parameters
pnChar
Pointer to the virtual-key code value of the pressed key.
nShiftState
Contains a combination of the following flags:
Remarks
Called by the framework when a key is pressed while the control is UI active. If this event is defined as a custom event, you determine when the event is fired.
For automatic firing of a KeyDown event to occur, the control’s Event map must have a stock KeyDown event defined.
COleControl Overview | Class Members | Hierarchy Chart
See Also COleControl::FireKeyUp, COleControl::FireKeyPress, COleControl::OnKeyPressEvent