Urgent!! CpropertySheet

Hi
I want to put the tabs in a property sheet to be displayed Vertically ,instead of them being displayed horizontally by default,and also i want the tab title or tab name to be displayed Horizontally ...I am able to do the vertcial placement of a tab control in a dialog by assigning the tab control style as TCS_VERTICAL,but the text also appears as vertical ,i want the text to appear as Horizontal and all this to work in a Propertysheet....The UI should have following look...
       ________________________________       |
      |Page 1
      |________
             |
       ________|      
      |       |
      | Page 2 |
      |________|
             |      
       ________|                   
       |        |
      | Page 3 |
      |________|      
             |
                 |
             |______________________      

bhoomi_2000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

krispCommented:
Hi,
  I have used the following code in OnInitDialog() of my CPropertysheet class.
-------------------------------------
CTabCtrl* tabCtrl = GetTabControl();
tabCtrl->ModifyStyle(NULL,  /*TCS_RIGHTJUSTIFY|TCS_FORCELABELLEFT|*/TCS_VERTICAL,NULL);

CSize size(20,20);
tabCtrl->SetPadding( size );
----------------------------------------
Your requirement is met. But initially when the Property sheet is shown the tab control texts are not shown. When you press "Ctrl + tab", the tabs are shown as per the requirement you mentioned.
Hope this will help you.

cheers.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bhoomi_2000Author Commented:
Thanks for the Answer,but it leaves a lot of work to Do ,as you have to resize the Tabs ,so the other solution would be to have a Owner Drawn Tab,with
tab control as TCS_OWNERDRAWNFIXED ,these has more work ,but leaves with the option of better control
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.