Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Sellecting all items in a PtList
Ref. No. QNX.000003683
Category(ies) Development
Issue I want to have a PtList that is selectable as a whole (and hence scrollable), but in which the individual items themselves cannot be selected.



Solution You can do it by having a Pt_CB_SELECTION callback that returns Pt_END. You will also need to turn on Pt_LIST_NONSELECT in the List Flags, and turn off Pt_FOCUS_RENDER in the Flags resource.