QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Changing Focus |
Ref. No. |
QNX.000005917 |
Category(ies) |
Development |
Issue |
I have a Photon 1.13 application running on my QNX4 machine. It operates in the following manner:
Opens window A, which opens window B, which opens window C
I would like focus to be given to a list box in window A from window C. Is this possible? And how?
|
Solution |
To give focus to the list box in Window A, from Window C call PtForwardWindowEvent (Abw 1) from Window C. Then have the list box in Window A call PtContainerGiveFocus().
Explanations and examples for PtForwardWindowEvent and PtContainerGiveFocus() can be found in the online Helpviewer or in the Photon microGUI Library Reference. |
|