Resource Leak
Posted: 19 Nov 2013, 22:03
Hello again,
When setting the MouseIcon, the label control doesn't release the GDI/User resources after it closes. The fact that it takes up a bunch of resources is not the main issue (although fewer resources would be nice too) - it's that it doesn't release them.
Attached is a simple sample. Click on the button to open a new window, and then close it again while watching the User/GDI.
When setting the MouseIcon, the label control doesn't release the GDI/User resources after it closes. The fact that it takes up a bunch of resources is not the main issue (although fewer resources would be nice too) - it's that it doesn't release them.
Attached is a simple sample. Click on the button to open a new window, and then close it again while watching the User/GDI.