Link to home
Start Free TrialLog in
Avatar of jeffrey londo
jeffrey londo

asked on

MFC PropertySheet CTabCtrl problem

I have a WizardPage that has been developed with MFC.  I don't have access to internal CTabCtrl structure or PropertySheet directly, but only can use following macros :

TabCtrl_SetItemSize or PropSheet_GetTabControl. When I switch between Wizard Pages, I see that the tab items gets out of boundingrectangle of the parent control.

I eventually want to run the following  :       GetTabControl()->ModifyStyle(0, TCS_VERTICAL);

But this does not work

How can I overcome this problem ?
Avatar of sarabande
sarabande
Flag of Luxembourg image

TabCtrl_SetItemSize or PropSheet_GetTabControl

did you try to solve the issue by using those functions?

can you show a screenshot?

note, normally the parent window would have the WS_CLIPCHILDREN style what should prevent the tab control to get out-of-boundaries.

Sara
Avatar of jeffrey londo
jeffrey londo

ASKER

Sending a message to invisible tab control within the propertypagewindow and setting style as tcm_multiline has fixed my problem.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.