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 » How to access Fixed Columns? (Accessing Fixed Columns)
Re: How to access Fixed Columns? [message #52890 is a reply to message #52887] Thu, 02 January 2020 22:29 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

You can use GetRaw(int r, int c) to get the value, but if you would like to access ItemRect there is no way currently. If you want to customise painting fixed cells you can do:
class MyDisplay: public GridDisplay {
   void PaintFixed(....) {
       ... your custom painting code...
   }
}

GridCtrl ctrl;
MyDisplay myDisplay;
ctrl.SetDisplay(myDisplay);


Hope that will help you Smile
 
Read Message
Read Message
Read Message
Previous Topic: How to create a Ctrl on selection?
Next Topic: ArrayCtrl::SetClipboard does not set \r\n in rows
Goto Forum:
  


Current Time: Fri Apr 26 02:36:06 CEST 2024

Total time taken to generate the page: 0.08923 seconds