Link to home
Start Free TrialLog in
Avatar of int_acct
int_acct

asked on

How to change my tap from one page to the other?

I have 4 tap... Main, Chat, SOS and Option

at the Option I have this button call To Main.. which allow me to go back to main....


void TapControlList::GoToMainPage(){

m_tabPages[3]->ShowWindow(SW_HIDE);
m_tabPages[0]->ShowWindow(SW_SHOW);
m_tabPages[0]->SetFocus();

}


but this lead to no effect!!!!!!!!!!!!!!!!!!!
 
how come?
wat should be the rite way?
Avatar of AlexFM
AlexFM

Try CPropertySheet::SetActivePage function.
Avatar of int_acct

ASKER

hmmm... how to use it?
i'm working on C++ MFC tap control
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial