Search found 25 matches

by ddv
Mon Jul 09, 2012 3:27 pm
Forum: Announcements and Discoveries
Topic: [TUTORIAL]Getting Aquainted with Document/View Framework
Replies: 5
Views: 8026

Re: [TUTORIAL]Getting Aquainted with Document/View Framework

Can someone update the links, I get a "The domain name does not exist" error!
by ddv
Mon Sep 20, 2010 11:57 am
Forum: C++ Development
Topic: wx 2.9.1 - I do not understand the event posting anymore
Replies: 9
Views: 1313

OK. Thanks to both of you.

I will use:

some_window_pointer->GetEventHandler()->QueueEvent()

and will use a secured Clone function (I have my own custom event class).
by ddv
Fri Sep 17, 2010 8:58 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.8.11 & 2.9.1 compiling error
Replies: 2
Views: 1460

From what I know, 2.9.1 cannot be compiled with MONOLITHIC=1.
About 2.8.11, I had no problem to build it, but I used MONOLITHIC=0...
by ddv
Fri Sep 17, 2010 8:51 am
Forum: C++ Development
Topic: wx 2.9.1 - I do not understand the event posting anymore
Replies: 9
Views: 1313

You should always use QueueEvent methods within secondary threads IMHO. Why don't you just create your evt object on heap? QueueEvent, when used in wxWindow, is a protected method. From the doc, and from your response, I read that wxTheApp->QueueEvent is (must be ?) used. It seems strange to have o...
by ddv
Thu Sep 16, 2010 4:40 pm
Forum: C++ Development
Topic: wx 2.9.1 - I do not understand the event posting anymore
Replies: 9
Views: 1313

wx 2.9.1 - I do not understand the event posting anymore

Hi all! I am currently testing a freshly built wxwidgets 2.9.1 and I do not understand the documentation concerning the events must be posted. Until now, when I have a worker thread that post events to the main gui, for example a image loader thread that send the loaded image filename, I used: void ...
by ddv
Tue Jan 15, 2008 12:44 pm
Forum: C++ Development
Topic: Status bar in a dialog.
Replies: 3
Views: 705

I do not see what is the problem.

Just add a wxStatusBar in your dialog. Of course you must make the status bar stay at the bottom: for example you just need another control or sizer that use the proportion = 1.
by ddv
Wed Jan 09, 2008 9:45 am
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 37
Views: 27840

For internal development documentation, my company use internal wiki, which is not really great to read :? but is easy to write on and supports versioning. Also, doxygen comments are included in the code. wxWidgets GUI: XRC is generated with XRCed with the including of "unknown" controls linked to o...
by ddv
Tue Jan 08, 2008 1:00 pm
Forum: C++ Development
Topic: wxListCtrl report style - how to fill all columns in row?
Replies: 4
Views: 795

Sorry I misunderstood your problem.

You make first a InsertItem to fill the 1st column. InsertItem then returns the index of the new item.
For each next column, you use wxListCtrl::SetItem

long idx = myList->InsertItem(0, "Text1");
myList->SetItem(idx, 1, "Text2");
myList->SetItem(idx, 2, "Text3");
by ddv
Tue Jan 08, 2008 12:44 pm
Forum: Announcements and Discoveries
Topic: Job opportunity - wxWidgets - France
Replies: 0
Views: 548

Job opportunity - wxWidgets - France

Hello, I post this here since a wxWidgets-related job opportunity is quite rare: My company is looking for an employee: We need a C++/wxWidgets (also wxPython would be great) engineer as soon as possible. The Job is located in Paris, France, so you must speak French, but you do not need to speak per...
by ddv
Tue Jan 08, 2008 11:22 am
Forum: C++ Development
Topic: wxListCtrl report style - how to fill all columns in row?
Replies: 4
Views: 795

There is no predefined method for this. Why not write a method in a wxListItem or wxListCtrl inherited class that takes a single string as parameter that accepts the separator '\t' (for example). You just have to parse the string. Ex: (MyListCtrl*)listaList->InsertItems(0, "Text1\tText2\tText3\tText...
by ddv
Tue Jan 08, 2008 10:46 am
Forum: General Forum Issues
Topic: Job opportunities
Replies: 2
Views: 1039

Job opportunities

Hello

Is it possible to post job opportunities related to wxwidgets somewhere in the forum ?
by ddv
Mon Jun 25, 2007 12:14 pm
Forum: C++ Development
Topic: Validator for wxListCtrl
Replies: 0
Views: 238

Validator for wxListCtrl

Hello all wxMen and wxMomen 8) I want to allow only some characters when I edit the labels in my list ctrl (with wxLC_EDITLABELS style). It is easy to do this in text ctrl with wxTextvalidator, but how I am supposed to write a validator for the text ctrl included in the list ctrl ? I try deriving fr...
by ddv
Thu Apr 12, 2007 4:30 pm
Forum: C++ Development
Topic: wxListCtrl, setting state
Replies: 3
Views: 498

You should post the code you use and identify your wxwidgets version and your platform.

I have tested on a virtual list with the same flags and all works.
by ddv
Thu Apr 12, 2007 2:56 pm
Forum: C++ Development
Topic: wxGrid and wxGridCellChoiceEditor and Enter key
Replies: 0
Views: 351

wxGrid and wxGridCellChoiceEditor and Enter key

Hello, I know this was (little) discussed but I still don't know the full way (without changing the wxWidgets sources) to have a working editable wxGrid. With a wxGridCellChoiceEditor, the only key that make a EVT_GRID_CELL_CHANGE event is the TAB. If I type some text in the combo and I press Enter,...