Skip navigation.
Home
The QNX Community Portal

View topic - Removing ellipses drawn on a PtMTrend widget

Removing ellipses drawn on a PtMTrend widget

Isn't the name clear?

Removing ellipses drawn on a PtMTrend widget

Postby jmhotham » Wed Jan 16, 2008 9:26 am

I need to know how I can remove ellipses that I have drawn on top of an MTrend widget using PgDrawArc(). If I make a call to PtDamageWidget() will this cause the ellipses that were drawn on the MTrend widget to disappear? If not, what should I do? Thanks
jmhotham
New Member
 
Posts: 2
Joined: Wed Jan 16, 2008 9:23 am

RE: Removing ellipses drawn on a PtMTrend widget

Postby micro » Wed Jan 16, 2008 12:12 pm

When you call PtDamageWidget() on your MTrend-Widget it will redraw the widget on the next update. As long as you do not draw the ellipses constantly they should disappear.
micro
Senior Member
 
Posts: 458
Joined: Thu Jul 22, 2004 8:41 pm

RE: Removing ellipses drawn on a PtMTrend widget

Postby jmhotham » Wed Jan 16, 2008 1:10 pm

and to make the next update immediate I should call PtFlush() after PtDamageWidget()...is that correct?
jmhotham
New Member
 
Posts: 2
Joined: Wed Jan 16, 2008 9:23 am


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron