[置頂]

書單: 安迪葛洛夫:Only paranoid survives.

Mar 3, 2009

Disable close button

        // Disable close button.


        CMenu* pMenu = this->GetSystemMenu(FALSE);
        pMenu->EnableMenuItem(SC_CLOSE, MF_BYCOMMAND|MF_DISABLED|MF_GRAYED);