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 » Get number of displayed rows in gridctrl
Re: Get number of displayed rows in gridctrl [message #23026 is a reply to message #23023] Tue, 08 September 2009 20:51 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

darthspawn wrote on Tue, 08 September 2009 09:55

Hello, it's me again Smile

There is the possibility to have the number of the displayed rows? (for example, if I do a resize of my window, a GridCtrl of 30 rows was resized and is possible see only 20 rows)

I need to do an automatic centering when I do a resize. Thanks!

Sam

Unfortunately not. But if you can't wait for my commit to svn just add this method to gridctrl:
int GetDisplayedCount() { return lastVisRow - firstVisRow + 1 }
 
Read Message
Read Message
Read Message
Previous Topic: White space on a arrayctrl cell
Next Topic: Drag&drop in GridCtrl
Goto Forum:
  


Current Time: Mon Jun 10 02:07:13 CEST 2024

Total time taken to generate the page: 0.02260 seconds