Solved

Urgent Owner Drawn CTabCtrl

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Login Script to Copy Folders 12 47
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 925
sumNumber challenge 16 140
Hibernate methods 2 83
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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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