In other programs (Gaim, Psi), I see that when I resize a window with a textctrl, long labels are shortened and displayed truncated with an elipsis (...) at the end.
How can I achieve a similar effect with wxWidgets' wxTreeCtrl.
Dynamically resizing wxTreeCtrl label lengths Topic is solved
-
- Experienced Solver
- Posts: 75
- Joined: Tue Aug 23, 2005 3:47 am
-
- Experienced Solver
- Posts: 75
- Joined: Tue Aug 23, 2005 3:47 am
-
- Earned some good credits
- Posts: 120
- Joined: Sun Aug 29, 2004 3:09 pm
- Location: Grenoble, France
- Contact:
You can retrieve the item rectangle (including position) with wxTreeCtrl::GetBoundingRect [1].
[1] : http://www.wxwidgets.org/manuals/2.6.3/ ... etitemrect
[1] : http://www.wxwidgets.org/manuals/2.6.3/ ... etitemrect
What is little and green, witch go up and down ??
Yoda playing with the force.
Yoda playing with the force.