📄 minigui_8h.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: minigui.h File Reference</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 Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><div class="nav"><a class="el" href="dir_000003.htm">include</a></div><h1>minigui.h File Reference</h1><p><a href="minigui_8h-source.htm">Go to the source code of this file.</a><h2>Defines</h2><ul><li>#define <a class="el" href="group__rect__vars.htm#ga1">g_rcDesktop</a> <a class="el" href="group__rect__vars.htm#ga0">g_rcScr</a><dl class="el"><dd class="mdescRight">Contains the rectangle of desktop of the application. <a href="group__rect__vars.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__init__fns.htm#ga6">ReinitDesktop</a>() ReinitDesktopEx (TRUE)<dl class="el"><dd class="mdescRight">Re-initializes the desktop including the local system text. <a href="group__init__fns.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__init__fns.htm#ga8">MiniGUIMain</a><dl class="el"><dd class="mdescRight">The main entry of a MiniGUI application. <a href="group__init__fns.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__init__fns.htm#ga9">IDM_DTI_FIRST</a> (300)<dl class="el"><dd class="mdescRight">The minimum interger value of command ID when user customize desktop menu. <a href="group__init__fns.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga21">ETC_MAXLINE</a> 1024<dl class="el"><dd class="mdescRight">The max line number of etc file. <a href="group__etc__fns.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga22">ETC_FILENOTFOUND</a> -1<dl class="el"><dd class="mdescRight">No found etc file. <a href="group__etc__fns.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga23">ETC_SECTIONNOTFOUND</a> -2<dl class="el"><dd class="mdescRight">No found section in etc file. <a href="group__etc__fns.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga24">ETC_KEYNOTFOUND</a> -3<dl class="el"><dd class="mdescRight">No found key in etc file. <a href="group__etc__fns.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga25">ETC_TMPFILEFAILED</a> -4<dl class="el"><dd class="mdescRight">Create tmpfile failed. <a href="group__etc__fns.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga26">ETC_FILEIOFAILED</a> -5<dl class="el"><dd class="mdescRight">IO operation failed to etc file. <a href="group__etc__fns.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga27">ETC_INTCONV</a> -6<dl class="el"><dd class="mdescRight">Convert the value string to an integer failed. <a href="group__etc__fns.htm#ga27"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga28">ETC_INVALIDOBJ</a> -7<dl class="el"><dd class="mdescRight">Invalid object to etc file. <a href="group__etc__fns.htm#ga28"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga29">ETC_READONLYOBJ</a> -8<dl class="el"><dd class="mdescRight">Read only to etc file. <a href="group__etc__fns.htm#ga29"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga30">ETC_OK</a> 0<dl class="el"><dd class="mdescRight">Operate success to etc file. <a href="group__etc__fns.htm#ga30"></a><br></dl><li>#define <a class="el" href="group__etc__fns.htm#ga31">SetValueToEtc</a>(hEtc, pSection, pKey, pValue) GetValueFromEtc(hEtc, pSection, pKey, pValue, -1)<dl class="el"><dd class="mdescRight">Sets the value in the etc object. <a href="group__etc__fns.htm#ga31"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga6">LEN_CLIPBOARD_NAME</a> 15<dl class="el"><dd class="mdescRight">The maximum length of the name of clipboard. <a href="group__clipboard__fns.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga7">NR_CLIPBOARDS</a> 4<dl class="el"><dd class="mdescRight">The maximum number of clipboard. <a href="group__clipboard__fns.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga8">CBNAME_TEXT</a> ("text")<dl class="el"><dd class="mdescRight">The default clipboard name of text control. <a href="group__clipboard__fns.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga9">CBERR_OK</a> 0<dl class="el"><dd class="mdescRight">Operate clipboard success. <a href="group__clipboard__fns.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga10">CBERR_BADNAME</a> 1<dl class="el"><dd class="mdescRight">Bad name to clipboard. <a href="group__clipboard__fns.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga11">CBERR_NOMEM</a> 2<dl class="el"><dd class="mdescRight">No enough memory to clipboard. <a href="group__clipboard__fns.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga12">CBOP_NORMAL</a> 0<dl class="el"><dd class="mdescRight">Overwrite operation to clipboard. <a href="group__clipboard__fns.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__clipboard__fns.htm#ga13">CBOP_APPEND</a> 1<dl class="el"><dd class="mdescRight">Append the new data to clipboarda after the old data. <a href="group__clipboard__fns.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga29">Beep</a> Ping<dl class="el"><dd class="mdescRight">Alias of Ping. <a href="group__misc__fns.htm#ga29"></a><br></dl><li>#define <a class="el" href="group__cursor__fns.htm#ga14">IDC_ARROW</a> 0<li>#define <a class="el" href="group__cursor__fns.htm#ga15">IDC_IBEAM</a> 1<li>#define <a class="el" href="group__cursor__fns.htm#ga16">IDC_PENCIL</a> 2<li>#define <a class="el" href="group__cursor__fns.htm#ga17">IDC_CROSS</a> 3<li>#define <a class="el" href="group__cursor__fns.htm#ga18">IDC_MOVE</a> 4<li>#define <a class="el" href="group__cursor__fns.htm#ga19">IDC_SIZENWSE</a> 5<li>#define <a class="el" href="group__cursor__fns.htm#ga20">IDC_SIZENESW</a> 6<li>#define <a class="el" href="group__cursor__fns.htm#ga21">IDC_SIZEWE</a> 7<li>#define <a class="el" href="group__cursor__fns.htm#ga22">IDC_SIZENS</a> 8<li>#define <a class="el" href="group__cursor__fns.htm#ga23">IDC_UPARROW</a> 9<li>#define <a class="el" href="group__cursor__fns.htm#ga24">IDC_NONE</a> 10<li>#define <a class="el" href="group__cursor__fns.htm#ga25">IDC_HELP</a> 11<li>#define <a class="el" href="group__cursor__fns.htm#ga26">IDC_BUSY</a> 12<li>#define <a class="el" href="group__cursor__fns.htm#ga27">IDC_WAIT</a> 13<li>#define <a class="el" href="group__cursor__fns.htm#ga28">IDC_RARROW</a> 14<li>#define <a class="el" href="group__cursor__fns.htm#ga29">IDC_COLOMN</a> 15<li>#define <a class="el" href="group__cursor__fns.htm#ga30">IDC_ROW</a> 16<li>#define <a class="el" href="group__cursor__fns.htm#ga31">IDC_DRAG</a> 17<li>#define <a class="el" href="group__cursor__fns.htm#ga32">IDC_NODROP</a> 18<li>#define <a class="el" href="group__cursor__fns.htm#ga33">IDC_HAND_POINT</a> 19<li>#define <a class="el" href="group__cursor__fns.htm#ga34">IDC_HAND_SELECT</a> 20<li>#define <a class="el" href="group__cursor__fns.htm#ga35">IDC_SPLIT_HORZ</a> 21<li>#define <a class="el" href="group__cursor__fns.htm#ga36">IDC_SPLIT_VERT</a> 22<li>#define <a class="el" href="group__cursor__fns.htm#ga37">SetCursor</a>(hcsr) SetCursorEx (hcsr, FALSE)<dl class="el"><dd class="mdescRight">Changes the current cursor. <a href="group__cursor__fns.htm#ga37"></a><br></dl><li>#define <a class="el" href="group__cursor__fns.htm#ga38">SetDefaultCursor</a>(hcsr) SetCursorEx (hcsr, TRUE)<dl class="el"><dd class="mdescRight">Changes the current cursor, and set it as the default cursor. <a href="group__cursor__fns.htm#ga38"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga4">IDS_MGST_WINDOW</a> 0<dl class="el"><dd class="mdescRight">The identifier of the window system text. <a href="group__sys__text.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga5">IDS_MGST_START</a> 1<dl class="el"><dd class="mdescRight">The identifier of the start system text. <a href="group__sys__text.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga6">IDS_MGST_REFRESH</a> 2<dl class="el"><dd class="mdescRight">The identifier of the refresh background system text. <a href="group__sys__text.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga7">IDS_MGST_CLOSEALLWIN</a> 3<dl class="el"><dd class="mdescRight">The identifier of the close all windows system text. <a href="group__sys__text.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga8">IDS_MGST_ENDSESSION</a> 4<dl class="el"><dd class="mdescRight">The identifier of the end session system text. <a href="group__sys__text.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga9">IDS_MGST_OPERATIONS</a> 5<dl class="el"><dd class="mdescRight">The identifier of the operations system text. <a href="group__sys__text.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga10">IDS_MGST_MINIMIZE</a> 6<dl class="el"><dd class="mdescRight">The identifier of the minimize system text. <a href="group__sys__text.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga11">IDS_MGST_MAXIMIZE</a> 7<dl class="el"><dd class="mdescRight">The identifier of the maximize system text. <a href="group__sys__text.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga12">IDS_MGST_RESTORE</a> 8<dl class="el"><dd class="mdescRight">The identifier of the restore system text. <a href="group__sys__text.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga13">IDS_MGST_CLOSE</a> 9<dl class="el"><dd class="mdescRight">The identifier of the close system text. <a href="group__sys__text.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga14">IDS_MGST_OK</a> 10<dl class="el"><dd class="mdescRight">The identifier of the ok system text. <a href="group__sys__text.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga15">IDS_MGST_NEXT</a> 11<dl class="el"><dd class="mdescRight">The identifier of the next system text. <a href="group__sys__text.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga16">IDS_MGST_CANCEL</a> 12<dl class="el"><dd class="mdescRight">The identifier of the cancel system text. <a href="group__sys__text.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga17">IDS_MGST_PREV</a> 13<dl class="el"><dd class="mdescRight">The identifier of the previous system text. <a href="group__sys__text.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga18">IDS_MGST_YES</a> 14<dl class="el"><dd class="mdescRight">The identifier of the yes system text. <a href="group__sys__text.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga19">IDS_MGST_NO</a> 15<dl class="el"><dd class="mdescRight">The identifier of the no system text. <a href="group__sys__text.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga20">IDS_MGST_ABORT</a> 16<dl class="el"><dd class="mdescRight">The identifier of the abort system text. <a href="group__sys__text.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga21">IDS_MGST_RETRY</a> 17<dl class="el"><dd class="mdescRight">The identifier of the retry system text. <a href="group__sys__text.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga22">IDS_MGST_IGNORE</a> 18<dl class="el"><dd class="mdescRight">The identifier of the ignore system text. <a href="group__sys__text.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga23">IDS_MGST_ABOUTMG</a> 19<dl class="el"><dd class="mdescRight">The identifier of the about minigui system text. <a href="group__sys__text.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga24">IDS_MGST_OPENFILE</a> 20<dl class="el"><dd class="mdescRight">The identifier of the open file system text. <a href="group__sys__text.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga25">IDS_MGST_SAVEFILE</a> 21<dl class="el"><dd class="mdescRight">The identifier of the save file system text. <a href="group__sys__text.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga26">IDS_MGST_COLORSEL</a> 22<dl class="el"><dd class="mdescRight">The identifier of the color selection system text. <a href="group__sys__text.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga27">IDS_MGST_SWITCHLAYER</a> 23<dl class="el"><dd class="mdescRight">The identifier of the switch layer system text. <a href="group__sys__text.htm#ga27"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga28">IDS_MGST_DELLAYER</a> 24<dl class="el"><dd class="mdescRight">The identifier of the delete layer system text. <a href="group__sys__text.htm#ga28"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga29">IDS_MGST_ERROR</a> 25<dl class="el"><dd class="mdescRight">The identifier of the error system text. <a href="group__sys__text.htm#ga29"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga30">IDS_MGST_LOGO</a> 26<dl class="el"><dd class="mdescRight">The identifier of the logo system text. <a href="group__sys__text.htm#ga30"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga31">IDS_MGST_CURRPATH</a> 27<dl class="el"><dd class="mdescRight">The identifier of the current path system text. <a href="group__sys__text.htm#ga31"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga32">IDS_MGST_FILE</a> 28<dl class="el"><dd class="mdescRight">The identifier of the file system text. <a href="group__sys__text.htm#ga32"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga33">IDS_MGST_LOCATION</a> 29<dl class="el"><dd class="mdescRight">The identifier of the location system text. <a href="group__sys__text.htm#ga33"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga34">IDS_MGST_UP</a> 30<dl class="el"><dd class="mdescRight">The identifier of the up system text. <a href="group__sys__text.htm#ga34"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga35">IDS_MGST_NAME</a> 31<dl class="el"><dd class="mdescRight">The identifier of the name system text. <a href="group__sys__text.htm#ga35"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga36">IDS_MGST_SIZE</a> 32<dl class="el"><dd class="mdescRight">The identifier of the size system text. <a href="group__sys__text.htm#ga36"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga37">IDS_MGST_ACCESSMODE</a> 33<dl class="el"><dd class="mdescRight">The identifier of the access mode system text. <a href="group__sys__text.htm#ga37"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga38">IDS_MGST_LASTMODTIME</a> 34<dl class="el"><dd class="mdescRight">The identifier of the last modify time system text. <a href="group__sys__text.htm#ga38"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga39">IDS_MGST_OPEN</a> 35<dl class="el"><dd class="mdescRight">The identifier of the open system text. <a href="group__sys__text.htm#ga39"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga40">IDS_MGST_FILENAME</a> 36<dl class="el"><dd class="mdescRight">The identifier of the file name system text. <a href="group__sys__text.htm#ga40"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga41">IDS_MGST_FILETYPE</a> 37<dl class="el"><dd class="mdescRight">The identifier of the file type system text. <a href="group__sys__text.htm#ga41"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga42">IDS_MGST_SHOWHIDEFILE</a> 38<dl class="el"><dd class="mdescRight">The identifier of the show hide file system text. <a href="group__sys__text.htm#ga42"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga43">IDS_MGST_NOTFOUND</a> 39<dl class="el"><dd class="mdescRight">The identifier of the not found file system text. <a href="group__sys__text.htm#ga43"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga44">IDS_MGST_NR</a> 40<dl class="el"><dd class="mdescRight">The identifier of the can't read system text. <a href="group__sys__text.htm#ga44"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga45">IDS_MGST_NW</a> 41<dl class="el"><dd class="mdescRight">The identifier of the can't write system text. <a href="group__sys__text.htm#ga45"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga46">IDS_MGST_INFO</a> 42<dl class="el"><dd class="mdescRight">The identifier of the information system text. <a href="group__sys__text.htm#ga46"></a><br></dl><li>#define <a class="el" href="group__sys__text.htm#ga47">IDS_MGST_R</a> 43
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -