Alpha release of book - Programming with wxDev-C++

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Sorry for the longer than expected delay. There is a new release out on sourceforge. At present I am holding on the release of Devpaks. The only reason is that a new release of wxDev-C++ is pending which will affect the use of template files within the Devpaks.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Just to announce that the latest version of the book has been released to coincide with the new release of wxDev-C++. This release is being made available in CHM format for the first time. As ever let me know of any errors or ommissions.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

There have been two new releases on the project site today. These appear under the Bonus download section.

The first is a program designed to allow you to edit the wxDev-C++ palette file. It allows you to add new palettes, remove palettes and alter the components available on a palette. Take care if you delete a default palette then close the editor. You will lose the components that it contained. It is only possible to get it back by replacing the devcpp.palette file with the back up copy that is generated or by using a new palette file. I have no plans to develop this any further but I am will to if there is demand.

The second package is the icons from the tango desktop project rendered as 3 different size icons. These will be installed into <devcpp>\TangoImages\ they are provided to enable people like myself who have problems with the art work required to create a consistent interface for their applications. This is available as a .devpak.

Work has been continuing on the book. Chapter 8 is now complete and Chapter 9 is well underway. The sample HTML editor we developed in Chapter 7 is now the focus of this section of the book. In each chapter we will use what we have learnt to create a profession HTML editing application. The finished program will be available on the site soon for you to get some idea of what we will build.

Chapter 8 focuses on using frames and dialog and how to use several frames/dialogs in the same project. Chapter 9 focuses on the components available in wxDev-C++ and what they do. Chapter 10 puts it all together to work with code. Chapter 11 then shows you how to make the program more professional.

I hope the book continues of use and you enjoy the recent developments.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Finally there is a new release of the book to announce. This release brings the changes announced in the last post.

Chapter 8 is complete with the exception of proof reading.
Chapter 9 is a quarter complete and finally covers the topic of sizers. It also provides some basic instruction on using the Palette Manipulator tool.

Now it is my chance to ask for help. The project could badly do with proof readers. I realise that many people will shy away from getting involved full time but if you spot any errors or rough edges please take a couple of seconds to report them here. The same applies to feature requests. I want this book to be of maximum use, if there is something it doesn't cover that you think it should request it here.

As ever I hope you enjoy this release. If all goes well the next one should be out the door sooner.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
NinjaNL
Moderator
Moderator
Posts: 899
Joined: Sun Oct 03, 2004 10:33 am
Location: Oosterwolde, Netherlands

Post by NinjaNL »

Just a small point. Could you ensure that the name of the pdf file remains constant? The previous file was named Programming with wxDev-C++.pdf and this release is Programming with wxDevC++.pdf. A small change (the omission of a hyphen).

Only a slight change, but we are now including your book in the release, and as such is being opened from the help menu. We need to ensure that the name is constant, so that the users can replace their copy from our distribution with your new release, and are still able to open your book from within the ide.
Follow the development of my screenplay authoring program at http://wxscreenplaywriter.blogspot.com/
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Thanks for pointing that out Ninja. I've being trying so hard to spell it correctly recently, please don't tell Joel :lol:

I'll upload a new version to sourceforge tomorrow when I upload the CHM version.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

=puts blindfolds on= I can't see! I can't see!
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Just a slight update.

The sample application now supports printing this comes in response to the request to show how to implement some of the common menu options. The application also prompts the user to save files that have been modified.

Work on Chapter 9 is still progressing well.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
FlyingIsFun1217
Super wx Problem Solver
Super wx Problem Solver
Posts: 497
Joined: Mon Nov 06, 2006 9:58 pm

Post by FlyingIsFun1217 »

Keep up the good work!

FlyingIsFun1217
Mixael
Earned a small fee
Earned a small fee
Posts: 13
Joined: Thu Apr 27, 2006 6:24 pm

Post by Mixael »

