📄 group__mywins__colorseldlg.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: Color Selection Dialog Box</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><h1>Color Selection Dialog Box<br><small>[<a class="el" href="group__mywins__fns.htm">Interfaces of MyWins module of MiniGUIExt library</a>]</small></h1><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct__COLORDATA.htm">_COLORDATA</a></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__COLORDATA.htm">_COLORDATA</a> <a class="el" href="group__mywins__colorseldlg.htm#ga0">COLORDATA</a><li>typedef <a class="el" href="struct__COLORDATA.htm">_COLORDATA</a> * <a class="el" href="group__mywins__colorseldlg.htm#ga1">PCOLORDATA</a></ul><h2>Functions</h2><ul><li>MGEXT_EXPORT int <a class="el" href="group__mywins__colorseldlg.htm#ga2">ColorSelDialog</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int x, int y, int w, int h, <a class="el" href="struct__COLORDATA.htm">PCOLORDATA</a> pClrData)<dl class="el"><dd class="mdescRight">Creates a Color Selection Dialog Box. <a href="#ga2"></a><br></dl></ul><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="colordlg.h::COLORDATA"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="struct__COLORDATA.htm">_COLORDATA</a> <a class="el" href="struct__COLORDATA.htm">COLORDATA</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The color data structure used by <em>ColorSelDialog</em>. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__colorseldlg.htm#ga2">ColorSelDialog</a>. </dd></dl> </td> </tr></table><a class="anchor" name="ga1" doxytag="colordlg.h::PCOLORDATA"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="struct__COLORDATA.htm">_COLORDATA</a> * <a class="el" href="struct__COLORDATA.htm">PCOLORDATA</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The color data structure used by <em>ColorSelDialog</em>. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__colorseldlg.htm#ga2">ColorSelDialog</a>. </dd></dl> </td> </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga2" doxytag="colordlg.h::ColorSelDialog"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int ColorSelDialog </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga1">HWND</a> </td> <td class="mdname" nowrap> <em>hWnd</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>y</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>w</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>h</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="struct__COLORDATA.htm">PCOLORDATA</a> </td> <td class="mdname" nowrap> <em>pClrData</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Creates a Color Selection Dialog Box. <p>This function creates a Color Selection Dialog Box, and returns the values of the color selected by the user.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>hWnd</em> </td><td>The hosting main window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>x,y,w,h: The default position and size of the dialog box. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>x,y,w,h: The default position and size of the dialog box. </td></tr> <tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>x,y,w,h: The default position and size of the dialog box. </td></tr> <tr><td valign="top"></td><td valign="top"><em>h</em> </td><td>x,y,w,h: The default position and size of the dialog box. </td></tr> <tr><td valign="top"></td><td valign="top"><em>pClrData</em> </td><td>The pointer to the COLORDATA structure.</td></tr> </table></dl><dl compact><dt><b>Return values:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>IDOK</em> </td><td>The user choosed a color and OK button clicked. </td></tr> <tr><td valign="top"></td><td valign="top"><em>IDCANCEL</em> </td><td>The user clicked the Cancel button.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__colorseldlg.htm#ga0">COLORDATA</a>, <a class="el" href="group__mywins__colorseldlg.htm#ga2">ColorSelDialog</a> </dd></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:55 2007 for MiniGUI V1.6.10 API Reference by <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 + -