⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openfiledialog.h

📁 c+++ game uploading now
💻 H
字号:
/**
 @file
 Thin encapsulation of the win32 open dialog
*/
#if !defined _OPENFILEDIALOG_H_
#define _OPENFILEDIALOG_H_
#include <windows.h>
#include <commdlg.h>
#include <cderr.h>

namespace Win
{
    /**
     OpenFileDialog class, encapsulates the Win32 Common Controlls
     open dialogbox.
     BAD THING: this is specialized for files *.pos and *.*   */
    class OpenFileDialog
    {
    public:
        OpenFileDialog(HWND hwndParent);

        PSTR GetFileName();
    private:
        OPENFILENAME _ofn;
        TCHAR _szFileName[MAX_PATH]; 
    };
}
#endif //_OPENFILEDIALOG_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -