Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I know that BuildWindowCore is called when the Hwnd derived class's object is set as child to a UI element. But When does DestroyWIndowCore gets Called. I have an application in which I have overrided DestroyWindowCore. But DestroyWindowCore is never called. Iam hosting a WIN32 window in wpf. When the window Gets created GDI object count increases and it doent get decreased when the wpf window hosting win32 is closed.

Thanks ,
Sherin
Posted
Updated 22-Sep-11 17:31pm
v4
Comments
Sergey Alexandrovich Kryukov 22-Sep-11 12:25pm    
Wow! May I know why doing so, especially in WPF which, essentially, has almost nothing to do with windows and their handles?
--SA
sherin_ 23-Sep-11 6:01am    
Iam hosting a WIN32 window in wpf. When the window Gets created GDI object count increases and it doesn't decrease when the wpf window hosting win32 is closed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900