2 % automatically generated by HelpGen $Revision$ from
3 % splittree.h at 05/Jan/02 23:08:14
7 \section{\class{wxRemotelyScrolledTreeCtrl
}}\label{wxremotelyscrolledtreectrl
}
10 wxRemotelyScrolledTreeCtrl
12 This tree control disables its vertical scrollbar and catches scroll
13 events passed by a scrolled window higher in the hierarchy.
14 It also updates the scrolled window vertical scrollbar as appropriate.
16 \wxheading{Derived from
}
18 \helpref{wxTreeCtrl
}{wxtreectrl
}
20 \wxheading{Data structures
}
22 \latexignore{\rtfignore{\wxheading{Members
}}}
25 \membersection{wxRemotelyScrolledTreeCtrl::wxRemotelyScrolledTreeCtrl
}\label{wxremotelyscrolledtreectrlwxremotelyscrolledtreectrl
}
27 \func{}{wxRemotelyScrolledTreeCtrl
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxPoint\&
}{pt = wxDefaultPosition
},
\param{const wxSize\&
}{sz = wxDefaultSize
},
\param{long
}{style = wxTR
\_HAS\_BUTTONS}}
30 \membersection{wxRemotelyScrolledTreeCtrl::
\destruct{wxRemotelyScrolledTreeCtrl
}}\label{wxremotelyscrolledtreectrldtor
}
32 \func{}{\destruct{wxRemotelyScrolledTreeCtrl
}}{\void}
35 \membersection{wxRemotelyScrolledTreeCtrl::AdjustRemoteScrollbars
}\label{wxremotelyscrolledtreectrladjustremotescrollbars
}
37 \func{void
}{AdjustRemoteScrollbars
}{\void}
39 Adjust the containing wxScrolledWindow's scrollbars appropriately
42 \membersection{wxRemotelyScrolledTreeCtrl::CalcTreeSize
}\label{wxremotelyscrolledtreectrlcalctreesize
}
44 \func{void
}{CalcTreeSize
}{\param{const wxTreeItemId\&
}{id
},
\param{wxRect\&
}{rect
}}
47 \func{void
}{CalcTreeSize
}{\param{wxRect\&
}{rect
}}
49 Calculate the tree overall size so we can set the scrollbar
53 \membersection{wxRemotelyScrolledTreeCtrl::GetCompanionWindow
}\label{wxremotelyscrolledtreectrlgetcompanionwindow
}
55 \constfunc{wxWindow*
}{GetCompanionWindow
}{\void}
58 \membersection{wxRemotelyScrolledTreeCtrl::GetScrollPos
}\label{wxremotelyscrolledtreectrlgetscrollpos
}
60 \constfunc{int
}{GetScrollPos
}{\param{int
}{orient
}}
62 In case we're using the generic tree control.
65 \membersection{wxRemotelyScrolledTreeCtrl::GetScrolledWindow
}\label{wxremotelyscrolledtreectrlgetscrolledwindow
}
67 \constfunc{wxScrolledWindow*
}{GetScrolledWindow
}{\void}
69 Find the scrolled window that contains this control
72 \membersection{wxRemotelyScrolledTreeCtrl::GetViewStart
}\label{wxremotelyscrolledtreectrlgetviewstart
}
74 \constfunc{void
}{GetViewStart
}{\param{int*
}{x
},
\param{int*
}{y
}}
76 In case we're using the generic tree control.
80 \membersection{wxRemotelyScrolledTreeCtrl::HideVScrollbar
}\label{wxremotelyscrolledtreectrlhidevscrollbar
}
82 \func{void
}{HideVScrollbar
}{\void}
87 \membersection{wxRemotelyScrolledTreeCtrl::OnExpand
}\label{wxremotelyscrolledtreectrlonexpand
}
89 \func{void
}{OnExpand
}{\param{wxTreeEvent\&
}{event
}}
92 \membersection{wxRemotelyScrolledTreeCtrl::OnPaint
}\label{wxremotelyscrolledtreectrlonpaint
}
94 \func{void
}{OnPaint
}{\param{wxPaintEvent\&
}{event
}}
97 \membersection{wxRemotelyScrolledTreeCtrl::OnScroll
}\label{wxremotelyscrolledtreectrlonscroll
}
99 \func{void
}{OnScroll
}{\param{wxScrollWinEvent\&
}{event
}}
102 \membersection{wxRemotelyScrolledTreeCtrl::OnSize
}\label{wxremotelyscrolledtreectrlonsize
}
104 \func{void
}{OnSize
}{\param{wxSizeEvent\&
}{event
}}
109 \membersection{wxRemotelyScrolledTreeCtrl::PrepareDC
}\label{wxremotelyscrolledtreectrlpreparedc
}
111 \func{void
}{PrepareDC
}{\param{wxDC\&
}{dc
}}
113 In case we're using the generic tree control.
116 \membersection{wxRemotelyScrolledTreeCtrl::ScrollToLine
}\label{wxremotelyscrolledtreectrlscrolltoline
}
118 \func{void
}{ScrollToLine
}{\param{int
}{posHoriz
},
\param{int
}{posVert
}}
120 Scroll to the given line (in scroll units where each unit is
121 the height of an item)
124 \membersection{wxRemotelyScrolledTreeCtrl::SetCompanionWindow
}\label{wxremotelyscrolledtreectrlsetcompanionwindow
}
126 \func{void
}{SetCompanionWindow
}{\param{wxWindow*
}{companion
}}
129 The companion window is one which will get notified when certain
130 events happen such as node expansion
133 \membersection{wxRemotelyScrolledTreeCtrl::SetScrollbars
}\label{wxremotelyscrolledtreectrlsetscrollbars
}
135 \func{void
}{SetScrollbars
}{\param{int
}{pixelsPerUnitX
},
\param{int
}{pixelsPerUnitY
},
\param{int
}{noUnitsX
},
\param{int
}{noUnitsY
},
\param{int
}{xPos =
0},
\param{int
}{yPos =
0},
\param{bool
}{noRefresh = FALSE
}}
138 Override this in case we're using the generic tree control.
139 Calls to this should disable the vertical scrollbar.
140 Number of pixels per user unit (
0 or -
1 for no scrollbar)
141 Length of virtual canvas in user units
142 Length of page in user units