I don't know if this can help: If your object inherits CWIDGET (QT_WIDGET), you can do the following: #define WF_DELETED 0x1000 ... ... if ( (QT_WIDGET*)Obj)->flag & WF_DELETED ) { (Error routine) } Regards, Daniel Campos