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   |
|
darthspawn wrote on Tue, 08 September 2009 09:55 | Hello, it's me again 
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 }
|
|
|
|
Goto Forum:
Current Time: Mon May 12 05:45:34 CEST 2025
Total time taken to generate the page: 0.00319 seconds
|