%AX_TKEVENT_LEFT_DBLCLK
Call extension for left double-click event
WSupported on Windows
|
|
|
|
value = %AX_TKEVENT_LEFT_DBLCLK(resv_1, resv_2, ^VAL(container_id), & ^VAL(D_EVENT_LEFT_DBLCLK), ^VAL(col_cell), ^VAL(row_cell), & ^VAL(col_pix), ^VAL(row_pix), ^VAL(add_info))
Return value
value
The return value for the method. On Windows, this function always returns true unless the extension returns false. On Unix, this function will cause an error if invoked. On OpenVMS, it returns true. (^VAL)
Arguments
resv_1, resv_2
Reserved for internal use. (a)
container_id
The ID of the Toolkit container window for the ActiveX control. This must be passed by value: ^VAL(container_id). (i)
D_EVENT_LEFT_DBLCLK
The event code for the event that invokes the extension. This must be passed by value. (i)
control_id
The ID of the ActiveX control. This must be passed by value. (i)
col_cell
The horizontal position (x axis) as a cell column number. This must be passed by value. (i)
row_cell
The vertical position (y axis) as a cell row number. This must be passed by value. (i)
col_pix
The horizontal position (x axis) as a pixel column number. This must be passed by value. (i)
row_pix
The vertical position (y axis) as a pixel row number. This must be passed by value. (i)
add_info
Additional mouse click information. This must be passed by value. (i)
Click was in client area.
Click was in non-client area.
Left mouse button was down during click.
Middle mouse button was down during click.
Right mouse button was down during click.
Control key was down during click.
Shift key was down during click.
Click was in footer section.
Click was in header section.
Click was on a line.
Discussion
If you passed the prefix argument to %AX_TKSINGLE or %GRID_CREATE, and a routine with the name prefix_TKEVENT_LEFT_DBLCLK was available when the container was created, %AX_TKEVENT_LEFT_DBLCLK calls your extension routine for the D_EVENT_LEFT_DBLCLK event. If you didn’t pass the prefix argument, %AX_TKEVENT_LEFT_DBLCLK does nothing.
This routine is part of the method set that’s registered when you use %AX_TKSINGLE or %GRID_CREATE.
See also
- %UWNDEVENTS_METHOD
- %AX_TKSINGLE routine
- %GRID_CREATE routine
- Appendix D: Methods