ColClick Event
PLBCMP GUI Only
The ColClick event occurs when the mouse button is pressed and released over a column header of a LISTVIEW object.
Note the following:
The ColClick event is referenced using an event value of twenty-three (23). The equated label in PLBEQU.INC for this event is $COLCLICK.
This event only occurs for a LISTVIEW object when the SORTHEADER property is $ON.
The event result variable indicates the zero-based column number that was clicked.
When the SetColumnFormat method has been set to the LVCFMT_SPLITBUTTON bit mask value and a Windows column drop down event occurs, the event modifier indicates the selected item.
The LVCFMT_SPLITBUTTON format is only available for a Windows VISTA version or later with a Windows ComCtl32 DLL version 6 or later. When the LISTVIEW column drop down event is dispatched, the event modifier integer value is set to have the 0x1 bit set.
See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions
![]() |