Search found 1193 matches

by T-Rex
Mon Feb 07, 2005 12:19 am
Forum: C++ Development
Topic: Frame Problems.
Replies: 6
Views: 2138

#1 I can't offer an elegant way to do this using standard controls, but there is a Floating Libray included in wxWidgets distro. It can help you to do what you want (look at the FL sample, included in wx distro) #2 Notebook in the panel #include <wx/wx.h> #include <wx/notebook.h> class MyApp : publi...
by T-Rex
Sun Feb 06, 2005 12:30 pm
Forum: C++ Development
Topic: Frame Problems.
Replies: 6
Views: 2138

Could you upload your project somewhere or post the basic part of your code (Main frame, notebook and panels creation)

besides, the same code works differenly when compiled by Dev-CPP and VC2002/2003 (i really don't know why)
by T-Rex
Sat Feb 05, 2005 8:28 pm
Forum: General Development
Topic: Will wxWidgets support Firefox Broswer?
Replies: 10
Views: 2140

There were some problems with wxMozilla (some code changes needed)
and it doesn't support cookies (application crashes if web-site uses cookies)
There was a topic on this forum about wxMozilla
by T-Rex
Sat Feb 05, 2005 6:15 pm
Forum: C++ Development
Topic: wxString.ToDouble precision ?
Replies: 1
Views: 685

wxString str = "123.4567891234567"; double dbl; str.ToDouble(&dbl); wxMessageBox(wxString::Format("%1.13f",dbl)); ToDouble function works fine. Look into the source, ToDouble function calls wxStrtod function which directly converts all the string. Try to specify the precision by hands e.g. "%1.13f"
by T-Rex
Sat Feb 05, 2005 11:41 am
Forum: C++ Development
Topic: [winXP] wxFileConfig's saved elsewhere!
Replies: 2
Views: 940

Code: Select all

wxFileName fname(wxGetApp().argv[0]);
wxString cfgPath = fname.GetPath(wxPATH_GET_VOLUME)+"/MyFile.cfg";
wxFileConfig cfg("Global","",cfgPath,wxEmptyString,wxCONFIG_USE_LOCAL_FILE);
by T-Rex
Sat Feb 05, 2005 1:31 am
Forum: C++ Development
Topic: Problem with wxHtmlWindow
Replies: 6
Views: 1802

#include <wx/wx.h> #include <wx/url.h> #include <wx/file.h> #include <wx/wfstream.h> #include <wx/html/htmlwin.h> class MyApp : public wxApp { public: virtual bool OnInit(); }; IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { wxFrame * frame = new wxFrame(NULL, -1, "Test"); wxBoxSizer * sizer = new wxBo...
by T-Rex
Fri Feb 04, 2005 9:25 pm
Forum: C++ Development
Topic: Problem with wxHtmlWindow
Replies: 6
Views: 1802

I've found a description of this function in documentation... wxHtmlWindow::LoadPage virtual bool LoadPage(const wxString& location) Unlike SetPage this function first loads HTML page from location and then displays it. See example: htmlwin->LoadPage("help/myproject/index.htm"); Parameters location ...
by T-Rex
Fri Feb 04, 2005 4:21 pm
Forum: C++ Development
Topic: Problem with wxHtmlWindow
Replies: 6
Views: 1802

#include <wx/wx.h> #include <wx/html/htmlwin.h> class MyApp : public wxApp { public: virtual bool OnInit(); }; IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { wxFrame * frame = new wxFrame(NULL, -1, "Test"); wxBoxSizer * sizer = new wxBoxSizer(wxVERTICAL); wxHtmlWindow * htmlwin = new wxHtmlWindow(fram...
by T-Rex
Wed Feb 02, 2005 10:37 am
Forum: C++ Development
Topic: [solved] Repainting / Updating a frame during a lengthy loop
Replies: 5
Views: 1215

Try to use wxProgressDialog. This class provides the same functionality. And this dialog runs in the separate thread
by T-Rex
Sat Jan 29, 2005 6:28 pm
Forum: C++ Development
Topic: Change menuentry when closing a panel from the FrameLibrary
Replies: 2
Views: 1073

I hope, it will help. #include <wx/wx.h> #include <wx/mdi.h> // fl headers #include "wx/fl/controlbar.h" // core API // extra plugins #include "wx/fl/barhintspl.h" // bevel for bars with "X"s and grooves #include "wx/fl/cbcustom.h" // customization plugin #include "wx/fl/hintanimpl.h" // beauty-care...
by T-Rex
Thu Jan 27, 2005 10:09 pm
Forum: C++ Development
Topic: int to wxString
Replies: 4
Views: 1055

wxString MyString = wxString::Format("%i", MyInt);
by T-Rex
Thu Jan 27, 2005 10:05 pm
Forum: Announcements and Discoveries
Topic: wxPgSql
Replies: 17
Views: 4898

I can see only your ICQ number. (look to the bottom of your posts) 8)
by T-Rex
Thu Jan 27, 2005 5:52 pm
Forum: Announcements and Discoveries
Topic: wxPgSql
Replies: 17
Views: 4898

Respect, man! I'm from Zaporizhzhya, Ukraine.
Add e-mail address to your profile and then I'll send it.
PgSql - is it Postgre SQL (and I'd like to know, can I use this SQL server under Win32, or is it only a client part).
by T-Rex
Wed Jan 26, 2005 10:20 pm
Forum: Announcements and Discoveries
Topic: wxPgSql
Replies: 17
Views: 4898

Чел, я тут начал писать фрэймворк для MySQL. Могу поделиться.
(а ты откуда вобще)
by T-Rex
Wed Jan 26, 2005 11:33 am
Forum: Compiler / Linking / IDE Related
Topic: VC 6.00
Replies: 3
Views: 1338

yes, it works fine under Win98 and WinXP (VC6.00, VC7.00, VC7.10)