Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 480
  • 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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