wxTextCtrl with windows xp style

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
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

wxTextCtrl with windows xp style

Post by MuhammadSohail »

Multi-line text controls support the styles, i.e. provide a possibility to set colours and font for individual characters in it (note that under Windows wxTE_RICH style is required for style support).

I used the text ctrl with size wxSize(495, 20) and the following style wxTE_LEFT|wxTE_MULTILINE |wxTE_RICH |wxTE_DONTWRAP to read the single line text(long text) from the config file.

Before reading the config file, I change the desktop style to windows xp style.wxTextCtrl displays only the horizontal scroll bar instead of text

currently my wx version is wx_2.8.8

The same code is properly working with the previous version wx_2.8.0

Is this a wxWidget bug ????
I dont want to show the horizontal bar for the long text (greater than the wxTextCtrl size)
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Post by MuhammadSohail »

How can i force the wxwindows to dont show the horizontal scrollbar ??
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Post by MuhammadSohail »

Is there any function in wxWindows to hide the scrollbar or dont show the scrollbar??
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Post by MuhammadSohail »

the wxTextCtrl style wxTE_LEFT|wxTE_MULTILINE |wxTE_RICH |wxTE_DONTWRAP shows the horizontal bar, I dont want it , is there any way to supress the horizonntal bar or dont show the horizontal bar?

any hint would be helpful.
Post Reply