Search found 32 matches

by Feneck91
Sun Oct 14, 2012 9:22 am
Forum: C++ Development
Topic: How to use wxHELP into wxMessageDialog ?
Replies: 2
Views: 1366

Re: How to use wxHELP into wxMessageDialog ?

Yes it's works fine !
Strange, one time only I saw the icon ? (ask) not as usually displayed by window (the old one) and after its works fine again...
This class is not documented, it' strange...

But it's works for the moment, thanks for your reply
by Feneck91
Sat Oct 13, 2012 7:41 am
Forum: C++ Development
Topic: How to use wxHELP into wxMessageDialog ?
Replies: 2
Views: 1366

How to use wxHELP into wxMessageDialog ?

Hello. I'm trying to add a new button into my message dialog. When deleting more than one item into my application, I'm trying to display to the user : "Would you like to delete Smith ?" -> YES / NO / ALL / CANCEL When clic on yes => ask for each element, When clic on no => ask for each el...
by Feneck91
Fri Oct 12, 2012 8:34 pm
Forum: General Development
Topic: Project for Windows.. ANSI or Unicode?
Replies: 5
Views: 3540

Re: Project for Windows.. ANSI or Unicode?

I use a database (wxSQlite3) + the lua engine under unicode version : no problem. The lua engine is embeded so I don't use the Lua print but my own logger. I can give you piece of code to embeded the lua engine into your project, get/set array (from/to variant), dynamically load an external dll (5.2...
by Feneck91
Fri Oct 12, 2012 8:19 pm
Forum: General Development
Topic: Anyone have done serious database project?
Replies: 5
Views: 3449

Re: Anyone have done serious database project?

I have a serious project with database managment. I use sqlite3 + wxSqlite3 + my own librairie (wxETKSQLite3) based on wxWidgets + wxSQlite3. All is open source. My last work was to make a workaroud wxSqlite3 to make my lib compatible with QT. With this lib I don't have to make my ow SQL request, th...
by Feneck91
Fri Oct 12, 2012 7:57 pm
Forum: General Development
Topic: TAB not works in wxAuiNotebook into WxWidgets 2.9.4
Replies: 0
Views: 1409

TAB not works in wxAuiNotebook into WxWidgets 2.9.4

I'm working on a personnal project developped since several month. Composed with wxAuiManager to have docked window and a wxAuiNotebook that contains pages. This software could be compiled on wxWidgets 2.8.x (2.8.12) and wxWidgets 2.9.x (2.9.4) with only some few conditionnal #if wxCHECK_VERSION(2,9...
by Feneck91
Tue Aug 02, 2011 3:46 pm
Forum: C++ Development
Topic: Use wxFileSystemWatcher to detect *finished* creation
Replies: 3
Views: 2332

Re: Use wxFileSystemWatcher to detect *finished* creation

It is done by:

Code: Select all

               if( !fileToTest.IsOpened())
                        {
                            bContinue = m_wxDir.GetNext(&strFilename);
                            continue;
                        }
So, no need to test, but the file must be locked by exclusive access.
by Feneck91
Tue Aug 02, 2011 5:06 am
Forum: C++ Development
Topic: Use wxFileSystemWatcher to detect *finished* creation
Replies: 3
Views: 2332

Re: Use wxFileSystemWatcher to detect *finished* creation

You can use this class, I use it in a project... Header #ifndef SERVER_FILE_NOTIFICATION_HEADER_H #define SERVER_FILE_NOTIFICATION_HEADER_H class CFileNotificationEvent; /** * Cette classe permet de notifier des éventuelles modifications d'un dossier. * Elle est créée par la classe gérant le thread ...
by Feneck91
Fri Jul 29, 2011 8:59 pm
Forum: C++ Development
Topic: Multilangual : how make wxPLURAL work ?
Replies: 5
Views: 2776

Re: Multilangual : how make wxPLURAL work ?

