Click to See Complete Forum and Search --> : Property Page not recieving OnSize message


Aries
August 11th, 1999, 05:50 PM
Hello, Im programming a property sheet where property pages are added to it dynamically in a loop. THe pages add fine but there are some
problems I cant seem to figure out. When the program starts the initial page is not initialized and the controls are in the wrong places. When I resize the window the property sheet resizes but the pages do not. All this is remedied when I activate one of the pages. The controls go to where they are supposed to and the page sizes itself.

It seems to be missing the OnSize message as it is only called when a new page is activated. How can I make sure the OnSize message is sent? Is there a problem with ownership of this window? I would have thought that would have been taken care of with the AddPage() function. (the property sheet recieves all OnSize messages).

Can someone help me out please as this problem is driving me nuts!

Thanks in advance,

Aries