Sof_T, I just came across the book, and HAD to download it. I aslo grabbed the source file. I haven't actually read the book yet, but I tried to compile the some of the samples. (Well, three actually). The two console apps I tried worked perfectly, but I get the following error on the ch 8 frame project app.

Code: Select all

mingw32-make.exe: *** No rule to make target `O:/My Book/SourceCode/Chapter8/FrameProject/Output/MingW/FrameProject_private.rc', needed by `O:/My Book/SourceCode/Chapter8/FrameProject/Output/MingW/FrameProject_private.res'. 
It would seem that there may be a hard-coded path in the resource file(s). I couldn't find a way to edit this, so can't complete the compiling of this sample.

I will be going through the book, and keeping an eye on this project from now on, so this is actually only a little problem, but wanted to bring it to your attention.

(Oh, my wxDev-C++ installation is a clean install, and I put it in "C:\Dev-CPP" instead of "Program Files\Dev-CPP", but other than that it's out-of-the-box. Don't know if that matters, but there you go)

Mixael
tbreina
Moderator
Moderator
Posts: 1289
Joined: Thu Nov 25, 2004 7:38 pm
Location: Coronado, CA

Post by tbreina »

Mixael wrote: The two console apps I tried worked perfectly, but I get the following error on the ch 8 frame project app.

Code: Select all

mingw32-make.exe: *** No rule to make target `O:/My Book/SourceCode/Chapter8/FrameProject/Output/MingW/FrameProject_private.rc', needed by `O:/My Book/SourceCode/Chapter8/FrameProject/Output/MingW/FrameProject_private.res'. 
Can you post the entire compiler output? I tried compiling this on my machine and it worked. Did you try a "Compile+Run" or a "Rebuild All"?

-Tony
Everybody's got something to hide except for me and my monkey.
tbreina
Moderator
Moderator
Posts: 1289
Joined: Thu Nov 25, 2004 7:38 pm
Location: Coronado, CA

Post by tbreina »

Ok. I think I know what the bug is here. We should be building the private resource files when the project is first loaded and whenever the project settings are changed. We currently do the later but not the former. I'll have to change that to do both.

Try going to Project->Project Settings. Just hit the OK button. It should rebuild the private resources. Hit save all. Then Rebuild All.

-Tony
Everybody's got something to hide except for me and my monkey.
Mixael
Earned a small fee
Earned a small fee
Posts: 13
Joined: Thu Apr 27, 2006 6:24 pm

Post by Mixael »

@tbreina:

That fixed it (except I had updated to the 2.8 package, and it was written against the 2.7 pacjkage..I had just seen a topic on that and read it, so I knew what to do there :) ).

Thanks fo rthe assist!

Michael
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Just to wake this thread up again I am please to announce a new release of the book. To save repeating myself here is the announcement on Sourceforge.
Finally I am glad to announce a new release of the book. Chapter 9 has now been completed. This chapter contains the following features:

1. A review of all the components available in the GUI builder covering their properties. A picture of each control is included to allow you to see what each control looks like.

2. The continuation of the HTML editor project. We complete the design of the interface.

Chapter 11 has been expanded to cover Naming Conventions and this is fully implemented in the example project.

Further enhancements include the version number and release date on page 2 so that you can see if your copy is the latest.

The accompanying source code has been released along with a zip file containing 4 images needed to complete the sample project.

The CHM release will come a little later. As will the initial Spanish release.

As ever enjoy this release and report any problems or improvements needed.

Sof.T
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
ricky.shaw
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Jul 27, 2007 8:18 am
Contact:

Thanks for creating such a great book !!!

Post by ricky.shaw »

What ever i have learned about wxDevC++ is from this book .
Previously I was working with VB.Net.I was scared of C++ i thought it was tough and i would loose productivity if i switch to C++, But having this book was a "programmer best friend",It helped me in every step.I also learned C++ with concept of this book i feel so great that its continuously updated so i get to learn new thing every time i download a copy.

I cant wait to see how will this book look like when its finally complete.
"Thanks"

Please keep up the good work :)
Post Reply