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 the row numbers currently drawn
Re: Get the row numbers currently drawn [message #39911 is a reply to message #39895] Fri, 10 May 2013 23:04 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Crydev.
crydev wrote on Thu, 09 May 2013 17:13


I was wondering. Is there a possibility to get the row numbers of the rows currently drawn? By that, I mean the rows that are visible to the user in the ArrayCtrl.

After looking at ArrayCtrl::RefreshSel() method, I created following example to get visible range of rows:
Toggle Spoiler

index.php?t=getfile&id=4190&private=0

Edit: Added comment about how to use the GetVisibleRange function result.

[Updated on: Sun, 12 May 2013 09:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl, Editing and DoubleClick
Next Topic: Error: ItemRect::Editable(false) + Tab
Goto Forum:
  


Current Time: Sun May 05 19:45:08 CEST 2024

Total time taken to generate the page: 0.01911 seconds