refreshing PtText

Hi there!

I’m a little new to ABuilder and QNX , so here’s my question :

I would like to know how I could simply refresh a PtText as my photon
application is receiving information from InterProcess Communication
messages.

In brief, I want to simulate a button by a function like WaitForMessage()…
so as the application is receiving messages, the PtText is refreshing with
the message info.

Thanks a lot !

Francis

You can use the Pt_ARG_TEXT_STRING resource of the PtText widget to
change the text and then use PtFlush() to force the damaged widget to
immediately repair itself.

Regards,
Dave B.



Francis wrote:

Hi there!

I’m a little new to ABuilder and QNX , so here’s my question :

I would like to know how I could simply refresh a PtText as my photon
application is receiving information from InterProcess Communication
messages.

In brief, I want to simulate a button by a function like WaitForMessage()…
so as the application is receiving messages, the PtText is refreshing with
the message info.

Thanks a lot !

Francis