Search found 204 matches

by papayrus
Fri Mar 08, 2013 9:37 am
Forum: C++ Development
Topic: How to convert wxwidgets project from 2.8 to 2.9.4?
Replies: 3
Views: 1004

Re: How to convert wxwidgets project from 2.8 to 2.9.4?

Alright thanks for the help. One question though. Can I use both the 2.8 wxwidgets and the 2.9 wxwidgets on one computer using one compiler for both or will it mess up somehow?
by papayrus
Wed Mar 06, 2013 7:01 pm
Forum: C++ Development
Topic: How to convert wxwidgets project from 2.8 to 2.9.4?
Replies: 3
Views: 1004

How to convert wxwidgets project from 2.8 to 2.9.4?

I have made all my projects in 2.8 and now I am using 2.9.4 and was just wondering if there is an easy way to open those projects in my new 2.9.4 setup and get it to compile correctly. Thanks in advance for any help. I am doing this on the new 12.11 code blocks where all the older programs were crea...
by papayrus
Mon Sep 10, 2012 9:00 am
Forum: C++ Development
Topic: Show and Hide wxSmith Frames help.
Replies: 13
Views: 5096

Re: Show and Hide wxSmith Frames help.

I will be back I downloaded the 144 page pdf of the tutorial page you gave me and I bought VS 2012. I will be back after I finish reading that PDF. Great tutorials there has all the terms I needed to clear up.
by papayrus
Sun Sep 09, 2012 3:02 pm
Forum: C++ Development
Topic: Show and Hide wxSmith Frames help.
Replies: 13
Views: 5096

Re: Show and Hide wxSmith Frames help.

OK I did the tutorial on pointers and I see how they work fine. I tried this FirstFrame* pfrm = new FirstFrame(this); without this and it gets error so I replaced this with NULL and it had no error. The tutorial they showed was simple I am trying to mimic it and came up with this but get an error Fi...
by papayrus
Sun Sep 09, 2012 10:34 am
Forum: C++ Development
Topic: Show and Hide wxSmith Frames help.
Replies: 13
Views: 5096

Re: Show and Hide wxSmith Frames help.

I do understand most of that but the last 3 options I will have to play with. I think I can see what you mean in the first of the 3 options except I don't know what you mean by a getter class. Thank you for the link I am reading it now. My goal is to code c++ fluently and you guys have helped me a t...
by papayrus
Sat Sep 08, 2012 10:59 pm
Forum: C++ Development
Topic: Download File With Progress Bar.
Replies: 10
Views: 3448

Re: Download File With Progress Bar.

Isn't the buffer being used though to get the file size and all the other info? Can't I just add something like this and make it take the stream and concert it to a file. Although this is not working. wxLogMessage( wxT("Downloaded %ld bytes"), buf.GetDataLen()); wxFileOutputStream(wxT("test.txt")buf...
by papayrus
Sat Sep 08, 2012 10:37 pm
Forum: C++ Development
Topic: Download File With Progress Bar.
Replies: 10
Views: 3448

Re: Download File With Progress Bar.

I can't find anywhere in wxMemoryBuffer or wxFile how to read a Memory Buffer and convert it to a file.
by papayrus
Sat Sep 08, 2012 9:53 pm
Forum: C++ Development
Topic: Download File With Progress Bar.
Replies: 10
Views: 3448

Re: Download File With Progress Bar.

It worked pefect but I still cannot find any file that was downloaded?
by papayrus
Sat Sep 08, 2012 8:23 pm
Forum: C++ Development
Topic: Download File With Progress Bar.
Replies: 10
Views: 3448

Download File With Progress Bar.

I tried this code and it compiles fine and seems to be doing something because I can see a wait cursor for awhile but I never find a file downloaded anywhere. void DownloadFileFrame::OnButton1Click(wxCommandEvent& event) { wxURL url(wxT("http://www.the-software-tester.com/TemplateDownloads/Specimen%...
by papayrus
Sat Sep 08, 2012 7:51 pm
Forum: C++ Development
Topic: wxProgressDialog no exit help.
Replies: 4
Views: 1423

Re: wxProgressDialog no exit help.

You are my idol in C++ Max seriously. This is awesome and helped me alot but it is not a pulse progressdialog. I guess I see what you mean as it's probably not needed to make a pulse processdialog and I agree I would most likely never use it but I would totally love to use this one for doing somethi...
by papayrus
Sat Sep 08, 2012 7:29 pm
Forum: C++ Development
Topic: wxProgressDialog no exit help.
Replies: 4
Views: 1423

Re: wxProgressDialog no exit help.

What is the m_startupProgressStyle for?
by papayrus
Sat Sep 08, 2012 6:17 pm
Forum: C++ Development
Topic: wxProgressDialog no exit help.
Replies: 4
Views: 1423

wxProgressDialog no exit help.

I am trying to make a wxProgressDialog in pulse mode and it works fine but I have no way to stop it or exit it. I have a cancel and skip set up in it but it does not stop it either so I have no way to exit the app. Also if I set the timer interval either one shot or not the pulse never pulses. void ...
by papayrus
Sat Sep 08, 2012 10:43 am
Forum: C++ Development
Topic: Show and Hide wxSmith Frames help.
Replies: 13
Views: 5096

Re: Show and Hide wxSmith Frames help.

Well I am not sure I understand your question and you didn't post the code you were using to try to show back the first frame. Posting that code may help. From the limited information I have, I will assume (I may be wrong) that your problem is not having a pointer to the first frame. Then you can j...
by papayrus
Fri Sep 07, 2012 7:49 am
Forum: C++ Development
Topic: Show and Hide wxSmith Frames help.
Replies: 13
Views: 5096

Re: Show and Hide wxSmith Frames help.

This works if I do it like this. void Frame1::SomeEvent(wxCommandEvent& event) { Frame2* frm = new Frame2(this); Hide(); frm->Show(); } But I have to put this in the parenthesis how can I just directly call Frame2 to show so that it is not a child and how can I directly call the main frame to Show i...
by papayrus
Fri Sep 07, 2012 1:38 am
Forum: C++ Development
Topic: Show and Hide wxSmith Frames help.
Replies: 13
Views: 5096

Re: Show and Hide wxSmith Frames help.

yes it's possible something like that should do the first part : void Frame1::SomeEvent(wxCommandEvent& event) { Frame2* frm = new Frame2(); Hide(); frm->Show(); } It may be a good idea to make the second frame not be a child of the first since I think hiding the parent might hide its children. For...