rickatseasoft
asked on
Cleanup after dynamically created CStatic
I've created a CStatic using
CStatic m_StaticMyWin;
m_StaticMyWin.Create(...
I also do a
CFont *pFont=m_StaticSomeOther.G etFont();
m_StaticMyWin.SetFont(pFon t);
When I am done with this dialog, do I need to do anything to clean up behind this CStatic, or will falling out of scope be enough.
Thanks, Rick
CStatic m_StaticMyWin;
m_StaticMyWin.Create(...
I also do a
CFont *pFont=m_StaticSomeOther.G
m_StaticMyWin.SetFont(pFon
When I am done with this dialog, do I need to do anything to clean up behind this CStatic, or will falling out of scope be enough.
Thanks, Rick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.