Search found 32 matches

by BarrRobot
Fri Jan 13, 2012 1:31 am
Forum: wxDev-C++
Topic: Open files
Replies: 5
Views: 3257

Re: Open files

If I have a file called "test.tst" how could i open it using windows notepad without associating *.tst files to the notepad. If the program you want to use accepts arguments on the command line, you write: notepad.exe test.tst (If the path includes spaces, you must quote it, e.g. "C:\Documents and ...
by BarrRobot
Tue Jan 10, 2012 2:12 pm
Forum: wxDev-C++
Topic: Open files
Replies: 5
Views: 3257

Re: Open files

It would help if you told us what the error message was, or what ShellExecute returns. This works for me: /* * WxButton1Click */ void StartFrm::WxButton1Click(wxCommandEvent& event) { // insert your code here // the PID of the process we launch long m_pid; // command we execute wxString cmd; cmd = w...
by BarrRobot
Sun Dec 18, 2011 12:20 am
Forum: wxDev-C++
Topic: Open files
Replies: 5
Views: 3257

Re: Open files

OpenFIle will open a file in your program so that you can read or write the contents. You want to start (execute) another program. Try: wxExecute(.....) Documentation is here http://docs.wxwidgets.org/trunk/group__group__funcmacro__procctrl.html and there is also a sample program - see http://docs.w...
by BarrRobot
Sat Dec 10, 2011 8:08 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

Bad news, Guys. The wxWidgets developers do not accept that it is a problem and are refusing to fix it. Referring to the example that I posted above: ...I think it's fine. You do get predominant blue colour and if not absolutely everything is blue it's not really a problem is it? Changing this -- as...
by BarrRobot
Sat Dec 10, 2011 1:03 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

I have raised a ticket at http://trac.wxwidgets.org/ticket/13745
by BarrRobot
Fri Dec 09, 2011 9:44 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

I searched the forums and found this post: http://forums.wxwidgets.org/viewtopic.php?f=28&t=28792&p=123455&hilit=change+color+notebook#p123455 Maybe you can post the message in the developer's forum to see if there is an easier way? It sounds like this feature was never added in wxWidgets. -Tony I ...
by BarrRobot
Fri Dec 09, 2011 2:44 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

OK, yes, on closer inspection I was compiling with wxWidgets 2.8 as distributed in the download. I had made my usual mistake of looking at the wrong directory #-o The problem that I see is the Notebook background can be set, and is inherited by each page, but it does not show in the notebook itself....
by BarrRobot
Thu Dec 08, 2011 11:14 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

@BarrRobot: Do you have success with wxWidgets 2.9.2? No, wxWidgets 2.8.12 <Edit: was incorrectly shown as 2.9.2> shows the same bug that you see. Does wxDevC++ 7.4.0.86 come now with wxWidgets 2.9.2 or have you compiled it for yourself? Yes, the download for wxDevC++ 7.4.0.86 comes with wxWidgets ...
by BarrRobot
Thu Dec 08, 2011 11:11 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

I have been looking at bugs on the http://trac.wxwidgets.org site. It appears that there have been problems with inheriting the background colour. So I tried setting the background colour of the wxNotebook and not setting the background colour of the pages. The pages inherit the background colour of...
by BarrRobot
Wed Dec 07, 2011 11:29 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

jgrzybowski wrote:It was test made in wxDevC++ 7.3.1.3 and wxWidgets 2.8.9
Ah! I see different behaviour between your wxWidgets 2.8.9 and my wxWidgets 2.8.12.
Thank you.
<Edit: My Widgets version was incorrectly shown as 2.9.2>.
by BarrRobot
Wed Dec 07, 2011 1:29 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

You could also try wxAuiNotebook, which - as a non-native control - might be more willing to accept non-standard colors ;) http://docs.wxwidgets.org/stable/wx_wxauinotebook.html#wxauinotebook Nope, that works the same way for me. I tried passing the colour value in different formats but with no obs...
by BarrRobot
Wed Dec 07, 2011 12:05 pm
Forum: wxDev-C++
Topic: Background of wxNotebook
Replies: 20
Views: 9524

Re: Background of wxNotebook

Try to change background color of all yours wxNotebookPages I cannot get that result. I see the same problem as eriX . I am using build 7.4.0.86 and I completely removed the old versions before I installed, so I am reasonably certain that I am using the version of wxWidgets that was bundled with bu...
by BarrRobot
Tue Dec 06, 2011 11:07 pm
Forum: wxDev-C++
Topic: Toolbars won't paint while they are being dragged
Replies: 6
Views: 2411

Re: Toolbars won't paint while they are being dragged

Will Pittenger wrote: And I never understood why something to develop wxWidgets is written in Delphi.
And I don't understand why you think it should make any difference.
by BarrRobot
Tue Dec 06, 2011 10:27 pm
Forum: wxDev-C++
Topic: What are the differences between the various compilers
Replies: 1
Views: 1101

Re: What are the differences between the various compilers

wxDev-C++ is bundled with GCC compiler and GDB debugger. So far as I'm aware, the wxDev-C++ IDE will only interface properly with GDB and as GDB works nicely with GCC (see the GCC and GDB documentation, note that GCC may not support other debuggers, and GDB may not support other compilers, quite so ...
by BarrRobot
Tue Dec 06, 2011 9:23 pm
Forum: wxDev-C++
Topic: Toolbars won't paint while they are being dragged
Replies: 6
Views: 2411

Re: Toolbars won't paint while they are being dragged

jgrzybowski wrote:I have not noticed such a problem in a my installation of wxDevC++ (on WinXP).
I second that. (also on WinXP).