Classes | |
class | wxScrolled< T > |
The wxScrolled class manages scrolling for its client area, transforming the coordinates according to the scrollbar positions, and setting the scroll positions, thumb sizes and ranges according to the area in view. More... | |
Typedefs | |
typedef wxScrolled< wxPanel > | wxScrolledWindow |
Scrolled window derived from wxPanel. More... | |
typedef wxScrolled< wxWindow > | wxScrolledCanvas |
Alias for wxScrolled<wxWindow>. More... | |
Enumerations | |
enum | wxScrollbarVisibility { wxSHOW_SB_NEVER = -1 , wxSHOW_SB_DEFAULT , wxSHOW_SB_ALWAYS } |
Possible values for the second argument of wxScrolled::ShowScrollbars(). More... | |
Functions | |
bool | wxCreateScrolled (T *self, wxWindow *parent, wxWindowID winid, const wxPoint &pos, const wxSize &size, long style, const wxString &name) |
Helper function which is called from wxScrolled::Create() to actually create a scrolled window. More... | |
Possible values for the second argument of wxScrolled::ShowScrollbars().
Enumerator | |
---|---|
wxSHOW_SB_NEVER | Never show the scrollbar at all. |
wxSHOW_SB_DEFAULT | Show scrollbar only if it is needed. |
wxSHOW_SB_ALWAYS | Always show scrollbar, even if not needed. |
bool wxCreateScrolled | ( | T * | self, |
wxWindow * | parent, | ||
wxWindowID | winid, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
long | style, | ||
const wxString & | name | ||
) |
Helper function which is called from wxScrolled::Create() to actually create a scrolled window.
By default it just passes the call to the base class Create():
You should provide overloaded implementation of this function for the custom base class if this class is created in a different manner, like it is e.g. done for wxControl: