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 » U++ Widgets - General questions or Mixed problems » Parent continues before child is painted
Re: Parent continues before child is painted [message #45363 is a reply to message #45356] Sun, 01 November 2015 20:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
slashupp wrote on Sun, 01 November 2015 14:47
Hi mirek

The "work-area" is bigger than the actual "view-area" of the window.
a simplified description of my "bad?" design computes positions for items in the work-area and updates the item's x,y variables. I want to select one item at random and scroll that portion of the work-area into view (if it is outside) but cannot do so because the x,y values are still zero's.

I'll try to do as you suggest and see if I can pre-compute the x,y's in another function
(if it doesn't work I'll still have my ugly hack above)

Another question: Why doesn't Sync() work as advertised: "Forces immediate repainting of areas marked using Refresh, RefreshFrame or ScrollView methods." - this would have done the trick nicely.


Let us say it is meant 'visually'...

Hard to say what is going on in your case...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TrayIcon Windows Shutdown solution
Next Topic: dynamic scatterDraw in a GUI
Goto Forum:
  


Current Time: Tue Sep 02 14:53:04 CEST 2025

Total time taken to generate the page: 0.06089 seconds