{"blog_title":"\u6a5f\u68b0\u5b66\u7fd2\u57fa\u790e\u7406\u8ad6\u72ec\u7fd2","categories":["Visual Studio"],"provider_url":"https://hatena.blog","published":"2025-10-25 20:05:42","title":"\u3010MFC\u3011Window \u3092\u8cbc\u308a\u4ed8\u3051\u308b Sample Program","provider_name":"Hatena Blog","description":"\u624b\u9806 1. MFC \u3092\u9078\u3073\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092 SampleWindowPaint \u3068\u3057 Dialog Base \u3067\u4f5c\u6210\u3059\u308b\u3002 2. Base Class \u3092 CWnd \u306b\u3057\u3066 Class CImageView \u3092\u4f5c\u6210\u3059\u308b\u3002 3. CImageView \u306b CImage m_Image \u3092\u5b9a\u7fa9\u3059\u308b\u3002 4. CImageView \u306b BOOL LoadImageFile(LPCTSTR path); afx_msg void OnPaint(); \u3092\u5b9f\u88c5\u3059\u308b\u3002 5. CSampleWindowPaintDlg \u306b CImageView m_ImageView; \u3092\u5b9a\u7fa9\u3059\u308b\u3002 6. CSampleW\u2026","type":"rich","blog_url":"https://olj611.hatenablog.com/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/o/olj611/20251025/20251025200040.png","author_name":"olj611","width":"100%","version":"1.0","url":"https://olj611.hatenablog.com/entry/2025/10/25/200542","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Folj611.hatenablog.com%2Fentry%2F2025%2F10%2F25%2F200542\" title=\"\u3010MFC\u3011Window \u3092\u8cbc\u308a\u4ed8\u3051\u308b Sample Program - \u6a5f\u68b0\u5b66\u7fd2\u57fa\u790e\u7406\u8ad6\u72ec\u7fd2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/olj611/"}