Print Page | Close Window

Dialog based tab control app.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3867
Printed Date: 10 November 2025 at 7:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dialog based tab control app.
Posted By: jigarmehtamscit
Subject: Dialog based tab control app.
Date Posted: 24 March 2006 at 3:22pm
Hi,

I want to use tabcontrol on my dialog application. Actually I am able to show the tab control on my dialog but to add the tab page to the control, i have to use coding like one that follows...

        m_pASStatistics.Create(CStatistics::IDD, &m_TabCtrl);
        m_TabCtrl.InsertItem(nTab, res_str, m_pASStatistics, 0);

So, what does CStatistics mean ? I know that its CDialog derived class but why is that needed ?

1. Does it mean that class will get events of that dialog ? like button click or combo selection change ?

2. what does m_pAsstatistics mean ? I saw that its CTabManagerPage derived class member variable but why has that to be created ? Which events will it get ?

Can anybody explain the significance of these two classes and its usage ?


-------------
Regards,
Jigar Mehta



Replies:
Posted By: jigarmehtamscit
Date Posted: 25 March 2006 at 11:07pm
Will help file contain answer to my questions ??

-------------
Regards,
Jigar Mehta



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net