📄 group__misc__fns.htm
字号:
<td class="mdname" nowrap> <em>hdc</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><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>x0</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>y0</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>x1</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>y1</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>corner</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__win32__types.htm#ga4">DWORD</a> </td> <td class="mdname" nowrap> <em>flags</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__gdi__types.htm#ga8">gal_pixel</a> </td> <td class="mdname" nowrap> <em>fillc</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>Draws a flat frame control with triangle corner. <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>hdc</em> </td><td>The handle to drawing context. </td></tr> <tr><td valign="top"></td><td valign="top"><em>hwnd</em> </td><td>Tell the function to draw with the color definitions of this window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>Specifies the x-coordinate of the upper-left corner. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y0</em> </td><td>Specifies the y-coordinate of the upper-left corner. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>Specifies the x-coordinate of the lower-right corner. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>Specifies the y-coordinate of the lower-right corner. </td></tr> <tr><td valign="top"></td><td valign="top"><em>corner</em> </td><td>Specifies the length of the edge of the triangle corner. </td></tr> <tr><td valign="top"></td><td valign="top"><em>flags</em> </td><td>Specify the drawing flag, can be or'ed with the following flags:<ul><li>DF_3DBOX_NORMAL<br> The box is displayed with normal status.</li><li>DF_3DBOX_PRESSED<br> The box is pressed.</li><li>DF_3DBOX_NOTFILL<br> Do not fill the box.</li><li>DF_3DBOX_FILL<br> Fill the box and the <em>fillc</em> defined the color. </li></ul></td></tr> <tr><td valign="top"></td><td valign="top"><em>fillc</em> </td><td>Specify the pixel value to fill the box when DF_3DBOX_FILL specified.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__misc__fns.htm#ga3">Draw3DControlFrameEx</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga13" doxytag="minigui.h::GetOriginalTermIO"></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">void *GUIAPI GetOriginalTermIO </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets <em>termios</em> structure of the original terminal before initializing MiniGUI. <p><dl compact><dt><b>Returns:</b></dt><dd>The pointer to the original <em>termios</em> structure. </dd></dl> </td> </tr></table><a class="anchor" name="ga9" doxytag="ctrlhelper.h::NotifyParentEx"></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">void GUIAPI NotifyParentEx </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>id</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>code</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="group__win32__types.htm#ga4">DWORD</a> </td> <td class="mdname" nowrap> <em>add_data</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>Sends a notification message to the parent. <p>By default, the notification from a control will be sent to its parent window within a MSG_COMMAND messsage.<p>Since version 1.2.6, MiniGUI defines the Nofication Callback Procedure for control. You can specify a callback function for a control by calling <em>SetNotificationCallback</em> to receive and handle the notification from the control.<p>If you have defined the Notificaton Callback Procedure for the control, calling NotifyParentEx will call the notification callback procedure, not send the notification message to the parent.<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 handle to current control window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The identifier of current control. </td></tr> <tr><td valign="top"></td><td valign="top"><em>code</em> </td><td>The notification code. </td></tr> <tr><td valign="top"></td><td valign="top"><em>add_data</em> </td><td>The additional data of the notification.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__control__fns.htm#ga3">SetNotificationCallback</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga11" doxytag="minigui.h::Ping"></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">void GUIAPI Ping </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Makes a beep sound. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__misc__fns.htm#ga29">Beep</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga12" doxytag="minigui.h::Tone"></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">void GUIAPI Tone </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>frequency_hz</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>duration_ms</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>Makes a tone. <p>This function will return after the tone. Thus, your program will be blocked when the tone is being played.<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>frequency_hz</em> </td><td>The frequency of the tone in hertz. </td></tr> <tr><td valign="top"></td><td valign="top"><em>duration_ms</em> </td><td>The duration of the tone in millisecond.</td></tr> </table></dl><dl compact><dt><b><a class="el" href="bug.htm#_bug000001">Bug:</a></b></dt><dd>When MiniGUI runs on X Window, the tone can not be played correctly.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__misc__fns.htm#ga11">Ping</a> </dd></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:57 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 + -