Fires the OnClick event.

Syntax

rv = Send_Message(Ctrl, "OLE.DoClick", Point, Button, Shift, Ctrl)

Parameters

ParameterDescription
PointThe event's Point value
ButtonThe event's Button value
ShiftThe event's Shift value
CtrlThe event's Ctrl value

Remarks

The DoClick method fires the OnClick event programmatically. The parameters you supply will be passed as is to the event handler.

Example

// Fire the OnClick event 
Send_Message(@Window:".OLE_PICTURE", "OLE.DoClick", "0,0", "Left", 0, 0)
  • No labels