다음을 통해 공유


창 메모리 할당 및 할당 취소

Do not use the C++ delete operator to destroy a frame window or view. Instead, call the CWnd member function DestroyWindow. Frame windows, therefore, should be allocated on the heap with operator new. Be careful when allocating frame windows on the stack frame or globally. Other windows should be allocated on the stack frame whenever possible.

추가 정보

참고 항목

참조

창 개체 소멸시키기