wxTextCtrl Topic is solved

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
Progger
Earned a small fee
Earned a small fee
Posts: 15
Joined: Tue Dec 23, 2008 5:42 pm

wxTextCtrl

Post by Progger » Thu Mar 05, 2009 9:50 pm

Hi,
I'm looking for an option to paint the whole line of a wxTextCtrl into some backgrond colour. Is this possible at all?
I haven't found this feature in the manual: http://docs.wxwidgets.org/stable/wx_wxt ... wxtextctrl

cu

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Thu Mar 05, 2009 11:01 pm

I don't think it's possible with a regular text control; what precisely are you trying to achieve? If it's some kind of code editor, wxSTC or wxScintilla would do better

bigpilot
I live to help wx-kind
I live to help wx-kind
Posts: 168
Joined: Tue Sep 19, 2006 8:33 am

Post by bigpilot » Fri Mar 06, 2009 9:55 am

I agree with Auria. You need a wxRichTextControl or wxSTC.
Soon to be world famous ;)

Progger
Earned a small fee
Earned a small fee
Posts: 15
Joined: Tue Dec 23, 2008 5:42 pm

Post by Progger » Fri Mar 06, 2009 1:21 pm

Thanks a lot!
I'll try it out :wink:

computerquip
Experienced Solver
Experienced Solver
Posts: 72
Joined: Fri Feb 20, 2009 7:13 pm
Location: $(#wx)\src

Post by computerquip » Fri Mar 06, 2009 2:29 pm

>.> The point of the acceptance system is to give the Accepted answer the status of Accepted Answer. Not to yourself! (lmfao)

Post Reply