📄 group__mywins__helpers.htm
字号:
</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 tool tip window. <p>This function creates a tool tip window and returns the handle to it. You can call <em>destroyToolTipWin</em> to destroy it. This function also receives <em>printf-like</em> arguments to format a string.<p>Note that the tool tip window will disappear automatically after the specified milliseconds by <em>timeout_ms</em> if <em>timeout_ms</em> is larger than 9 ms.<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>hParentWnd</em> </td><td>The hosting main window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The position of the tool tip window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The position of the tool tip window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>timeout_ms</em> </td><td>The timeout value of the tool tip window. </td></tr> <tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>The format string.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The handle to the tool tip window on success, HWND_INVALID on error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__helpers.htm#ga12">resetToolTipWin</a>, <a class="el" href="group__mywins__helpers.htm#ga13">destroyToolTipWin</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga15" doxytag="mywindows.h::destroyProgressWin"></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 destroyProgressWin </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="mdname1" valign="top" nowrap> <em>hwnd</em> </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>Destroies progress window. <p>This function destroies the specified progress window <em>hwnd</em>, which is returned by <em>createProgressWin</em>.<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 the progress window.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__helpers.htm#ga14">createProgressWin</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga10" doxytag="mywindows.h::destroyStatusWin"></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 destroyStatusWin </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="mdname1" valign="top" nowrap> <em>hwnd</em> </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>Destroies a status window. <p>This function destroies the specified status window <em>hwnd</em>, which is returned by <em>createStatusWin</em>.<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 the status window.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__helpers.htm#ga9">createStatusWin</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga13" doxytag="mywindows.h::destroyToolTipWin"></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 destroyToolTipWin </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="mdname1" valign="top" nowrap> <em>hwnd</em> </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>Destroies a tool tip window. <p>This function destroies the specified tool tip window <em>hwnd</em>, which is returned by <em>createToolTipWin</em>.<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 the tool tip window.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__helpers.htm#ga11">createToolTipWin</a> </dd></dl> </td> </tr></table><a class="anchor" name="ga8" doxytag="mywindows.h::errorWindow"></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 errorWindow </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>const char * </td> <td class="mdname" nowrap> <em>str</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>title</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>A MiniGUI edition of <em>perror</em>. <p>This function creates a message box by using <em>myMessageBox</em>, and display the current system error message. You can consider it as an alternative of <em>perror</em>.<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>str</em> </td><td>The string will be appeared before the system error message. </td></tr> <tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>The title of the message box.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__mywins__helpers.htm#ga4">myMessageBox</a>, perror(3) </dd></dl> </td> </tr></table><a class="anchor" name="ga4" doxytag="mywindows.h::myMessageBox"></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 myMessageBox </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><a class="el" href="group__win32__types.htm#ga4">DWORD</a> </td> <td class="mdname" nowrap> <em>dwStyle</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>title</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>text</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap> </td> <td class="mdname" nowrap> <em>...</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 message box. <p>This function creates a message box calling <em>MessageBox</em> and passing <em>hwnd</em>, <em>dwStyle</em> and <em>title</em> to it. This function also receives <em>printf-like</em> arguments to format a string.<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>dwStyle</em> </td><td>The style of the message box. </td></tr> <tr><td valign="top"></td><td valign="top"><em>title</em> </td><td>The title of the message box. </td></tr> <tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>The format string.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Identifier of the button which closes the message box.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__msgbox__fns.htm#ga0">MessageBox</a>, printf(3) </dd></dl> </td> </tr></table><a class="anchor" name="ga6" doxytag="mywindows.h::myWinChoice"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -