I am creating and deleting MFC gdi objects and watching the number of GDI Objects that application uses via Windows Task Manager.
When i create a CBrush object by CreateSolidBrush i observe an increment in GDI Object count of application. However when i delete the brush by DeleteObject there happens no change.
Does anybody have an idea why GDI object count does not decrements when i delete the brush i have created?
Thanks in advance.
Sanoop Das K