{"id":1114,"date":"2014-05-03T22:54:41","date_gmt":"2014-05-03T14:54:41","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1114"},"modified":"2014-05-16T18:10:09","modified_gmt":"2014-05-16T10:10:09","slug":"mfcvc%e5%a6%82%e4%bd%95%e5%be%97%e5%88%b0%e5%af%b9%e8%af%9d%e6%a1%86%e6%a0%87%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1114","title":{"rendered":"[mfc][vc++]\u5982\u4f55\u5f97\u5230\u5bf9\u8bdd\u6846\u6807\u9898"},"content":{"rendered":"
[mfc][vc++]<\/p>\n
\r\n\u5982\u4f55\u5f97\u5230\u5bf9\u8bdd\u6846\u6807\u9898\r\n<\/pre>\n\tLPTSTR buffer= new TCHAR[255];\r\n\t::GetWindowText(GetActiveWindow()->m_hWnd,buffer,255);\r\n\tCString strWindowName = \"\";\r\n\tstrWindowName.Format(\"%s\",buffer);\r\n\tMessageBox(strWindowName);\r\n\tdelete [] buffer;<\/pre>\n","protected":false},"excerpt":{"rendered":"[mfc][vc++] \u5982\u4f55\u5f97\u5230\u5bf9\u8bdd\u6846\u6807\u9898 LPTSTR buffer= new TCHAR[255]; ::GetWindowText(GetActiveWindow()->m_hWnd,buffer,255); CString strWindowName = “”; strWindowName.Format(“%s”,buffer); MessageBox(strWindowName); delete [] buffer;<\/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":[173,144],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1114"}],"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=1114"}],"version-history":[{"count":3,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1114\/revisions"}],"predecessor-version":[{"id":1192,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1114\/revisions\/1192"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1114"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}