Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Dialog based tab control app.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dialog based tab control app.

 Post Reply Post Reply
Author
Message
jigarmehtamscit View Drop Down
Groupie
Groupie
Avatar

Joined: 29 October 2005
Location: India
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote jigarmehtamscit Quote  Post ReplyReply Direct Link To This Post Topic: Dialog based tab control app.
    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
Back to Top
jigarmehtamscit View Drop Down
Groupie
Groupie
Avatar

Joined: 29 October 2005
Location: India
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote jigarmehtamscit Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2006 at 11:07pm
Will help file contain answer to my questions ??
Regards,
Jigar Mehta
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.