AnnoUIOnLButtonDown

#include “BiAnno.h”

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

Description

Handles user interface task when left mouse button is pressed.

It must be called on the WM_LBUTTONDOWN 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 necessary.

The update area can be obtained by the AnnoUIGetUpdateRect function

Programming Notes

None

Code Example

None