Mutli Row Tab View | CodeGuru

Mutli Row Tab View

My project had very big dialog which needed to be split in to many property pages. Some of the property pages again needed a split. Then I tried to do it using CPropertySheet and CPropertyPage. But I could not find a way to stick CPropertySheet inside another CPropertySheet. My CMutliRowTabView and CTesttabCtrl did the job. […]

Written By
CodeGuru Staff
CodeGuru Staff
Feb 5, 2000
1 minute read
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

My project had very big dialog which needed to be split in to many property pages. Some of the property pages again needed a split. Then I tried to do it
using CPropertySheet and CPropertyPage. But I could not find a way to stick CPropertySheet inside another CPropertySheet. My CMutliRowTabView
and CTesttabCtrl did the job. I derived CtestTabCtrl from CTabCtrl and used lParam value to store the either a Window or a Tab control.
CMutliRowTabView has CTesttabCtrl member and has its own functions to insert a view or a Tab control. With CMutliRowTabView you can add any
number of rows, Insert windows by position.

Derive a class from CMutliRowTabView and override OnInitialUpdate() to add pages.

Downloads

Download demo project – 24 Kb
Download source – 8 Kb

CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.