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 #39910 is a reply to message #39908] Fri, 10 May 2013 21:55 Go to previous messageGo to previous message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hello CryDev,

Perhaps you could have a look the ArrayCtrl Embedded functions:

IsCursor
checks whether cursor is in the table (identical to GetCursor() >= 0)
GetCursor
returns current cursor row, -1 when none
GetCursorSc
returns the location of the cursor row within the table view area
ScCursor
scrolls the table to move the cursor row to given location within the table view
CenterCursor
scrolls the table to move cursor into the middle of the current view
ScrollInto
scrolls the table by minimum amount necessary to make given row visible
ScrollIntoCursor
scrolls the table by minimum amount necessary to make cursor row visible
GetScroll
returns current table scrollbar location
ScrollTo
sets table scrollbar location
Find
locates table row containing a given element
FindSetCursor
moves the cursor to table row containing a given element

Some functions allow to check if the row is visible or not.

Regards

Biobytes
 
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 20:34:06 CEST 2024

Total time taken to generate the page: 0.02451 seconds