Solved

VC++ Group Box

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

706 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

18 Experts available now in Live!

Get 1:1 Help Now