Debug error in cpropertysheet::removepage()
Hi !!
I got a debug error in case of removing propertypage
i.e. CPropertysheet::Removepage(nPage)
i found the error while debugging in the place of sendmessage...
code as folloes...
if(hwnd != null)
sendmessage(PSM_REMOVEPAGE,nPage)
Can anybody solve this prob.
Regards,
veda.
Re: Debug error in cpropertysheet::removepage()
Your PropertySheet window seams to have yet been not created! (neither CPropertySheet::Create nor CPropertySheet::OnInitDialog was called)
Re: Debug error in cpropertysheet::removepage()
You also cannot remove the final page. A PropertySheet must contain at least 1 page aftre it has been created.