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 » ArrayCtrl::GetCellRect is private
ArrayCtrl::GetCellRect is private [message #46337] Sat, 23 April 2016 06:29
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
For some some reason ArrayCtrl::GetCellRect is declared as private.
The only similar public method is ArrayCtrl::GetScreenCellRect.
Inside of a Display::Paint method I'm getting cell Rect (not screen cell Rect) I believe.

So, if I'm using my own Draw method, and after that I want to detect on which part of a cell a user clicked, then I do not have an easy way to do that.
And in the method LeftDown I'm getting not screen coordinates either.

IMHO, ArrayCtrl::GetCellRect should be public, or I'm missing something.

TIA


Regards,
Novo

[Updated on: Sat, 23 April 2016 06:35]

Report message to a moderator

Previous Topic: Virtual ArrayCtrl - set font on columns
Next Topic: How does DropGrid::Format() work?
Goto Forum:
  


Current Time: Thu Mar 28 18:03:16 CET 2024

Total time taken to generate the page: 0.01527 seconds