PEMouseClickEventInfo

PEMouseClickEventInfo contains information associated with a mouse click event when the callback function is called with event ID equal to PE_RIGHT/MIDDLE/LEFT_CLICK_EVENT.

C Syntax
typedef struct PEMouseClickEventInfo {
    WORD StructSize;
    long windowHandle;
    UINT clickAction;
    UINT clickFlags;
    int xOffset;
    int yOffset;
    PEValueInfo fieldValue;
    DWORD objectHandle;
    short sectionCode
} PEMouseClickedEventInfo;
Members

StructSize

Specifies the size of the PEMouseClickEventInfo structure. Initialize this member to PE_SIZEOF_MOUSE_CLICK_EVENT_INFO.

windowHandle

Specifies the handle of the frame window in which the mouse click event occurred.

clickAction

Indicates the click action. Uses one of the following PE_MOUSE_XXX constants.


Constant Description


PE_MOUSE_NOTSUPPORTED




PE_MOUSE_DOWN




PE_MOUSE_UP




PE_MOUSE_DOUBLE_CLICK

For Mouse Left click or Mouse Middle click.

clickFlags

Indicates the source of the event, which can be any combination of the following PE_CF_XXX virtual key state-mask constants.


Constant Value Description


PE_CF_NONE

0x0000

No button pressed


PE_CF_LBUTTON

0x0001

Left mouse button


PE_CF_RBUTTON

0x0002

Right mouse button


PE_CF_SHIFTKEY

0x0004

Shift key


PE_CF_CONTROLKEY

0x0008

Control key


PE_CF_MBUTTON

0x00010

Center mouse button

xOffset

X-coordinate of cursor during mouse click in pixels.

yOffset

Y-coordinate of cursor during mouse click in pixels.

fieldValue 

The PEValueInfo, structure containing information about the value of the object at the click point, if it is a field object (excluding MEMO and BLOB fields), else valueType element = PE_VI_NOVALUE.

objectHandle

Specifies the handle of the design view object.

sectionCode

Specifies the Section Codes for the section in which the click occurred. See Working with section codes.

Delphi Record Listing
type
PEMouseClickEventInfo = record
StructSize : Word;
windowHandle : LongInt;
clickAction : integer;
clickFlags : integer;    {
xOffset : integer;
yOffset : integer;
fieldValue : PEValueInfo;
objectHandle : DWord;    
sectionCode : smallint;
end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com