This might be blindingly easy, it's just new to me.
I have an application that is a single CPropertySheet containing several CPropertyPage instances.
m_pSystemPage = new CSystemPage();
m_pImagePage = new CImagePage();
Say the user is working within m_pImagePage. Clearly they could click the System tab and change to that tab. But I want to add a mechanism, whereby clicking a certain area in the image that is shown in Image Page, will force a transition to System Page, as well as call a method that m_pSystemPage implements.
(they could hit the System tab, and then click a button on the System page, but I need to essentially create a "shortcut" from the Image Page that will change pages and call initialization code in one click, under the hood)
All my click handling is in place, I just need to know how to make that page the active page (w/o the user having to hit the tab) and then execute a method within that page.
I hope that made sense :)