Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Graphics Context and Draw Object
Re: Graphics Context and Draw Object [message #5856 is a reply to message #5855] Sat, 21 October 2006 06:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
arixion wrote on Sat, 21 October 2006 00:11

Hmm, Is there a way to create a Draw Object related to a control?



Well, the standard way how to paint view content is to use Paint method. You can request refreshing the view area (or its portion) by calling Refresh. You can also force immediate repainting by Sync.

ViewDraw is helper, rarely used thing, but most likely it would do what you want. But yes, next paint would repaint the view again, OTOH perhaps you can leave it empty....

Anyway, I have a bad feeling about this Smile This is not how U++ code is supposed to work. OTOH, pushing corner limits might help to improve the U++.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GIF reader BUG? Or BUG in inserting GIF into QTF?
Next Topic: image of cursor
Goto Forum:
  


Current Time: Tue Jul 08 15:34:36 CEST 2025

Total time taken to generate the page: 0.06315 seconds