Solved

Two-lines toolbar

Posted on 1998-03-12
1
211 Views
Last Modified: 2013-11-20
In my CToolBar, I have set a checkbox which is dislplayed this way:
 _
|_| Checkbox

Now, to make some more room to other controls, I need my checkbox to be displayed this way:

Checkbox  
  |_|
 
with the text above the checkbox. How can I do??
0
Comment
Question by:winmeister
1 Comment
 
LVL 10

Accepted Solution

by:
RONSLOW earned 50 total points
ID: 1316937
Checkboxes only support left or right for labels .. not above and below.

I would suggest making your checkbox owner drawn and draw it how you want.

This is not TOO hard as Win32 exposes the code for drawing buttons and boxes etc using DrawFrameControl and DrawState

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
Detect CR LF to each line 12 152
bigDiff challenge 17 83
zeroMAx challenge 20 86
Trying to run powershell  in a batch file. How do I do this? 8 63
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 …
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

9 Experts available now in Live!

Get 1:1 Help Now