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

📄 edit_8h.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!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: edit.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&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_000003.htm">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000004.htm">ctrl</a></div><h1>edit.h File Reference</h1><p><a href="edit_8h-source.htm">Go to the source code of this file.</a><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__edit.htm#ga0">CTRL_EDIT</a>&nbsp;&nbsp;&nbsp;("edit")<dl class="el"><dd class="mdescRight">The class name of simple single-line editor box.  <a href="group__ctrl__edit.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit.htm#ga1">CTRL_SLEDIT</a>&nbsp;&nbsp;&nbsp;("sledit")<dl class="el"><dd class="mdescRight">The class name of single-line editor box.  <a href="group__ctrl__edit.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit.htm#ga2">CTRL_MLEDIT</a>&nbsp;&nbsp;&nbsp;("mledit")<dl class="el"><dd class="mdescRight">The class name of multiple-line editor box.  <a href="group__ctrl__edit.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit.htm#ga3">CTRL_MEDIT</a>&nbsp;&nbsp;&nbsp;("medit")<dl class="el"><dd class="mdescRight">Another class name of multiple-line editor box.  <a href="group__ctrl__edit.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga0">ES_LEFT</a>&nbsp;&nbsp;&nbsp;0x00000000L<dl class="el"><dd class="mdescRight">Left-aligned text.  <a href="group__ctrl__edit__styles.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga1">ES_CENTER</a>&nbsp;&nbsp;&nbsp;0x00000001L<dl class="el"><dd class="mdescRight">Center-aligned text.  <a href="group__ctrl__edit__styles.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga2">ES_RIGHT</a>&nbsp;&nbsp;&nbsp;0x00000002L<dl class="el"><dd class="mdescRight">Right-aligned text.  <a href="group__ctrl__edit__styles.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga3">ES_MULTILINE</a>&nbsp;&nbsp;&nbsp;0x00000004L<dl class="el"><dd class="mdescRight">Multi-line text.  <a href="group__ctrl__edit__styles.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga4">ES_UPPERCASE</a>&nbsp;&nbsp;&nbsp;0x00000008L<dl class="el"><dd class="mdescRight">Converts all characters to uppercase as they are typed into the edit control.  <a href="group__ctrl__edit__styles.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga5">ES_LOWERCASE</a>&nbsp;&nbsp;&nbsp;0x00000010L<dl class="el"><dd class="mdescRight">Converts all characters to lowercase as they are typed into the edit control.  <a href="group__ctrl__edit__styles.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga6">ES_PASSWORD</a>&nbsp;&nbsp;&nbsp;0x00000020L<dl class="el"><dd class="mdescRight">Displays an asterisk (*) for each character typed into the edit control.  <a href="group__ctrl__edit__styles.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga9">ES_NOHIDESEL</a>&nbsp;&nbsp;&nbsp;0x00000100L<dl class="el"><dd class="mdescRight">Edit control with this style will remain selected when focus is lost.  <a href="group__ctrl__edit__styles.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga10">ES_AUTOSELECT</a>&nbsp;&nbsp;&nbsp;0x00000400L<dl class="el"><dd class="mdescRight">Selects all text when getting focus.  <a href="group__ctrl__edit__styles.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga11">ES_READONLY</a>&nbsp;&nbsp;&nbsp;0x00000800L<dl class="el"><dd class="mdescRight">Prevents the user from typing or editing text in the edit control.  <a href="group__ctrl__edit__styles.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga12">ES_BASELINE</a>&nbsp;&nbsp;&nbsp;0x00001000L<dl class="el"><dd class="mdescRight">Draws base line under input area instead of frame border.  <a href="group__ctrl__edit__styles.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga13">ES_AUTOWRAP</a>&nbsp;&nbsp;&nbsp;0x00002000L<dl class="el"><dd class="mdescRight">Automatically wraps against border when inputting.  <a href="group__ctrl__edit__styles.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga14">ES_TITLE</a>&nbsp;&nbsp;&nbsp;0x00004000L<dl class="el"><dd class="mdescRight">Shows specified title texts.  <a href="group__ctrl__edit__styles.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__styles.htm#ga15">ES_TIP</a>&nbsp;&nbsp;&nbsp;0x00008000L<dl class="el"><dd class="mdescRight">Shows specified tip texts.  <a href="group__ctrl__edit__styles.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga2">EM_GETSEL</a>&nbsp;&nbsp;&nbsp;0xF0B0<dl class="el"><dd class="mdescRight">Gets the selected string in the edit control.  <a href="group__ctrl__edit__msgs.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga3">EM_SETSEL</a>&nbsp;&nbsp;&nbsp;0xF0B1<dl class="el"><dd class="mdescRight">Sets the selected point in the edit control and makes the text between insertion point and selection point selected.  <a href="group__ctrl__edit__msgs.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga4">EM_SETSELECTION</a>&nbsp;&nbsp;&nbsp;EM_SETSEL<li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga5">EM_SELECTALL</a>&nbsp;&nbsp;&nbsp;0xF0B2<dl class="el"><dd class="mdescRight">Selects all the texts, the same meaning as ctrl+a.  <a href="group__ctrl__edit__msgs.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga6">EM_GETSELPOS</a>&nbsp;&nbsp;&nbsp;0xF0B3<dl class="el"><dd class="mdescRight">Gets the position of the selection point.  <a href="group__ctrl__edit__msgs.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga7">EM_INSERTCBTEXT</a>&nbsp;&nbsp;&nbsp;0xF0B4<dl class="el"><dd class="mdescRight">Inserts the text in the clipboard to the current caret position.  <a href="group__ctrl__edit__msgs.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga8">EM_COPYTOCB</a>&nbsp;&nbsp;&nbsp;0xF0B5<dl class="el"><dd class="mdescRight">Copies the currently selected text to the clipboard.  <a href="group__ctrl__edit__msgs.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga9">EM_CUTTOCB</a>&nbsp;&nbsp;&nbsp;0xF0B6<dl class="el"><dd class="mdescRight">Cuts the currently selected text to the clipboard.  <a href="group__ctrl__edit__msgs.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga10">EM_SETLFDISPCHAR</a>&nbsp;&nbsp;&nbsp;0xF0B7<dl class="el"><dd class="mdescRight">Sets the char used to represent the line seperator.  <a href="group__ctrl__edit__msgs.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga11">EM_SETLINESEP</a>&nbsp;&nbsp;&nbsp;0xF0B8<dl class="el"><dd class="mdescRight">Sets the line seperator.  <a href="group__ctrl__edit__msgs.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga12">EM_GETCARETPOS</a>&nbsp;&nbsp;&nbsp;0xF0B9<dl class="el"><dd class="mdescRight">Gets the position of the caret.  <a href="group__ctrl__edit__msgs.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga13">EM_SETCARETPOS</a>&nbsp;&nbsp;&nbsp;0xF0BA<dl class="el"><dd class="mdescRight">Sets the position of the caret.  <a href="group__ctrl__edit__msgs.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga14">EM_SETINSERTION</a>&nbsp;&nbsp;&nbsp;EM_SETCARETPOS<li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga15">EM_GETLINECOUNT</a>&nbsp;&nbsp;&nbsp;0xF0BC<dl class="el"><dd class="mdescRight">Gets the line number.  <a href="group__ctrl__edit__msgs.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga16">EM_GETLINEHEIGHT</a>&nbsp;&nbsp;&nbsp;0xF0BD<dl class="el"><dd class="mdescRight">Gets the height of a line.  <a href="group__ctrl__edit__msgs.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga17">EM_SETLINEHEIGHT</a>&nbsp;&nbsp;&nbsp;0xF0BE<dl class="el"><dd class="mdescRight">Sets the height of a line.  <a href="group__ctrl__edit__msgs.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga19">EM_INSERTTEXT</a>&nbsp;&nbsp;&nbsp;0xF0C0<dl class="el"><dd class="mdescRight">Inserts the specified text to the current caret position.  <a href="group__ctrl__edit__msgs.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga22">EM_GETMAXLIMIT</a>&nbsp;&nbsp;&nbsp;0xF0C3<dl class="el"><dd class="mdescRight">Get text limit of a single-line edit control.  <a href="group__ctrl__edit__msgs.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga24">EM_LIMITTEXT</a>&nbsp;&nbsp;&nbsp;0xF0C5<dl class="el"><dd class="mdescRight">Set text limit of an edit control.  <a href="group__ctrl__edit__msgs.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga25">EM_REDO</a>&nbsp;&nbsp;&nbsp;0xF0C6<dl class="el"><dd class="mdescRight">Redo operation.  <a href="group__ctrl__edit__msgs.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga26">EM_UNDO</a>&nbsp;&nbsp;&nbsp;0xF0C7<dl class="el"><dd class="mdescRight">Undo operation.  <a href="group__ctrl__edit__msgs.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga30">EM_SETPASSWORDCHAR</a>&nbsp;&nbsp;&nbsp;0xF0CC<dl class="el"><dd class="mdescRight">Defines the character that edit control uses in conjunction with the ES_PASSWORD style.  <a href="group__ctrl__edit__msgs.htm#ga30"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga33">EM_SETREADONLY</a>&nbsp;&nbsp;&nbsp;0xF0CF<dl class="el"><dd class="mdescRight">Sets or removes the read-only style (ES_READONLY) in an edit control.  <a href="group__ctrl__edit__msgs.htm#ga33"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga34">EM_SETDRAWSELECTFUNC</a>&nbsp;&nbsp;&nbsp;0xF0D0<dl class="el"><dd class="mdescRight">Sets the callback function on drawing selected chars.  <a href="group__ctrl__edit__msgs.htm#ga34"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga35">EM_SETGETCARETWIDTHFUNC</a>&nbsp;&nbsp;&nbsp;0xF0D1<dl class="el"><dd class="mdescRight">Sets the callback function on getting caret width.  <a href="group__ctrl__edit__msgs.htm#ga35"></a><br></dl><li>#define <a class="el" href="group__ctrl__edit__msgs.htm#ga36">EM_GETPASSWORDCHAR</a>&nbsp;&nbsp;&nbsp;0xF0D2

⌨️ 快捷键说明

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