Correction to the previous post (another phindow bug)

I didn’t state the problem correctly in my prevous post regarding the
phindow bug.
The real problem is that I have 3 Pt_Text widgets, when Pt_text_1 widget
gets a
down arrow key board event, it give focus to Pt_text_2, then when Pt_text_2
gets a
down arrow key board event, it gives focus to Pt_text_3, this al works fine
under Qnx.

However, When I phindow to this app… when Pt_text_1 widget gets a
down arrow key board event, it give focus to Pt_text_2, but somehow it
run’s Pt_text_2’s raw keyboard event also, and shift the focus to
Pt_text_3…

This seems to be a major phindow bug…code are as folloing:

int PtText_1( PtWidget_t *widget, ApInfo_t *apinfo, PtCallbackInfo_t
cbinfo )
{ /
eliminate ‘unreferenced’ warnings */
widget = widget, apinfo = apinfo, cbinfo = cbinfo;
if (((PhKeyEvent_t *) PhGetData(cbinfo->event ))->key_sym == Pk_Down)
{ PtContainerFocusNext(widget, NULL);
cout << “PtText_1 DownKey is hit”<< endl;
}
return( Pt_CONTINUE );


}

int PtText_2( PtWidget_t *widget, ApInfo_t *apinfo, PtCallbackInfo_t
cbinfo )
{ /
eliminate ‘unreferenced’ warnings */
widget = widget, apinfo = apinfo, cbinfo = cbinfo;
if (((PhKeyEvent_t *) PhGetData(cbinfo->event ))->key_sym == Pk_Down)
{ PtContainerFocusNext(widget, NULL);
cout << “PtText_2 DownKey is hit”<< endl;
}
return( Pt_CONTINUE );


}