How to get scrollbar size to reserve space in wxListCtrl?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
techtonik
In need of some credit
In need of some credit
Posts: 1
Joined: Thu Jun 26, 2008 11:41 am

How to get scrollbar size to reserve space in wxListCtrl?

Post by techtonik » Thu Jun 26, 2008 11:51 am

Is there any way to get the size of vertical scrollbar for wxListCtrl in case the one will appear? I need to reserve fixed space for it when defining columns.

Frank
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Jan 01, 2005 6:19 pm

Post by Frank » Thu Jun 26, 2008 12:14 pm

You can get the Value via wxSystemSettings::GetMetric().

See: http://docs.wxwidgets.org/stable/wx_wxs ... sgetmetric

Post Reply