I have a CPropertySheet. On this sheet I have two pages. When the first page gets hit, I want to activate the second immediately. Consider this:
e ( 1 );
This fails; it results in the first page being displayed. However, this works:
Now, I stepped into the code for SetActivePage, and found the following:
if (m_hWnd == NULL)
m_psh.nStartPage = nPage;
So the only difference between what works and what doesn't is the use of PostMessage over SendMessage.
I have uploaded a simple project to http://mrwad99.fortunecity.com/
Can someone explain what is going on to me please ?