Placing Dialog at the center BOOL CTest11Dlg::OnInitDialog(){CDialog::OnInitDialog();CWnd* pWnd = GetDesktopWindow();CenterWindow(pWnd);return TRUE} Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related Posted on 2014-07-26 5:24 AM by andrew Comment 📂This entry was posted in C/C++ MFC & WINDOWS 참고를 위한 저장물
2014-11-26 andrew [펌][mfc] Dialog창에서 Enter누르면 창이 닫히는 증상 개선 하자..원인은 Dailog에서 Enter나 ESC가 눌리면 Event를 찾다가 구현이 없으면 부모인 CDialog의 SetDefID 함수를 부르는데 여기에 IDOK가 구현 되어 있어서 그...
2014-06-29 andrew Splitting a C++ std::string using tokens, e.g. “;” [duplicate]std::vector<std::string> split(const std::string& s,char seperator){ std::vector<std::s...