added wxListCtrl::GetViewRect()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-14 15:58:41 +00:00
parent ee47181777
commit 11ebea162a
6 changed files with 95 additions and 0 deletions

View File

@@ -463,6 +463,19 @@ Gets the text colour of the list control.
Gets the index of the topmost visible item when in
list or report view.
\membersection{wxRect}{wxListCtrl::GetViewRect}\label{wxlistctrlgetviewrect}
\constfunc{wxRect}{GetViewRect}{\void}
Returns the rectangle taken by all items in the control. In other words, if the
controls client size were equal to the size of this rectangle, no scrollbars
would be needed and no free space would be left.
Note that this function only works in the icon and small icon views, not in
list or report views (this is a limitation of the native Win32 control).
\membersection{wxListCtrl::HitTest}\label{wxlistctrlhittest}
\func{long}{HitTest}{\param{const wxPoint\& }{point}, \param{int\& }{flags}}