Newbie who doesn't know how to use the PtComboBox

Hi I’m new to Photon’s Application Builder (PhAB) and can’t seem
to figure out how to use the PtComboBox. I have two items in the list,
and the minute one item in the list is selected it should Block or Unblock
a button. I figured out how to use Pt_BLOCK, but I’ve selected all the
callbacks for the combobox and cannot figure out which one works.

I’m not an expert with the PtComboBox, and I’m not quite
sure what your asking. It sounds likes you are trying to
set the Pt_BLOCK bit when inside the item selection callback
or something, but nothing happens? Here is a simple suggestion.
Create separate application with nothing but a combo box.
Attach a different callback to each of the available ones
and put a printf in each. Now run the application and play
with the box. This should answer your question.


Previously, Channarith Jerome Vanthin wrote in comp.os.qnx:

Hi I’m new to Photon’s Application Builder (PhAB) and can’t seem
to figure out how to use the PtComboBox. I have two items in the list,
and the minute one item in the list is selected it should Block or Unblock
a button. I figured out how to use Pt_BLOCK, but I’ve selected all the
callbacks for the combobox and cannot figure out which one works.


Mitchell Schoenbrun --------- maschoen@pobox.com