Solved

VC++ Group Box

Posted on 2006-11-17
1
292 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
twoTwo  challenge 35 92
Fibonacci challenge 11 108
changeXy challenge 13 67
ASP.NET C# MessageBox.Show Showing a modal dialog box or form when the application ... 2 98
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

943 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now