?
Solved

VC++ Group Box

Posted on 2006-11-17
1
Medium Priority
?
300 Views
Last Modified: 2013-11-20
Hi,

Can add a group box having more than five sides to a dialog.  The group box will look like this:

|-------------------------------------
|                                             |
|                                             |
|                         |----------------
|                         |
|                         |
|---------------------

Thanks
0
Comment
Question by:pbsmbc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
mrwad99 earned 375 total points
ID: 17967246
Not using the standard resource editor group box control you cant.

However, if you want to take the time, you can develop a shape similar to the above by doing the following:

1) Add a picture control to your dialog, and change the edge to be "etched" in the properties window.

2) To get a vertical edge, resize the picture control so it appears as a vertical edge by moving either the left or right side to the opposite side.

3) Add another picture control, again with an etched edge.  To get a horizontal edge, drag the top or the bottom of the picture control down or up respectively so that you end up with a horizontal edge.

Create more horizontal and vertical edges as required, then position them to make the shape required.

Please see http://img455.imageshack.us/img455/409/egdw3.jpg for a horizontal and vertical edge created in this manner.

HTH
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question