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 » Can I center an Option control in an ArrayCtrl column?
Re: Can I center an Option control in an ArrayCtrl column? [message #10954 is a reply to message #10952] Tue, 07 August 2007 13:31 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

BTW: If you'd use GridCtrl you could center an option control like this:
grid.AddColumn("Option column").Option()

Option is a simple helper method. One can use it instead of Ctrls(void (*factory)(One<Ctrl>&) if extra initialization of option control is not needed. And what's important in your case it creates centered option control. It just make implicit call of CtrlAlignHorzCenter(CtrlsImg::O0().GetSize().cx)
 
Read Message
Read Message
Read Message
Read Message icon7.gif
Read Message
Previous Topic: how align a column?
Next Topic: crash in dev version of GridCtrl.cpp
Goto Forum:
  


Current Time: Wed Jun 25 00:18:11 CEST 2025

Total time taken to generate the page: 0.04121 seconds