I’m experimenting with the PtTree widget for displaying the names of a
tree-structured set of windows. The idea is that the user can peruse
the list, expanding/collapsing it at will, to select his/her
destination. I can use the basic functions to populate the text
fields but have a couple of questions.
In a PtTreeItem_t structure, can the “void *data” field be used to
store a widget ID (e.g. ABW_my_next_window) so that clicking on the
text will summon that window?
Our environment will include a touch screen monitor. Specifying a
larger font or item line spacing will make a useful sensitive area for
selecting an item’s text. But I don’t immediately see a way to
enlarge the triangular pointers that cause tree expansion/collapse.
Maybe these reside in a hidden “column one” and have a column
attribute I can modify. Maybe such an approach is available through
a PtRawTree. But I have not seen a clue in the Helpviewer.