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 » Fixed column alignment
Re: Fixed column alignment [message #22162 is a reply to message #22150] Sat, 20 June 2009 21:22 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

ricper75 wrote on Fri, 19 June 2009 11:10

anyone can help me?

Bye.
Rick

Hi!
Modify your code to:
this->mgrdMain.AddColumn("First").AlignCenter().HeaderAlignCenter();
this->mgrdMain.AddColumn("First2");
this->mgrdMain.AddColumn("First3");
this->mgrdMain.AddColumn("First4");
this->mgrdMain.AddColumn("First5");
this->mgrdMain.AddColumn("First6");
this->mgrdMain.AddColumn("Second").HeaderAlignCenter();
this->mgrdMain.AddColumn("Second2");

I see for the first time anyone is using joined cells Smile especialy they're not documented. Joining is not 100% finished - however it works and I use this in my own applications as well (for example drag&drop columns do not fully works).
 
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Grid Search Color on XP = very hard to read
Next Topic: I found a bug, please help
Goto Forum:
  


Current Time: Tue Aug 26 11:51:48 CEST 2025

Total time taken to generate the page: 0.05073 seconds