Search found 24 matches

by Frantisek_Sidak
Wed Dec 07, 2005 8:55 am
Forum: C++ Development
Topic: MDI and portability
Replies: 4
Views: 1592

Ok, thanks for informations. And if I will use wxDocMDIParentFrame and wxDocMDIChildFrame (few docs should be opened)? Is this right choise? Is it native staff?
by Frantisek_Sidak
Tue Dec 06, 2005 2:43 pm
Forum: C++ Development
Topic: MDI and portability
Replies: 4
Views: 1592

MDI and portability

Hi,
I have found many threads with MDI problems. Is MDI good choise for portable application?

Thanks, Fanda
by Frantisek_Sidak
Mon Nov 28, 2005 10:32 am
Forum: Compiler / Linking / IDE Related
Topic: BEGIN_EVENT_TABLE error
Replies: 9
Views: 5005

Solved

It is running now. I think the headers was in bad place :( (beginner) ;)
Your advices will be useful, thaks ;)
by Frantisek_Sidak
Fri Nov 25, 2005 10:25 am
Forum: Compiler / Linking / IDE Related
Topic: How to use precompiled headers with MinGW?
Replies: 23
Views: 59205

It works!

I made these changes too and it works! Thank you mens for your advices! (from 64 to 29 sec). I've followed all the instructions in the wiki, but it still doesn't shorten my compiling time. I have diferent complier arguments, as described before. Maybe it is the reason. My last question is: In whitch...
by Frantisek_Sidak
Sat Nov 19, 2005 9:18 pm
Forum: C++ Development
Topic: which database to a program ?
Replies: 19
Views: 5297

And in network

Will be sqlite also good enough in work with database in the network. Where si the time to choose client/server solution? I need up to 15 users to work with client program.
Thanks. :D
by Frantisek_Sidak
Wed Nov 09, 2005 2:44 pm
Forum: C++ Development
Topic: Program structure
Replies: 5
Views: 2175

Ok: NaviTree.cpp ========= Window (wxScrolledWindow) wxTreectrl navigation items DataWindow1.cpp ====== Window (wxScrolledWindow) some controls... DataWindow2.cpp ====== Window (wxScrolledWindow) some controls..., etc. MainWin.cpp ========= MainWindow (wxWindow) MainSpliter (wxSpliter) NaviTree (lef...
by Frantisek_Sidak
Mon Nov 07, 2005 12:17 pm
Forum: C++ Development
Topic: Program structure
Replies: 5
Views: 2175

Not about layout

My problem is not make layout, but where to put event table and functions to replace right window content...
by Frantisek_Sidak
Mon Nov 07, 2005 12:09 pm
Forum: C++ Development
Topic: Program structure
Replies: 5
Views: 2175

Program structure

Hi, please, how should I structure the C++ program, if there is one main window (with menu etc.) which is splited on 2 windows. Left - navigation window is wxTreectrl, right is dynamic. I don't know, where should I do the navi-tree event table and how to change the right windows content. Thank you f...
by Frantisek_Sidak
Thu Nov 03, 2005 1:57 pm
Forum: General Development
Topic: IBPP and wxWidgets
Replies: 0
Views: 1007

IBPP and wxWidgets

Hi,
please, is any way to make event when the connection to firebird server is terminated? I'm using IBPP library and can't find any way.

Thanks
by Frantisek_Sidak
Sun Sep 11, 2005 7:46 am
Forum: Compiler / Linking / IDE Related
Topic: BEGIN_EVENT_TABLE error
Replies: 9
Views: 5005

Error goes in LoginDialog.cpp, line 4 (BEGIN_EVENT....) MainWindow.h: #ifndef MAINWINDOW_H #define MAINWINDOW_H //precompiled headers #include <wx/wxprec.h> #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include <wx/wx.h> #endif //includes #include <wx/config.h> #include <wx/splitter...
by Frantisek_Sidak
Thu Sep 08, 2005 7:59 pm
Forum: Compiler / Linking / IDE Related
Topic: BEGIN_EVENT_TABLE error
Replies: 9
Views: 5005

main window:

Code: Select all

BEGIN_EVENT_TABLE(MainWindow, wxFrame)
    EVT_MENU(MenuFileItemLogin, MainWindow::OnLogin)
END_EVENT_TABLE()
dialog:

Code: Select all

BEGIN_EVENT_TABLE(LoginDialog, wxDialog)
    EVT_BUTTON(IDCancel, LoginDialog::ButtonCancelClick)
END_EVENT_TABLE()
by Frantisek_Sidak
Thu Sep 08, 2005 7:05 pm
Forum: Compiler / Linking / IDE Related
Topic: BEGIN_EVENT_TABLE error
Replies: 9
Views: 5005

BEGIN_EVENT_TABLE error

Please, I can't find where is the problem. I have main window which opens modal dialog. Both windows has its own event table, but in modal dialog I get an error on BEGIN_EVENT_TABLE() line. DECLARE_EVENT_TABLE() is set in both header files. Error is this: `wxEventTable' does not name a type Where ca...
by Frantisek_Sidak
Thu Aug 25, 2005 4:08 pm
Forum: C++ Development
Topic: Restore from maximize
Replies: 9
Views: 3097

Yes, 2nd way works well. ;) Hide() realy have to be called after Maximize(false), so it has no big efect - window restoring is visible for user. So, I choose to not saving size/position on quit from maximized window, because the program will be propably running most of the time as maximized window. ...
by Frantisek_Sidak
Thu Aug 25, 2005 12:40 pm
Forum: C++ Development
Topic: Restore from maximize
Replies: 9
Views: 3097

Sorry, but I was trying 1st way: BEGIN_EVENT_TABLE(MainWindow, wxFrame) EVT_MAXIMIZE(MainWindow::OnMaximize) END_EVENT_TABLE() void MainWindow::OnMaximize(wxMaximizeEvent&) { wxMessageBox(_T("maximize test")); } and messagebox pops up only on maximize, not on restore. Do I uderstand yo...
by Frantisek_Sidak
Thu Aug 25, 2005 10:11 am
Forum: C++ Development
Topic: Restore from maximize
Replies: 9
Views: 3097

I want to save size/position of wxFrame, before its maximalization, to config. If program is restarted it should be opened in the same size/position as in the last session. When I close it (saving on close) not maximized, it is ok, but if I close it maximized, it saves max window size, not size befo...