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

📄 ctrlhelper_8h.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: ctrlhelper.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>ctrlhelper.h File Reference</h1><p><a href="ctrlhelper_8h-source.htm">Go to the source code of this file.</a><h2>Defines</h2><ul><li>#define <a class="el" href="group__misc__fns.htm#ga19">Draw3DControlFrame</a>(hdc, l, t, r, b, fillc, updown)<dl class="el"><dd class="mdescRight">Back compatibility definitions.  <a href="group__misc__fns.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga20">DrawFlatControlFrame</a>(hdc, x0, y0, x1, y1, fillc, updown)<dl class="el"><dd class="mdescRight">Back compatibility definitions.  <a href="group__misc__fns.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga21">Draw3DUpThickFrame</a>(hdc, l, t, r, b, fillc)&nbsp;&nbsp;&nbsp;Draw3DThickFrameEx(hdc, HWND_DESKTOP, l, t, r, b, DF_3DBOX_NORMAL | ((fillc)?DF_3DBOX_FILL:0), fillc)<dl class="el"><dd class="mdescRight">Back compatibility definitions.  <a href="group__misc__fns.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga22">Draw3DDownThickFrame</a>(hdc, l, t, r, b, fillc)&nbsp;&nbsp;&nbsp;Draw3DThickFrameEx(hdc, HWND_DESKTOP, l, t, r, b, DF_3DBOX_PRESSED | ((fillc)?DF_3DBOX_FILL:0), fillc)<dl class="el"><dd class="mdescRight">Back compatibility definitions.  <a href="group__misc__fns.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga23">Draw3DUpFrame</a>&nbsp;&nbsp;&nbsp;Draw3DUpThickFrame<li>#define <a class="el" href="group__misc__fns.htm#ga24">Draw3DDownFrame</a>&nbsp;&nbsp;&nbsp;Draw3DDownThickFrame<li>#define <a class="el" href="group__misc__fns.htm#ga25">Draw3DUpThinFrame</a>(hdc, l, t, r, b, fillc)&nbsp;&nbsp;&nbsp;Draw3DThinFrameEx(hdc, HWND_DESKTOP, l, t, r, b, DF_3DBOX_NORMAL | ((fillc)?DF_3DBOX_FILL:0), fillc)<dl class="el"><dd class="mdescRight">Back compatibility definitions.  <a href="group__misc__fns.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga26">Draw3DDownThinFrame</a>(hdc, l, t, r, b, fillc)&nbsp;&nbsp;&nbsp;Draw3DThinFrameEx(hdc, HWND_DESKTOP, l, t, r, b, DF_3DBOX_PRESSED | ((fillc)?DF_3DBOX_FILL:0), fillc)<li>#define <a class="el" href="group__misc__fns.htm#ga27">Draw3DBorder</a>(hdc, l, t, r, b)&nbsp;&nbsp;&nbsp;Draw3DBorderEx(hdc, HWND_DESKTOP, l, t, r, b)<dl class="el"><dd class="mdescRight">Back compatibility definitions.  <a href="group__misc__fns.htm#ga27"></a><br></dl><li>#define <a class="el" href="group__misc__fns.htm#ga28">NotifyParent</a>(hwnd, id, code)&nbsp;&nbsp;&nbsp;NotifyParentEx(hwnd, id, code, 0)<dl class="el"><dd class="mdescRight">Sends a notification message to the parent, but without additional data.  <a href="group__misc__fns.htm#ga28"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef int(* <a class="el" href="group__misc__fns.htm#ga0">STRCMP</a> )(const char *s1, const char *s2, size_t n)<dl class="el"><dd class="mdescRight">Type of general strncmp function.  <a href="group__misc__fns.htm#ga0"></a><br></dl></ul><h2>Enumerations</h2><ul><li>enum <a class="el" href="group__misc__fns.htm#ga30">SBPolicyType</a> { <a class="el" href="group__misc__fns.htm#gga30a16">SB_POLICY_ALWAYS</a>, <a class="el" href="group__misc__fns.htm#gga30a17">SB_POLICY_AUTOMATIC</a>, <a class="el" href="group__misc__fns.htm#gga30a18">SB_POLICY_NEVER</a> }<dl class="el"><dd class="mdescRight">Scroll bar display policies in scrolled window.  <a href="group__misc__fns.htm#ga30">More...</a><br></dl></ul><h2>Functions</h2><ul><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga2">DrawBoxFromBitmap</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, const <a class="el" href="struct__RECT.htm">RECT</a> *box, const <a class="el" href="struct__BITMAP.htm">BITMAP</a> *bmp, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> h_v, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> do_clip)<dl class="el"><dd class="mdescRight">Draws a box from bitmap.  <a href="group__misc__fns.htm#ga2"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga3">Draw3DControlFrameEx</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int x0, int y0, int x1, int y1, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> flags, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> fillc)<dl class="el"><dd class="mdescRight">Draws a 3D style frame control.  <a href="group__misc__fns.htm#ga3"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga4">DrawFlatControlFrameEx</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int x0, int y0, int x1, int y1, int corner, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> flags, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> fillc)<dl class="el"><dd class="mdescRight">Draws a flat frame control with triangle corner.  <a href="group__misc__fns.htm#ga4"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga5">Draw3DThickFrameEx</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int l, int t, int r, int b, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> flags, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> fillc)<dl class="el"><dd class="mdescRight">Draws a thick 3D frame.  <a href="group__misc__fns.htm#ga5"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga6">Draw3DThinFrameEx</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int l, int t, int r, int b, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> flags, <a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> fillc)<dl class="el"><dd class="mdescRight">Draws a thin 3D frame.  <a href="group__misc__fns.htm#ga6"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga7">Draw3DBorderEx</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int l, int t, int r, int b)<dl class="el"><dd class="mdescRight">Draws a 3D rectangle border.  <a href="group__misc__fns.htm#ga7"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga8">DisabledTextOutEx</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int x, int y, const char *szText)<dl class="el"><dd class="mdescRight">Outputs disabled (grayed) text.  <a href="group__misc__fns.htm#ga8"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__misc__fns.htm#ga9">NotifyParentEx</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int id, int code, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> add_data)<dl class="el"><dd class="mdescRight">Sends a notification message to the parent.  <a href="group__misc__fns.htm#ga9"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2><dl compact><dt><b>Author:</b></dt><dd>Wei Yongming &lt;<a href="mailto:ymwei@minigui.org">ymwei@minigui.org</a>&gt; </dd></dl><dl compact><dt><b>Date:</b></dt><dd>2001/12/29</dd></dl><div class="fragment"><pre class="fragment">    Copyright (C) 2002-2007 Feynman Software.    Copyright (C) 1998-2002 Wei Yongming.    All rights reserved by Feynman Software.    This file is part of MiniGUI, a compact cross-platform Graphics     User Interface (GUI) support system for real-time embedded systems. </pre></div> <p>Definition in file <a class="el" href="ctrlhelper_8h-source.htm">ctrlhelper.h</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:51 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 + -