Solved

Urgent Owner Drawn CTabCtrl

Posted on 1998-06-17
3
439 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
  • 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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