BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
        if( !CFrameWnd::PreCreateWindow(cs) )
                return FALSE;
        // TODO: Modify the Window class or styles here by modifying
        //  the CREATESTRUCT cs

        cs.dwExStyle &= ~WS_EX_CLIENTEDGE;
        cs.lpszClass = AfxRegisterWndClass(0);


        return TRUE;
}



문제가 윈도 타이틀바 아이콘을 느낌표( IDI_EXCLAMATION) 로 바꿔서 뜨게 하는건데


저기 윗부분에서 

cs.lpszClass = AfxRegisterWndClass(::LoadIcon(NULL,IDI_EXCLAMATION));


이렇게 수정하면 되는거아냐?? 안되길래 도대체 어떻게 해야되는거야?

간단한 문젠데 존니 끙끙거리고 있네..