📄 group__paint__msgs.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: Window painting messages</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>Window painting messages<br><small>[<a class="el" href="group__msgs.htm">Messages</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__paint__msgs.htm#ga1">MSG_SHOWWINDOW</a> 0x00A0<dl class="el"><dd class="mdescRight">Indicates that the window has been shown or hidden. <a href="#ga1"></a><br></dl><li>#define <a class="el" href="group__paint__msgs.htm#ga2">MSG_ERASEBKGND</a> 0x00B0<dl class="el"><dd class="mdescRight">Sent to the window to erase the background. <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__paint__msgs.htm#ga3">MSG_PAINT</a> 0x00B1<dl class="el"><dd class="mdescRight">Sent to the window if the window contains an invalid region. <a href="#ga3"></a><br></dl><li>#define <a class="el" href="group__paint__msgs.htm#ga4">MSG_NCPAINT</a> 0x00B2<dl class="el"><dd class="mdescRight">Indicates that paints non-client area. <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__paint__msgs.htm#ga5">MSG_NCACTIVATE</a> 0x00B3<dl class="el"><dd class="mdescRight">Indicates that active non-client area of main window. <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__paint__msgs.htm#ga6">MSG_SYNCPAINT</a> 0x00B4<dl class="el"><dd class="mdescRight">Indicates that actives and paints main window synchronously. <a href="#ga6"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga2" doxytag="window.h::MSG_ERASEBKGND"></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">#define MSG_ERASEBKGND 0x00B0 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Sent to the window to erase the background. <p>This message is sent to the window if the whole or a part of the background should be erased.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__paint__msgs.htm#ga2">MSG_ERASEBKGND</a> <span class="keyword">const</span> <a class="code" href="struct__RECT.htm">RECT</a>* inv_rect = (<span class="keyword">const</span> <a class="code" href="struct__RECT.htm">RECT</a>*)lParam;</pre></div><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>inv_rect</em> </td><td>The pointer to a RECT structure contains the rectangle should be erase. The rectangle is in client coordinates system. If it is NULL, the whole client area should be erased. </td></tr> </table></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01146">1146</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga5" doxytag="window.h::MSG_NCACTIVATE"></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">#define MSG_NCACTIVATE 0x00B3 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates that active non-client area of main window. <p><p>Definition at line <a class="el" href="window_8h-source.htm#l01173">1173</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga4" doxytag="window.h::MSG_NCPAINT"></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">#define MSG_NCPAINT 0x00B2 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates that paints non-client area. <p><p>Definition at line <a class="el" href="window_8h-source.htm#l01167">1167</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga3" doxytag="window.h::MSG_PAINT"></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">#define MSG_PAINT 0x00B1 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Sent to the window if the window contains an invalid region. <p>This message is sent to the window if the window contains an invalid region.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__paint__msgs.htm#ga3">MSG_PAINT</a> <span class="keyword">const</span> <a class="code" href="struct__CLIPRGN.htm">CLIPRGN</a>* inv_rgn = (<span class="keyword">const</span> <a class="code" href="struct__CLIPRGN.htm">CLIPRGN</a>*) lParam;</pre></div><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>inv_rgn</em> </td><td>The pointer to the invalid region of the window. </td></tr> </table></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01161">1161</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="window.h::MSG_SHOWWINDOW"></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">#define MSG_SHOWWINDOW 0x00A0 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates that the window has been shown or hidden. <p>This message is sent to the window when the window has been shown or hidden (due to the calling of the function ShowWindow).<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__paint__msgs.htm#ga1">MSG_SHOWWINDOW</a> <span class="keywordtype">int</span> show_cmd = (int)wParam;</pre></div><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>show_cmd</em> </td><td>The command to show or hide, can be one of the following values:<ul><li>SW_SHOW<br> Shows the window.</li><li>SW_HIDE<br> Hides the window.</li><li>SW_SHOWNORMAL<br> Shows the window, and if the window is a main window sets it to be the topmost main window.</li></ul></td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__window__general__fns.htm#ga3">ShowWindow</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01128">1128</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga6" doxytag="window.h::MSG_SYNCPAINT"></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">#define MSG_SYNCPAINT 0x00B4 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates that actives and paints main window synchronously. <p><p>Definition at line <a class="el" href="window_8h-source.htm#l01178">1178</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </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 + -