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 » ArrayCtrl, HeaderCtrl & GridCtrl » BUG: HeaderCtrl::Serialize
BUG: HeaderCtrl::Serialize [message #27345] Tue, 13 July 2010 12:32 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
A call is missing in HeaderCtrl::Serialize that prevents proper layout refreshing after Serializing (Loading).

A simple fix. Line 759 in HeaderCtrl.cpp needs a ReCompute() added:
if (s.IsLoading()) {
   ReCompute(); // New additon
   Refresh();
   WhenLayout()
}

The problem is only apparent if the HeaderCtrl is already visible to the user, which is presumably why it was never noticed before.
 
Read Message
Read Message
Previous Topic: inconsistency causes crash
Next Topic: GridCtrl and diff Edit()'s per row, same column
Goto Forum:
  


Current Time: Fri Apr 19 00:22:35 CEST 2024

Total time taken to generate the page: 0.02070 seconds