yylibra61
asked on
Problem with switching tabs on multi rows to tabs on single rows
I created an ownerdrawn tab control (CTabCtrl). I wanted to be able to set Tab Style on the fly. For instance,
I have check box with two options - Tabs on single line, and Tabs on multiple row.
The problem is when user check on "Tabs on multiple rows", it shows Tabs on multiple rows, but it could not be changed back to show Tabs on single line again.
I used following to switch to multiple lines:
ModifyStyle(ModifyStyle(TC S_MULTIROW , TCS_MULTIROW);
Any ideas? appreciate any inputs!
I have check box with two options - Tabs on single line, and Tabs on multiple row.
The problem is when user check on "Tabs on multiple rows", it shows Tabs on multiple rows, but it could not be changed back to show Tabs on single line again.
I used following to switch to multiple lines:
ModifyStyle(ModifyStyle(TC
Any ideas? appreciate any inputs!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It worked! thanks!
Good luck!