Menu

#1 TPropertySheet asserts at Destroy()

open
nobody
None
5
2006-10-13
2006-10-13
Anonymous
No

I have added a TPropertySheet to my program. If I
Create() the sheet, and then close my program while it
is open, everything is fine. But if I do not create
it, or if I create it and then close it, I get an
assert because the sheet is trying to
SendMsg(PSM_PRESSBUTTON) in Destroy(), but the window
is not valid.

Destroy() gets called, even if the TPropertySheet has
not been Create()d.

Discussion


Log in to post a comment.