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

📄 filedlg_8h-source.htm

📁 MINIGUI1.6开发API
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: filedlg.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><div class="nav"><a class="el" href="dir_000000.htm">ext</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.htm">include</a></div><h1>filedlg.h</h1><a href="filedlg_8h.htm">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 00021 <span class="comment">/*</span>00022 <span class="comment"> * $Id: filedlg.h 7369 2007-08-16 05:28:10Z xgwang $</span>00023 <span class="comment"> *</span>00024 <span class="comment"> *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, </span>00025 <span class="comment"> *                     pSOS, ThreadX, NuCleus, OSE, and Win32.</span>00026 <span class="comment"> *</span>00027 <span class="comment"> *             Copyright (C) 2002-2007 Feynman Software.</span>00028 <span class="comment"> *             Copyright (C) 1998-2002 Wei Yongming.</span>00029 <span class="comment"> */</span>00030 00031 <span class="preprocessor">#ifndef _MGUI_FILEDLG_H</span>00032 <span class="preprocessor"></span><span class="preprocessor">#define _MGUI_FILEDLG_H</span>00033 <span class="preprocessor"></span>00034 <span class="preprocessor">#include &lt;sys/types.h&gt;</span>00035 <span class="preprocessor">#include &lt;dirent.h&gt;</span>00036 00037 <span class="preprocessor">#ifdef __cplusplus</span>00038 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {00039 <span class="preprocessor">#endif  </span><span class="comment">/* __cplusplus */</span>00040 <a name="l00055"></a><a class="code" href="group__mywins__filedlg.htm#ga4">00055</a> <span class="preprocessor">#define FILE_ERROR_OK           0</span>00056 <span class="preprocessor"></span><a name="l00061"></a><a class="code" href="group__mywins__filedlg.htm#ga5">00061</a> <span class="preprocessor">#define FILE_ERROR_PARAMERR     -1</span>00062 <span class="preprocessor"></span><a name="l00067"></a><a class="code" href="group__mywins__filedlg.htm#ga6">00067</a> <span class="preprocessor">#define FILE_ERROR_PATHNOTEXIST -2</span>00068 <span class="preprocessor"></span><a name="l00073"></a><a class="code" href="struct__FILEDLGDATA.htm">00073</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__FILEDLGDATA.htm">_FILEDLGDATA</a>00074 {<a name="l00076"></a><a class="code" href="struct__FILEDLGDATA.htm#o0">00076</a>         <a class="code" href="group__simple__types.htm#ga0">BOOL</a>    <a class="code" href="struct__FILEDLGDATA.htm#o0">IsSave</a>;<a name="l00078"></a><a class="code" href="struct__FILEDLGDATA.htm#o1">00078</a>     <span class="keywordtype">char</span>        <a class="code" href="struct__FILEDLGDATA.htm#o1">filefullname</a>[NAME_MAX + PATH_MAX + 1];<a name="l00080"></a><a class="code" href="struct__FILEDLGDATA.htm#o2">00080</a>     <span class="keywordtype">char</span>        <a class="code" href="struct__FILEDLGDATA.htm#o2">filename</a>[NAME_MAX + 1];<a name="l00082"></a><a class="code" href="struct__FILEDLGDATA.htm#o3">00082</a>     <span class="keywordtype">char</span>        <a class="code" href="struct__FILEDLGDATA.htm#o3">filepath</a>[PATH_MAX + 1];00083 } <a class="code" href="struct__FILEDLGDATA.htm">FILEDLGDATA</a>;00084 <a name="l00086"></a><a class="code" href="group__mywins__filedlg.htm#ga1">00086</a> <span class="keyword">typedef</span> <a class="code" href="struct__FILEDLGDATA.htm">FILEDLGDATA</a>* <a class="code" href="struct__FILEDLGDATA.htm">PFILEDLGDATA</a>;00087 00113 MGEXT_EXPORT <span class="keywordtype">int</span> <a class="code" href="group__mywins__filedlg.htm#ga2">OpenFileDialogEx</a> (<a class="code" href="group__handles.htm#ga1">HWND</a> hWnd, <span class="keywordtype">int</span> lx, <span class="keywordtype">int</span> ty, 00114                 <span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, PFILEDLGDATA pmwfi);00115 <a name="l00138"></a><a class="code" href="group__mywins__filedlg.htm#ga3">00138</a> <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="group__mywins__filedlg.htm#ga3">OpenFileDialog</a> (<a class="code" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="code" href="group__simple__types.htm#ga0">BOOL</a> isSave, PFILEDLGDATA pmwfi)00139 {00140     pmwfi-&gt;<a class="code" href="struct__FILEDLGDATA.htm#o0">IsSave</a> = isSave;00141     <span class="keywordflow">return</span> <a class="code" href="group__mywins__filedlg.htm#ga2">OpenFileDialogEx</a> (hWnd, 50, 50, 330, 280, pmwfi);00142 }00143 00148 <span class="preprocessor">#ifdef __cplusplus</span>00149 <span class="preprocessor"></span>}00150 <span class="preprocessor">#endif  </span><span class="comment">/* __cplusplus */</span>00151 00152 <span class="preprocessor">#endif </span><span class="comment">/* _MGUI_FILEDLG_H */</span>00153 00154 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:50 2007 for MiniGUI V1.6.10 API Reference by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

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