Click to See Complete Forum and Search --> : CPropertySheet and Visual C++ 6.0


Rob Woodruff
April 21st, 1999, 02:57 PM
Has Microsoft changed the way CPropertySheet initializes the pages? In version 5.0 OnInitDialog was called for the page whenever it was made active for the first time. In version 6.0 OnInitDialog is called for every page when the sheet is created. This is causing me all sorts of problems. Can anyone confirm this?

Rob Woodruff
April 21st, 1999, 03:42 PM
Update! If the PropertySheet is MODAL then OnInitDialog() is called whenever the page is ACTIVATED. If the PropertySheet is MODELESS then OnInitDialog() is called whenever the SHEET's OnInitDialog() is called. Why the difference?