Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtSuperClassGenListMouse()

Invoke the List Mouse method in a superclass

Synopsis:

int PtSuperClassGenListMouse(
    PtWidgetClassRef_t *cref,
    PtWidget_t *wgt,
    PtGenListItem_t *item,
    unsigned index,
    PhPoint_t *where,
    int column,
    PhEvent_t *ev );

Arguments:

cref
The superclass whose method you want to call.
widget
A pointer to the widget for which to call the superclass's method.
item
A pointer to the PtGenListItem_t structure (see the Widget Reference) for the item under the mouse pointer.
index
The index of that item (the first item on the list has an index of 1).
where
A pointer to a PhPoint_t structure (see the Photon Library Reference) that defines the mouse position, relative to the item. The function can modify this structure.
column
The index of the column under the mouse pointer, or -1 if the pointer isn't on a column or the widget has no columns.
ev
A pointer to a PhEvent_t structure (see the Photon Library Reference) that defines the event.

Description:

This function can be used to invoke the List Mouse method of the class defined by cref.

Returns:

A nonzero value if the event was consumed, 0 otherwise.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t in the Photon Widget Reference

PhEvent_t, PhPoint_t in the Photon Library Reference