Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying C++ Application Development with Code::Blocks
  • Table Of Contents Toc
C++ Application Development with Code::Blocks

C++ Application Development with Code::Blocks

By : BIPLAB MODAK
2.3 (4)
close
close
C++ Application Development with Code::Blocks

C++ Application Development with Code::Blocks

2.3 (4)
By: BIPLAB MODAK

Overview of this book

Table of Contents (13 chapters)
close
close

Solution of exercise problem


Let us solve it step-by-step by performing the following steps:

  1. Create a new wxWidgets project and set the project name to MyPaint. Choose wxSmith as the Preferred GUI Builder.

  2. Click on the wxFrame in the Management pane as shown in the following screenshot:

  3. Set the Title property to MyPaint.

  4. Click on the Layout tab and click on the wxBoxSizer button as shown in the following screenshot. Then click on the frame shown inside wxSmith window:

  5. Next add a wxGridSizer to the newly added wxBoxSizer in a similar manner. Refer to the following screenshot for the wxGridSizer button. After wxGridSizer is added set the Cols property to 1.

  6. Click on the Standard tab and add a wxScrolledWindow to the wxGridSizer as per the following screenshot:

  7. Set the following properties for wxScrolledWindow:

    • Var name to MyPaintWindow

    • Min Width to 640 and Min Height to 480

    • Border Width to 5.

  8. At this step the Management pane shall look similar to the following screenshot:

  9. Click on the Dialogs tab...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
C++ Application Development with Code::Blocks
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon