Search found 867 matches

by eranon
Thu May 24, 2012 11:13 am
Forum: C++ Development
Topic: What about wxPATH_RMDIR_RECURSIVE for wxFileName::Rmdir ?
Replies: 2
Views: 732

What about wxPATH_RMDIR_RECURSIVE for wxFileName::Rmdir ?

Hi. Does the wxFileName::Rmdir() static function deletes directory's content (and, better, recursively) ? I'm reading there's a flag called wxPATH_RMDIR_RECURSIVE here : http://trac.wxwidgets.org/ticket/10422, but it doesn't appear in the wxWidgets 2.8.12's CHM documentation.
by eranon
Tue May 22, 2012 5:56 pm
Forum: C++ Development
Topic: What's the earliest wxWindow event (or events sequence) ?
Replies: 0
Views: 456

What's the earliest wxWindow event (or events sequence) ?

Hello. I've to compute some infos to put in status-bar, the earliest as possible, when frame of the app is displayed for the first time. So, I've taken a look at events list shown by wxSmith, but don't find the right one to use. I've tried on EVT_SIZE, but it sounds like frame is not displayed when ...
by eranon
Mon May 21, 2012 5:59 pm
Forum: C++ Development
Topic: Text orientation in wxRichTextCtrl ?
Replies: 0
Views: 422

Text orientation in wxRichTextCtrl ?

Maybe a strange quesion/approach, but is there a way (do you know one) to write text in a wxRichTextCtrl with a certain angle. I mean something like TextOut() under Windows, using a prepared LOGFONT with an escapement/orientation, but keeping the word processing features (ie. text must not becomes a...
by eranon
Mon May 21, 2012 4:52 pm
Forum: C++ Development
Topic: How to change entire text color of a wxRichTextCtrl ?
Replies: 6
Views: 1370

Re: How to change entire text color of a wxRichTextCtrl ?

Yes, thanks, Manolo, but this sample doesn't really match my case, since I don't need to manage any local attributs, but only on whole control's text. However, as said above, it's now solved using SetBasicStyle().
by eranon
Mon May 21, 2012 3:35 pm
Forum: C++ Development
Topic: How to change entire text color of a wxRichTextCtrl ?
Replies: 6
Views: 1370

Re: How to change entire text color of a wxRichTextCtrl ?

Thanks doublemax, but I've found an easy way here : http://forums.wxwidgets.org/viewtopic.php?t=25822&p=110482, using SetBasicStyle() which, as the doc says : "Sets the basic (overall) style. This is the style of the whole buffer before further styles are applied, unlike the default style, which onl...
by eranon
Mon May 21, 2012 2:58 pm
Forum: C++ Development
Topic: How to change entire text color of a wxRichTextCtrl ?
Replies: 6
Views: 1370

Re: How to change entire text color of a wxRichTextCtrl ?

Effectively (oops), but it doesn't seems to work (text color doesn't change)

Code: Select all

pRT->SetForegroundColour(wxColour(*wxRED));
"pRT" being a ptr to my instance of wxRichTextCtrl.
by eranon
Mon May 21, 2012 1:22 pm
Forum: C++ Development
Topic: How to change entire text color of a wxRichTextCtrl ?
Replies: 6
Views: 1370

How to change entire text color of a wxRichTextCtrl ?

Hello. I'm turning around the wxRichTextCtrl class and don't succeed to figure out how to change the entire text color (I mean all actually written text and subsequent one). Don't know if I should go through manipulation of the control buffer acquired from GetBuffer(), through BeginTextColour/EndTex...
by eranon
Thu May 17, 2012 11:38 pm
Forum: C++ Development
Topic: wxDba compile or another suggestion
Replies: 5
Views: 1476

Re: wxDba compile or another suggestion

Oops, effectively :? Sorry, I didn't read slow enough. Good luck
by eranon
Thu May 17, 2012 9:10 am
Forum: C++ Development
Topic: wxDba compile or another suggestion
Replies: 5
Views: 1476

Re: wxDba compile or another suggestion

Hi. Never used in the framework of a wxWidgets projects (I'm new w/ wxWidgets), but maybe wxSQLite 8)
by eranon
Thu May 17, 2012 12:29 am
Forum: C++ Development
Topic: What about wxWidgets and XML parsing ?
Replies: 0
Views: 671

What about wxWidgets and XML parsing ?

Hello. Does wxWidgets enough to parse XML ? For my current project, I mean searching for a specific node(s) and read value of attribut(s) or content in some pure XML files, and be able to add/delete node(s) in XHTML DOM. Also (but I could do without if it's the only reason to add a lib), display all...
by eranon
Mon May 14, 2012 5:44 pm
Forum: C++ Development
Topic: How to do wxRichTextCtrl with background image as filigree ?
Replies: 3
Views: 992

Re: How to do wxRichTextCtrl with background image as filigr

Oh ! OK, thanks catalin. Well, description of the wxRichTextCtrl::PaintBackground(wxDC& dc) function is quite short. It just says : "Paints the background". So, I imagine that I need to override this method to apply image drawing at every background paint event. Is it the right way ? -- EDIT : OK, I...
by eranon
Mon May 14, 2012 12:23 am
Forum: C++ Development
Topic: How to do wxRichTextCtrl with background image as filigree ?
Replies: 3
Views: 992

How to do wxRichTextCtrl with background image as filigree ?

Hello. I'm starting with wxWidgets since some days. I would like to manage a wxRichTextCtrl with a background image and text on a layer above. Something like what we call a filigree (and ideally, with possibility to increase or decrease transparency to see more or less the background image behind th...