I have found the answers: I modify my code to work with wxWidgets 2.8.12 and 2.9.2. In 2.8.12 my application translate nothing! Why? I use my own lib names wxETK (wxWidgets Extension Toolkit) so I have created a class names wxETKApp. My application (TTGest) use wxETK but is splitted in two part : a ...
by Feneck91
Fri Jul 29, 2011 8:27 pm
Forum: C++ Development
Topic: Writing text in upper case in a wxTextCtrl
Replies: 15
Views: 7767

Re: Writing text in upper case in a wxTextCtrl

I think it can be used by wxWidgets users. Compatible with wxWidgets 2.8.x and 2.9.x. Can give min & max string length, set to uppercase, force not to be empty (field mandatory), set colors for mandatory and error control. Header //////////////////////////////////////////////////////////////////...
by Feneck91
Fri Jul 29, 2011 7:46 am
Forum: C++ Development
Topic: Writing text in upper case in a wxTextCtrl
Replies: 15
Views: 7767

Re: Writing text in upper case in a wxTextCtrl

Other way very simple : void MyClass::BuildContent(wxWindow* _pParent) { ... .. init code (for me it is with xrc) .. ... m_pTextCtrl->Connect(XRCID("idMyCtrlEdit"), wxEVT_COMMAND_TEXT_UPDATED, (wxObjectEventFunction) &MyClass::OnCommandUpdate); } void MyClass::OnKeyDownToUpper(wxComman...
by Feneck91
Fri Jul 29, 2011 5:35 am
Forum: Compiler / Linking / IDE Related
Topic: [2.9.1] Compiling wxWidgets-2.9.1 with MinGW [Error 1]
Replies: 26
Views: 10376

Re: [2.9.1] Compiling wxWidgets-2.9.1 with MinGW [Error 1]

You can build wxWidgets as monolitic with : (just define set WX_WIDGETS_VENDOR_NAME=<all you want> if you want to set vendor name) mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=debug VENDOR=%WX_WIDGETS_VENDOR_NAME% USE_XRC=1 clean mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED...
by Feneck91
Thu Jul 28, 2011 4:28 am
Forum: C++ Development
Topic: Multilangual : how make wxPLURAL work ?
Replies: 5
Views: 2776

Re: Multilangual : how make wxPLURAL work ?

It is explain in "1.2" of my first message. 1.2> In Catalog/Setttings/Keywords : poEdit will not able to find macro wxPLURAL, so we need add it, but if add it only, it will not able to find _. So add "_" AND "wxPLURAL:1,2" (without quote). For this message: if 0 it is n...
by Feneck91
Wed Jul 27, 2011 6:13 pm
Forum: C++ Development
Topic: Multilangual : how make wxPLURAL work ?
Replies: 5
Views: 2776

Re: Multilangual : how make wxPLURAL work ?

Code: Select all

wxLogMessage(_("%d car"),0);
wxLogMessage(_("%d cars"),8);
Not work too: string that are translated with plural cannot be used to translated: all stay in english.
Is it a wxWidgets problem or a poEdit one ? I hace download the latest poedit software.
by Feneck91
Wed Jul 27, 2011 6:21 am
Forum: C++ Development
Topic: Multilangual : how make wxPLURAL work ?
Replies: 5
Views: 2776

Multilangual : how make wxPLURAL work ?

I'm translating my application and want to make wxPLURAL macro work. Looking for informations on internet, but not really find how wxPLURAL work. Using wxWidgets 2.9.2 / Windows Vista / MinGW / Code::Blocks. 1> Configuring poEdit : 1.1> In Catalog/Setttings/Plural forms : set "nplurals=2; plura...
by Feneck91
Sun Jul 24, 2011 1:46 pm
Forum: C++ Development
Topic: Add a menu check to an image
Replies: 3
Views: 1556

Add a menu check to an image

I succeeded but erase the source code, the check I could create is not the same as other menu check. Is someone know how to draw a check with exactly the same way as wxWidgets do, to be able to have the same check as other menu item, for all plateforms ? If I draw a check with the same look as my pl...