OpenQNX :: The QNX Community Portal

Jul 25, 2008 - 04:40 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 23 unlogged users and 2 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jmhotham
Post subject: Removing ellipses drawn on a PtMTrend widget  PostPosted: Jan 16, 2008 - 09:26 AM
New Member


Joined: Jan 16, 2008
Posts: 2

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
 
 View user's profile Send private message  
Reply with quote Back to top
micro
Post subject: RE: Removing ellipses drawn on a PtMTrend widget  PostPosted: Jan 16, 2008 - 12:12 PM
Senior Member


Joined: Jul 22, 2004
Posts: 333

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.
 
 View user's profile Send private message  
Reply with quote Back to top
jmhotham
Post subject: RE: Removing ellipses drawn on a PtMTrend widget  PostPosted: Jan 16, 2008 - 01:10 PM
New Member


Joined: Jan 16, 2008
Posts: 2

and to make the next update immediate I should call PtFlush() after PtDamageWidget()...is that correct?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.