Link to home
Start Free TrialLog in
Avatar of yogesh28577
yogesh28577

asked on

Wizard : PSN_WIZNEXT in VC++

I have a button in a property page. I would like to get the next
propertypage when the user click that button. The following doesn't work.

void MyDlg::OnMyButton()
{
        NMHDR nmhdr;
        nmhdr.code = PSN_WIZNEXT;
        nmhdr.hwndFrom= m_hWnd;
        nmhdr.idFrom = IDD;
        SendMessage(WM_NOTIFY, (WPARAM)nmhdr.idFrom, (LPARAM)&nmhdr);
}


LRESULT CSetupPage8::OnWizardNext()
{
      

return CPropertyPage::OnWizardNext();
}


Why ? Please help.
ASKER CERTIFIED SOLUTION
Avatar of alb66
alb66
Flag of Italy 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