_AnShUmAn_ wrote:
f you create the CStatic object on the heap by using new , you must call delete on the object to destroy it when you are done with it. delete myObj;
naah you have to call delete MyObj after DestroyWindow()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You