Click here to Skip to main content
15,885,767 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to calculate power (Exponent) Pin
vikas amin27-Dec-05 1:37
vikas amin27-Dec-05 1:37 
GeneralRe: How to calculate power (Exponent) Pin
toxcct27-Dec-05 1:39
toxcct27-Dec-05 1:39 
GeneralRe: How to calculate power (Exponent) Pin
Owner drawn27-Dec-05 1:56
Owner drawn27-Dec-05 1:56 
GeneralRe: How to calculate power (Exponent) Pin
TheGreatAndPowerfulOz5-Jan-06 20:10
TheGreatAndPowerfulOz5-Jan-06 20:10 
GeneralRe: How to calculate power (Exponent) Pin
toxcct6-Jan-06 0:41
toxcct6-Jan-06 0:41 
QuestionProperty Page Tab should highlight Pin
RamL26-Dec-05 22:32
RamL26-Dec-05 22:32 
AnswerRe: Property Page Tab should highlight Pin
Owner drawn26-Dec-05 23:20
Owner drawn26-Dec-05 23:20 
GeneralRe: Property Page Tab should highlight Pin
RamL28-Dec-05 2:00
RamL28-Dec-05 2:00 
Thanks,

I want to re-modify my question.

When we select the property sheet page tabs, then the selected page tab text should change the color of page tab text or highlight the tab text.

Error is comming from the fallowing snippet that is,

<big>Error : " 'CPropertySheet::GetTabControl' : illegal call of non-static member function"</big>

How to access the GetTabContol() from CPropertyPage derived class?

<code>BEGIN_MESSAGE_MAP(CPage2, CPropertyPage)
//{{AFX_MSG_MAP(CPage2)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BOOL CPage2::OnSetActive()
{
CTabCtrl *pTabCtrl = CPropertySheet::GetTabControl();

TC_ITEM item;
item.mask = TCIF_TEXT;
item.pszText = "New Label";

pTabCtrl->SetItem (1, &item );

// CTabCtrl::HighlightItem(1, TRUE);

return CPropertyPage::OnSetActive();
}</code>

wating for you reply,

- Ramesh.
Questioninstaller for oracle db Pin
prabhathgk26-Dec-05 22:12
prabhathgk26-Dec-05 22:12 
QuestionFile I/O que Pin
LiYS26-Dec-05 22:03
LiYS26-Dec-05 22:03 
AnswerRe: File I/O que Pin
ThatsAlok26-Dec-05 22:24
ThatsAlok26-Dec-05 22:24 
GeneralRe: File I/O que Pin
LiYS26-Dec-05 22:50
LiYS26-Dec-05 22:50 
GeneralRe: File I/O que Pin
ThatsAlok26-Dec-05 23:51
ThatsAlok26-Dec-05 23:51 
AnswerRe: File I/O que Pin
toxcct26-Dec-05 22:40
toxcct26-Dec-05 22:40 
GeneralRe: File I/O que Pin
LiYS26-Dec-05 22:47
LiYS26-Dec-05 22:47 
GeneralRe: File I/O que Pin
LiYS26-Dec-05 22:51
LiYS26-Dec-05 22:51 
GeneralRe: File I/O que Pin
Prakash Nadar27-Dec-05 0:03
Prakash Nadar27-Dec-05 0:03 
GeneralRe: File I/O que Pin
vikas amin27-Dec-05 0:43
vikas amin27-Dec-05 0:43 
AnswerRe: File I/O que Pin
Owner drawn26-Dec-05 23:22
Owner drawn26-Dec-05 23:22 
AnswerRe: File I/O que Pin
krmed27-Dec-05 4:57
krmed27-Dec-05 4:57 
QuestionHOT TO TYPE CAST OJBECT TO VARIANT Pin
gpshadrach26-Dec-05 21:45
gpshadrach26-Dec-05 21:45 
AnswerRe: HOT TO TYPE CAST OJBECT TO VARIANT Pin
AntonGogolev26-Dec-05 21:58
AntonGogolev26-Dec-05 21:58 
Questiontemplate class Pin
Nishad S26-Dec-05 21:29
Nishad S26-Dec-05 21:29 
AnswerRe: template class Pin
vikas amin27-Dec-05 0:49
vikas amin27-Dec-05 0:49 
QuestionGUId of a COM object Pin
ragavan26-Dec-05 21:25
ragavan26-Dec-05 21:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.