need callback from bubble

If anyone can tell me how to get a event when my bubble (from a button)
goes away, I would most appreciate it.

Problem, I draw polygons on my screen, after a button which was put in
the midst of them displays it’s bubble, the only area data redrawn was
the know widgets. I have not found a event which will give my app
notification of the exposed area.

Thanks,
Art

Art <avanhorn@digauto.com> wrote:
: If anyone can tell me how to get a event when my bubble (from a button)
: goes away, I would most appreciate it.

: Problem, I draw polygons on my screen, after a button which was put in
: the midst of them displays it’s bubble, the only area data redrawn was
: the know widgets. I have not found a event which will give my app
: notification of the exposed area.

It sounds as if your application uses both widgets and raw drawing primitives
(i.e. calls the the Pg…() functions). This isn’t a good thing to do, as
you’ve discovered, because widgets can refresh their display, but the Pg…
functions can’t.

You should create a PtRaw widget and use the Pg… calls in its Draw function.
For more information, see the Raw Drawing and Animation chapter of the
Photon Programmer’s Guide.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems Ltd.