Fires the OnClick event.
Syntax
rv = Send_Message(Ctrl, "OLE.DoClick", Point, Button, Shift, Ctrl)
Parameters
Parameter | Description |
---|---|
Point | The event's Point value |
Button | The event's Button value |
Shift | The event's Shift value |
Ctrl | The 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)