AnnoUIOnRButtonDown

#include “BiAnno.h”

BOOL CALLBACK AnnoUIOnRButtonDown (             INT_PTR PAnno,
HDC     hDC,
UINT    nFlags,
POINT  point );

Description

Handles user interface task when right mouse button is pressed.  It must be called on the WM_RBUTTONDOWN message handler function, if the mouse pointer is given to the annotation handler. The parameter point must be mapped to the image.

Parameters

INT_PTR

pAnno

Annotation handle

HDC

hDC

DC to paint onto if necessary

UINTnFlags

nFlags 

Indicates whether various virtual keys are down.

POINT

point

Mouse coordinates

Return value

TRUE if repaint is necessary.

The update area can be obtained by the AnnoUIGetUpdateRect function

Programming Notes

See AnnoUIOnRButtonDownExt for more information.

Code Example

None