Solved

Urgent Owner Drawn CTabCtrl

Posted on 1998-06-17
3
460 Views
Last Modified: 2013-11-20
i am repeating the question of sector becase i have the same problem :

How can i make the tab items to be drawn all over the tab
control in an owner draw ctabctrl , i meen that if there are 3 items i want them to take the whole width of the
ctabctrl as if there were 10 items ?????
0
Comment
Question by:sector
[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
  • 2
3 Comments
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1318081
Can you not just set right justify instead of ragged right style?
0
 
LVL 1

Accepted Solution

by:
Musashi earned 40 total points
ID: 1318082
Same answer as for sector.  Add extra spaces to the beginning and end of each tab title, by trial and error until the 3 (or howmanyever) tabs take up the entire width and until one more space is too many and causes two rows of tabls to be formed.  Answer is simple to implement but non-programmatic and does not help if tab control needs to be resized.
0
 
LVL 10

Expert Comment

by:RONSLOW
ID: 1318083
The autograde strikes again .. guess we'll never know what the best answer was ;-(
0

Featured Post

Percona Monitoring and Management and Grafana

Proactive monitoring is vital to a highly-available environment. We have a quick start guide on Experts Exchange for Grafana users.

Question has a verified solution.

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

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: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

628 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