{"id":1130,"date":"2014-05-08T15:52:38","date_gmt":"2014-05-08T07:52:38","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1130"},"modified":"2014-05-10T15:01:52","modified_gmt":"2014-05-10T07:01:52","slug":"vc-mfc-cfiledialog-%e4%bf%9d%e5%ad%98%e6%96%87%e4%bb%b6%e5%88%b0%e6%8c%87%e5%ae%9a%e7%9b%ae%e5%bd%95%e6%96%87%e4%bb%b6%e4%b8%8b","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1130","title":{"rendered":"vc-mfc-CFileDialog \u4fdd\u5b58\u6587\u4ef6\u5230\u6307\u5b9a\u76ee\u5f55\u6587\u4ef6\u4e0b"},"content":{"rendered":"
CFileDialog infofile(FALSE,NULL,\"\u8bf7\u8f93\u5165\u8981\u4fdd\u5b58\u7684\u6a21\u677f\u540d\u79f0\",OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT|OFN_NOCHANGEDIR,\r\n\"TPL\u6587\u4ef6(*.tpl)|*.TPL| |\",AfxGetMainWnd());\r\n\r\ninfofile.m_ofn.lpstrInitialDir = \"c:\\\\\";\r\nCString strTplFileName;\r\nif(infofile.DoModal()==IDOK)\r\n{\r\nstrTplFileName=infofile.GetPathName()+\".tpl\";\r\n}<\/pre>\n\u8fd9\u6837\u5c31\u80fd\u4fdd\u5b58\u5230c\u76d8\u4e0b\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
CFileDialog infofile(FALSE,NULL,”\u8bf7\u8f93\u5165\u8981\u4fdd\u5b58\u7684\u6a21\u677f\u540d\u79f0”,OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT|OFN_NOCHANGEDIR, “TPL\u6587\u4ef6(*.tpl)|*.TPL| |”,AfxGetMainWnd()); infofile.m_ofn.lpstrInitialDir = “c:\\\\”; CString strTplFileName; if(infofile.DoModal()==IDOK) { strTplFileName=infofile.GetPathName()+”.tpl”; } \u8fd9\u6837\u5c31\u80fd\u4fdd\u5b58\u5230c\u76d8\u4e0b\u4e86\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,9],"tags":[191,173,144],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1130"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1130"}],"version-history":[{"count":2,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1130\/revisions"}],"predecessor-version":[{"id":1153,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1130\/revisions\/1153"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1130"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}