OnParentDestroy() is called as the parent window is destroyed. Controls that create their own windows during OnParentCreate() should destroy them during OnParentDestroy() Reimplemented from CATControl. Reimplemented in CATEditBox, CATListBox, and CATTreeCtrl. Definition at line 206 of file CATControlWnd.cpp. References fControlWnd, CATControl::GetWindow(), OSCleanup(), and CATWindow::OSDestroyWnd(). Referenced by CATTreeCtrl::OnParentDestroy(), CATListBox::OnParentDestroy(), CATEditBox::OnParentDestroy(), and ~CATControlWnd().
|