Search found 67 matches

by Morfio
Thu Nov 29, 2018 9:57 am
Forum: C++ Development
Topic: wxExecute in command line program: async not working
Replies: 1
Views: 149

wxExecute in command line program: async not working

Hi, wxExecute with wxEXEC_ASYNC flag works perfectly in a gui driven program. If I use it in a command line program, it always switches to sync mode. Is it possible to start processes with wxExecute in async mode in command line programs or is there another command that works in this way? Thank you ...
by Morfio
Wed Apr 01, 2015 2:11 pm
Forum: C++ Development
Topic: wxHtmlPrintout::GetMaxPage() returns always 1
Replies: 1
Views: 467

Re: wxHtmlPrintout::GetMaxPage() returns always 1

If I use GetMaxPage() in an event it works perfectly. It seems, that wxPrintout calculates its sizes after first showing the frame.
by Morfio
Wed Apr 01, 2015 10:04 am
Forum: C++ Development
Topic: wxHtmlPrintout::GetMaxPage() returns always 1
Replies: 1
Views: 467

wxHtmlPrintout::GetMaxPage() returns always 1

Hello, I've got the problem, that in wxWidgets 3.x wxHtmlPrintout::GetMaxPages() always returns one Page, even if the document has more. What am I doing wrong? #include <wx/wx.h> #include <wx/html/htmprint.h> class MyApp : public wxApp { public: bool OnInit(); }; class MyFrame : public wxFrame { pub...
by Morfio
Wed Jan 21, 2009 10:26 am
Forum: C++ Development
Topic: Localize application - wxLocale in every Frame and Dialog
Replies: 3
Views: 638

Localize application - wxLocale in every Frame and Dialog

Hi, I want to translate my application. I thought I use wxLocale and add my catalog. In the main dialog it works perfectly, but in the children of the dialog all strings are in default english. Have I to add wxLocale (and the catalogs) to every subwindow in my program or is it possible to do this in...
by Morfio
Fri Jun 15, 2007 9:09 am
Forum: Component Writing
Topic: Plattform independent pdf viewer component
Replies: 2
Views: 1170

tan wrote:Hi,
i know about wxPdfDoc http://wxcode.sourceforge.net/components/wxpdfdoc,
but IMHO it doesn't support wxMAC.
It does, works fine. But it only generates pdf files. I need a component to view them.
by Morfio
Fri Jun 15, 2007 6:44 am
Forum: Component Writing
Topic: Plattform independent pdf viewer component
Replies: 2
Views: 1170

Plattform independent pdf viewer component

Hello,

is there any plattform independent pdf viewer component for wxWidgets? In the internet I had not found any solution.

Thank you, Morfio ...
by Morfio
Fri Apr 13, 2007 10:23 am
Forum: C++ Development
Topic: Problems scaling on printing
Replies: 2
Views: 534

Now I realized that the only problem are the fonts. They are not scaled well. Is there any possibility to scale the fonts to the right size?
by Morfio
Fri Apr 13, 2007 9:48 am
Forum: C++ Development
Topic: Problems scaling on printing
Replies: 2
Views: 534

It seems that the printout is correct, the pixels are at the right position. The preview is wrong...
by Morfio
Fri Apr 13, 2007 7:18 am
Forum: C++ Development
Topic: Problems scaling on printing
Replies: 2
Views: 534

Problems scaling on printing

Hi, I've got some little problems by scaling my printouts. As you can see in the attachment, my print preview is correct, but the printout is not. On printing I use this code for scaling: void LRmlDrucken::skalieren(wxDC *dc) { // Scaling - Quelle: Buch - Cross-Platform GUI Programming with wxWidget...
by Morfio
Sat Feb 10, 2007 5:31 pm
Forum: Platform Related Issues
Topic: Application is crashing on Windows XP Home
Replies: 2
Views: 626

I'm sorry. The crashes are the results of a hardware defect of my notebook. On other machines my software works perfectly with windows, now I've many bluescreens on my notebook.

Thank you all, Morfio ...
by Morfio
Wed Feb 07, 2007 6:24 pm
Forum: Platform Related Issues
Topic: Application is crashing on Windows XP Home
Replies: 2
Views: 626

Application is crashing on Windows XP Home

Hi, I've created an application which works fine under Linux, Mac OS X and sometimes on Windows XP Home (German Edition, SP4). If I start the Application on the console with "..\..\..\build\crm.exe" it works fine. Also if I start it by double clicking the crm.exe file in the Explorer. Now, if I move...
by Morfio
Thu Aug 24, 2006 8:18 pm
Forum: wx.NET
Topic: Mac OS X and rezflags to focus Windows
Replies: 0
Views: 2609

Mac OS X and rezflags to focus Windows

Hi,

if I start an example program which is not a package (.app) with

mono file.exe

I can't focus the program. Under wxWidgets I just use `wx-config --rezflags` binary. How can I do so under wx.NET?

Thank you,

Morfio ...
by Morfio
Tue Jun 20, 2006 12:01 pm
Forum: C++ Development
Topic: wxScrolledWindow - Scrollbars don't appear automatically
Replies: 4
Views: 804

I got it: I wrote an event, that recalcs the sizer, this seems (under Mac OS X) to work:

Code: Select all

void CSelektionen::refresh(wxScrollWinEvent &event) {
        fgsDaten->Layout();
        fgsDaten->RecalcSizes();
        fgsDaten->FitInside(this);
        Refresh();
        event.Skip();
}
by Morfio
Tue Jun 20, 2006 11:46 am
Forum: C++ Development
Topic: wxScrolledWindow - Scrollbars don't appear automatically
Replies: 4
Views: 804

Now it works. I called after adding such a row always Layout in the main sizer. Without Layout() it works.

But there is now an other problem. If I scroll, the lines in the FlexGridSizers are displaced. Is there any possibility to avoid this problem?
by Morfio
Tue Jun 20, 2006 10:40 am
Forum: C++ Development
Topic: wxScrolledWindow - Scrollbars don't appear automatically
Replies: 4
Views: 804

Hi,

I found out now, that the problem only exists if CSelektionen was added to a sizer in the Frame. Can't I use ScrolledWindows in Sizers?

Thx, Morfio ...