   SetActivePage problem
  Hello,I am using VC 2005. I have a simple SDI application with modeless propertysheet. I am creating the propertysheet in OnCreate of the view. The sheet has 3 pages. I am getting unhandled exception on SetActivePage call for one of the pages. At the time of exception it appears that the View pointer is null. I am not sure what is happening. The Oninitdialog of the page in question is also not getting called.Any suggestions are welcome. Cheers   