{"id":1289,"date":"2015-06-16T23:00:41","date_gmt":"2015-06-16T14:00:41","guid":{"rendered":"http:\/\/comet-web.net\/mira\/?p=1289"},"modified":"2022-04-19T05:17:40","modified_gmt":"2022-04-18T20:17:40","slug":"1-7","status":"publish","type":"post","link":"https:\/\/comet-web.net\/mira\/wp\/?p=1289","title":{"rendered":"Vista\u304b\u3089CFileDialog\u306e\u4ed5\u69d8\u304c\u5909\u66f4\u306b\u306a\u3063\u3066\u3044\u305f!"},"content":{"rendered":"<p>\u5929\u4f53\u8ecc\u9053\u8a08\u7b97\u30bd\u30d5\u30c8OrbitLife\u306fVisual Studio 2005\u306eC++\u3067\u958b\u767a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Windows 8.1\u3067\u306f\u305d\u308c\u304c\u52d5\u4f5c\u3057\u306a\u3044\u306e\u3067\u3001\u4eca\u56deVisual Studio 2013\u3067\u30ea\u30d3\u30eb\u30c9\u3057\u307e\u3057\u305f\u3002<br \/>\n\u7279\u306b\u4fee\u6b63\u3057\u306a\u304f\u3066\u3082\u6b63\u5e38\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u3001OrbitLife\u306e\u4e00\u756a\u8907\u96d1\u306a\u51e6\u7406\u3067\u3042\u308b\u6442\u52d5\u8a08\u7b97\u3082\u6b63\u3057\u304f\u52d5\u3044\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u6a5f\u80fd\u8ffd\u52a0\u3092\u3057\u3066\u516c\u958b\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u6b21\u306e\u65e5\u306b\u300c\u8a08\u7b97\u7d50\u679c\u304c\u6b63\u3057\u304f\u4fdd\u5b58\u3055\u308c\u307e\u305b\u3093\u300d\u3068\u306e\u9023\u7d61\u304c\u6765\u307e\u3057\u305f\u3002<br \/>\n\u4fdd\u5b58\u3059\u308b\u3068\u304d\u306f\u3001\u6b63\u5e38\u306a\u3089\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3059\u304c&#8230;.<\/p>\n<p><center><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.comet-web.net\/mira\/Photo\/Hitorigoto_2015\/D20150616_1.jpg\" width=\"400\" height=\"313\" border=\"0\"><br \/>\n(1)\u8a08\u7b97\u7d50\u679c\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u6642\u306e\u6b63\u3057\u3044\u753b\u9762<\/p>\n<p><\/center><br \/>\n\u3084\u3063\u3066\u307f\u308b\u3068\u4e0b\u306e\u3088\u3046\u306a\u666e\u901a\u306e\u4fdd\u5b58\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u6b63\u3057\u3044\u753b\u9762\u306fCFileDialog\u30af\u30e9\u30b9\u304b\u3089\u6d3e\u751f\u3055\u305b\u3066\u4fdd\u5b58\u5f62\u5f0f\u7b49\u3092\u9078\u629e\u3067\u304d\u308b\u6a5f\u80fd\u3092\u6301\u305f\u305b\u305f\u3082\u306e\u3067\u3059\u3002\u3057\u304b\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u4fdd\u5b58\u5f62\u5f0f\u3067\u3042\u308bMPC8\u884c\u5f62\u5f0f\u304c\u6b63\u3057\u304f\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p><center><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.comet-web.net\/mira\/Photo\/Hitorigoto_2015\/D20150616_2.jpg\" width=\"400\" height=\"237\" border=\"0\"><br \/>\n(2)Visual Studio 2013\u3067\u30ea\u30d3\u30eb\u30c9\u3057\u305f\u3060\u3051\u306e\u753b\u9762<\/p>\n<p><\/center><br \/>\n\u30cd\u30c3\u30c8\u3067\u539f\u56e0\u3092\u8abf\u3079\u3088\u3046\u3068\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u9069\u5207\u3067\u306f\u306a\u3044\u306e\u304b\u3001\u60c5\u5831\u305d\u306e\u3082\u306e\u304c\u5c11\u306a\u3044\u306e\u304b\u3001\u539f\u56e0\u304c\u3059\u3050\u306b\u306f\u5224\u660e\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u305d\u3053\u3067\u3001\u3057\u3076\u3057\u3076<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/dk77e5e7.aspx\" target=\"_blank\" rel=\"noopener\">MSDN\u306eCFileDialog\u30af\u30e9\u30b9(Visual Studio 2013)<\/a>\u3092\u8aad\u3093\u3067\u307f\u308b\u3068&#8230;\u3002\u3042\u308a\u307e\u3057\u305f\u3002\u516c\u5f0f\u6587\u66f8\u306f\u8aad\u3080\u3082\u306e\u3067\u3059\u306d ^_^;\u3000\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u4e2d\u6bb5\u304f\u3089\u3044\u306b\u3042\u308b\u300c\u89e3\u8aac\u300d\u306b\u660e\u8a18\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308b\u3068\u3001Windows Vista\u3067CFileDialog\u30af\u30e9\u30b9\u306e\u4ed5\u69d8\u304c\u5909\u66f4\u306b\u306a\u308a\u3001Visual Studio 2013\u3067\u305d\u308c\u306b\u5bfe\u5fdc\u3057\u305f\u305f\u3081\u306b\u3001\u5f93\u6765\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u3068Vista\u4ee5\u964d\u306e\u5f62\u5f0f\u3067\u52d5\u4f5c\u3059\u308b\u306e\u3060\u3068\u89e3\u91c8\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3082\u3001Vista\u5f62\u5f0f\u3060\u3068CDialog::OnInitDialog\u95a2\u6570\u306f\u7121\u52b9\u306b\u306a\u308b\u3068\u660e\u8a18\u3055\u308c\u3066\u3044\u307e\u3059\u3002OnInitDialog\u95a2\u6570\u3067\u884c\u3063\u3066\u3044\u308b\u51e6\u7406\u3092\u3069\u306e\u3088\u3046\u306b\u4f5c\u308a\u5909\u3048\u308c\u3070\u826f\u3044\u306e\u3060\u308d\u3046\u3068\u3055\u3093\u3056\u3093\u8003\u3048\u305f\u306e\u3067\u3059\u304c\u3001\u3088\u304f\u308f\u304b\u3089\u305a\u3001\u8a66\u3057\u306b\u57fa\u5e95\u30af\u30e9\u30b9\u306eCFileDialog\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\u306b\u7b2c7\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u7b2c8\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3001bVistaStyle\u3092FALSE\u306b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e0b\u306f\u5f93\u6765\u306e\u30b3\u30fc\u30c9<\/p>\n<pre class=\"lang:c++ mark:3 decode:true \">CFileOptionDlg::CFileOptionDlg(BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName,\n    DWORD dwFlags, LPCTSTR lpszFilter, CWnd* pParentWnd) :\n    CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd)\n{\n    m_ofn.Flags |= OFN_ENABLETEMPLATE;\n    m_ofn.lpTemplateName = MAKEINTRESOURCE(IDD_FILEOPTIONDLG);\n}\n<\/pre>\n<p>\u4e0b\u306f\u6539\u826f\u5f8c\u306e\u30b3\u30fc\u30c9<\/p>\n<pre class=\"lang:c++ mark:3 decode:true \">CFileOptionDlg::CFileOptionDlg(BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName,\n    DWORD dwFlags, LPCTSTR lpszFilter, CWnd* pParentWnd) :\n    CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd, 0, FALSE)\n{\n    m_ofn.Flags |= OFN_ENABLETEMPLATE;\n    m_ofn.lpTemplateName = MAKEINTRESOURCE(IDD_FILEOPTIONDLG);\n}\n<\/pre>\n<p>\u3053\u308c\u3067\u3001\u30d0\u30c3\u30c1\u30ea\u3001FileDialog\u306e\u898b\u305f\u76ee\u3082\u5f93\u6765\u306e\u307e\u307e\u3067\u3001OnInitDialog\u3082\u52d5\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5929\u4f53\u8ecc\u9053\u8a08\u7b97\u30bd\u30d5\u30c8OrbitLife\u306fVisual Studio 2005\u306eC+&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/comet-web.net\/mira\/wp\/?p=1289\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[45],"class_list":["post-1289","post","type-post","status-publish","format-standard","hentry","category-8","tag-visual-studio-2013"],"_links":{"self":[{"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1289"}],"version-history":[{"count":2,"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1289\/revisions"}],"predecessor-version":[{"id":1576,"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1289\/revisions\/1576"}],"wp:attachment":[{"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/comet-web.net\/mira\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}