I am running QNX 4.25 with Photon 1.14, on an industrial PC with a touch
I have two applications running, call them A and B.
At certain times, A’s windows are unrealized and B’s are realized, ie we can
see application B. I have an external switch which, when activated, causes
a window from application A to be display for user input. However, it is
drawn and then instantly B is drawn in front of it. Application A’s window
is smaller than B’s, and we wish to keep B’s screen visible behind A’s.
Is there any way to switch focus from one appliation to another
automatically, without the use of a keyboard or mouse (these aren’t
connected in normal use anyway)?
I have tried PtWindowToFront(), PtContainerGiveFocus() and PtWindowFocus but
they only seem to work within the application you call it from.