AnnoUIOnKeyDown

#include “BiAnno.h”

BOOL CALLBACK AnnoUIOnKeyUp( INT_PTR  PAnno,
HDC   hDC,
UINT  nChar,
UINT  nRepCnt,
UINT  nFlags);

Description

Handles the WM_KEYDOWN message.

Parameters

INT_PTR

pAnno

Annotation handle

HDC

hDC

DC to paint onto if necessary

UINT

nChar

Specifies the virtual-key code of the given key

UINT

nRepCnt  

Repeat count

UINT

nFlags  

Specifies the scan code, key-transition code, previous key state, and context code, according to MFC.

Return value

TRUE if repaint is necessary. The update area can be obtained by the AnnoUIGetUpdateRect function

Programming Notes

None

Code Example

None