Solved

VC++ Group Box

Posted on 2006-11-17
1
294 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
1 Comment
 
LVL 19

Accepted Solution

by:
mrwad99 earned 125 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 80
only14 challenge 19 81
java ^ examples 8 69
Fibonacci challenge 11 132
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

792 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