QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Can't perform screen updates from within a Photon application's function |
Ref. No. |
QNX.000004796 |
Category(ies) |
Development |
Issue |
We are developing a Photon application, and need to update the screen in the middle of a function so that we can display error messages to the screen as they happen.
|
Solution |
When a program makes Photon calls from within an application, they aren't usually implemented until the return of the function. If you use either PtFlush() or PtSyncPhoton() then you can force Photon to draw or redraw any changes you have made to the screen. |
|