Page 1 of 1

wxTextCtrl with windows xp style

Posted: Thu Mar 19, 2009 3:50 pm
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)

Posted: Mon Mar 23, 2009 10:16 am
by MuhammadSohail
How can i force the wxwindows to dont show the horizontal scrollbar ??

Posted: Mon Mar 23, 2009 10:21 am
by MuhammadSohail
Is there any function in wxWindows to hide the scrollbar or dont show the scrollbar??

Posted: Mon Mar 23, 2009 11:04 am
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.