📄 group__ctrl__static__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: Messages of static control</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>Messages of static control<br><small>[<a class="el" href="group__ctrl__static.htm">Static control</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__static__msgs.htm#ga2">STM_SETIMAGE</a> 0xF172<dl class="el"><dd class="mdescRight">Associates a new image (icon or bitmap) with a static control. <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__static__msgs.htm#ga3">STM_GETIMAGE</a> 0xF173<dl class="el"><dd class="mdescRight">Retrieves a handle to the image. <a href="#ga3"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga3" doxytag="static.h::STM_GETIMAGE"></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 STM_GETIMAGE 0xF173 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Retrieves a handle to the image. <p>An application sends an STM_GETIMAGE message to retrieve a handle to the image associated with a static control.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__static__msgs.htm#ga3">STM_GETIMAGE</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The handle to the icon if the type of static control type is SS_ICON, or the pointer to the BITMAP object if the type is SS_BITMAP. </dd></dl><p>Definition at line <a class="el" href="static_8h-source.htm#l00237">237</a> of file <a class="el" href="static_8h-source.htm">static.h</a>. </td> </tr></table><a class="anchor" name="ga2" doxytag="static.h::STM_SETIMAGE"></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 STM_SETIMAGE 0xF172 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Associates a new image (icon or bitmap) with a static control. <p>An application sends an STM_SETIMAGE message to associate a new image (icon or bitmap) with a static control.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__static__msgs.htm#ga2">STM_SETIMAGE</a> <a class="code" href="group__handles.htm#ga5">HICON</a> image; or <a class="code" href="struct__BITMAP.htm">BITMAP</a>* image; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)image; lParam = 0;</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>image</em> </td><td>The handle to an icon if the type of static control type is SS_ICON, or the pointer to a BITMAP object if the type is SS_BITMAP.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The old image (handle or pointer). </dd></dl><p>Definition at line <a class="el" href="static_8h-source.htm#l00219">219</a> of file <a class="el" href="static_8h-source.htm">static.h</a>. </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:53 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 + -