📄 group__ctrl__msgs.htm
字号:
<table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Ready to initialize the controls in a property page. <p>This message is sent to the page in order that you can initialize the controls in the page.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__msgs.htm#ga10">MSG_INITPAGE</a> <a class="code" href="group__win32__types.htm#ga4">DWORD</a> add_data = (<a class="code" href="group__win32__types.htm#ga4">DWORD</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>add_data</em> </td><td>The additional data in DLGTEMPLATE structure passed through PSM_ADDPAGE message.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__ctrl__propsheet.htm">PropertySheet control</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01389">1389</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="window.h::MSG_ISDIALOG"></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_ISDIALOG 0x0128 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Sends to a window to query whether the window is a dialog window. <p><dl compact><dt><b>Note:</b></dt><dd>This is a asynchronical message. </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01370">1370</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga20" doxytag="window.h::MSG_SETTEXT"></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_SETTEXT 0x0134 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Sent to the control to set the text. <p>This message is sent to the control when you calling <em>SetWindowText</em> function to set the text.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__msgs.htm#ga19">MSG_GETTEXT</a> <span class="keywordtype">char</span>* text_buf; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)text_buf;</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>text_buf</em> </td><td>The pointer to a buffer contains the text. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The length of the text string.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__window__general__fns.htm#ga54">SetWindowText</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01598">1598</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga12" doxytag="window.h::MSG_SHEETCMD"></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_SHEETCMD 0x012B </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates that a PSM_SHEETCMD message had been sent to the PropertySheet control. <p>This message is sent to the property page when the property sheet contains the page received the PSM_SHEETCMD message.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__msgs.htm#ga12">MSG_SHEETCMD</a> <a class="code" href="group__win32__types.htm#ga8">WPARAM</a> param1 = wParam; <a class="code" href="group__win32__types.htm#ga9">LPARAM</a> param2 = 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>param1</em> </td><td>The wParam of PSM_SHEETCMD message. </td></tr> <tr><td valign="top"></td><td valign="top"><em>param2</em> </td><td>The lParam of PSM_SHEETCMD message.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__ctrl__propsheet.htm">PropertySheet control</a>, <a class="el" href="group__ctrl__propsheet__msgs.htm#ga13">PSM_SHEETCMD</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01432">1432</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="window.h::MSG_SHOWPAGE"></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_SHOWPAGE 0x012A </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates the page will be shown or hidden. <p>This message is sent to the page when the page will be shown or hidden.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__msgs.htm#ga11">MSG_SHOWPAGE</a> <a class="code" href="group__handles.htm#ga1">HWND</a> focus_hwnd = (<a class="code" href="group__handles.htm#ga1">HWND</a>)wParam; <span class="keywordtype">int</span> show_cmd = (int)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>focus_hwnd</em> </td><td>The handle to the child which will gain the input focus if showing the page. </td></tr> <tr><td valign="top"></td><td valign="top"><em>show_cmd</em> </td><td>The show command, can be one of the following values:<ul><li>SW_SHOW<br> The page will be shown.</li><li>SW_HIDE<br> The page will be hidden.</li></ul></td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__ctrl__propsheet.htm">PropertySheet control</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01411">1411</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga14" doxytag="window.h::MSG_SVCONTCMD"></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_SVCONTCMD 0x012D </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>This message will be sent to the parent of the ScrollView control when the container of the ScrollView control reveived a MSG_COMMAND message. <p>This message will be sent to the parent of the ScrollView when the container of the ScrollView control reveived a MSG_COMMAND message. Generally, the notification of the child control in the container will be sent via MSG_COMMAND to the container. If you have not defined your own window procedure for the container, this message gives a chance for the parent of the ScrollView control to handle the notifications come from the controls in the container.<p>Note that you can also define your window procedure for the container, and handle the notification from the child control in this procedure.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__msgs.htm#ga14">MSG_SVCONTCMD</a> <a class="code" href="group__win32__types.htm#ga8">WPARAM</a> param1 = wParam; <a class="code" href="group__win32__types.htm#ga8">WPARAM</a> param2 = 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>param1</em> </td><td>The wParam of MSG_COMMAND message. </td></tr> <tr><td valign="top"></td><td valign="top"><em>param2</em> </td><td>The lParam of MSG_COMMAND message.</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__ctrl__scrollview.htm">ScrollView control</a>, <a class="el" href="group__ctrl__msgs.htm#ga1">MSG_COMMAND</a> </dd></dl><p>Definition at line <a class="el" href="window_8h-source.htm#l01483">1483</a> of file <a class="el" href="window_8h-source.htm">window.h</a>. </td> </tr></table><a class="anchor" name="ga2" doxytag="window.h::MSG_SYSCOMMAND"></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_SYSCOMMAND 0x0121 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The system command message. <p><p>Definition at line <a class="el" href="window_8h-source.htm#l01310">1310</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 + -