• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

Urgent Owner Drawn CTabCtrl

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
sector
Asked:
sector
  • 2
1 Solution
 
RONSLOWCommented:
Can you not just set right justify instead of ragged right style?
0
 
MusashiCommented:
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
 
RONSLOWCommented:
The autograde strikes again .. guess we'll never know what the best answer was ;-(
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now