📄 group__ctrl__propsheet__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 propertysheet 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 propertysheet control<br><small>[<a class="el" href="group__ctrl__propsheet.htm">PropertySheet control</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga0">PS_OKAY</a> 0<li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga1">PS_ERR</a> (-1)<li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga2">PSM_GETACTIVEPAGE</a> 0xF1C0L<dl class="el"><dd class="mdescRight">Gets the handle of current active page. <a href="#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga3">PSM_SETACTIVEINDEX</a> 0xF1C2L<dl class="el"><dd class="mdescRight">Changes the active page by index. <a href="#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga4">PSM_GETPAGE</a> 0xF1C3L<dl class="el"><dd class="mdescRight">Gets the handle of a page by index. <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga5">PSM_GETACTIVEINDEX</a> 0xF1C4L<dl class="el"><dd class="mdescRight">Gets the index of the current active page. <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga6">PSM_GETPAGEINDEX</a> 0xF1C5L<dl class="el"><dd class="mdescRight">Gets the index of a page by handle. <a href="#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga7">PSM_GETPAGECOUNT</a> 0xF1C6L<dl class="el"><dd class="mdescRight">Gets the number of pages of the propsheet. <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga8">PSM_GETTITLELENGTH</a> 0xF1C7L<dl class="el"><dd class="mdescRight">Gets the length of a page title. <a href="#ga8"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga9">PSM_GETTITLE</a> 0xF1C8L<dl class="el"><dd class="mdescRight">Gets a page title. <a href="#ga9"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga10">PSM_SETTITLE</a> 0xF1C9L<dl class="el"><dd class="mdescRight">Sets a page title. <a href="#ga10"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga11">PSM_ADDPAGE</a> 0xF1D0L<dl class="el"><dd class="mdescRight">Adds a page to the propsheet. <a href="#ga11"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga12">PSM_REMOVEPAGE</a> 0xF1D1L<dl class="el"><dd class="mdescRight">Removes a page from the propsheet. <a href="#ga12"></a><br></dl><li>#define <a class="el" href="group__ctrl__propsheet__msgs.htm#ga13">PSM_SHEETCMD</a> 0xF1D2L<dl class="el"><dd class="mdescRight">Sends a MSG_SHEETCMD message to all pages in the propsheet. <a href="#ga13"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga1" doxytag="propsheet.h::PS_ERR"></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 PS_ERR (-1) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Propsheet return value <p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00092">92</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga0" doxytag="propsheet.h::PS_OKAY"></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 PS_OKAY 0 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Propsheet return value <p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00090">90</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga11" doxytag="propsheet.h::PSM_ADDPAGE"></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 PSM_ADDPAGE 0xF1D0L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Adds a page to the propsheet. <p>Sends this message to add a page to the propsheet.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__propsheet__msgs.htm#ga11">PSM_ADDPAGE</a> <a class="code" href="struct__DLGTEMPLATE.htm">DLGTEMPLATE</a> *dlg_tmpl; <a class="code" href="group__window__create__fns.htm#ga0">WNDPROC</a> proc; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)dlg_tmpl; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)proc;</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>hdlg</em> </td><td>The handle of the page window to be added in the propsheet. </td></tr> <tr><td valign="top"></td><td valign="top"><em>proc</em> </td><td>The window callback procedure of the page window. Note that the procedure should call DefaultPageProc function by default.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The index of the page added on success; PS_ERR on error. </dd></dl><p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00291">291</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga5" doxytag="propsheet.h::PSM_GETACTIVEINDEX"></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 PSM_GETACTIVEINDEX 0xF1C4L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the index of the current active page. <p>Sends this message to retreive the index of the propsheet window's active page.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__propsheet__msgs.htm#ga5">PSM_GETACTIVEINDEX</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The index number of the active page. </dd></dl><p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00166">166</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga2" doxytag="propsheet.h::PSM_GETACTIVEPAGE"></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 PSM_GETACTIVEPAGE 0xF1C0L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the handle of current active page. <p>Sends this message to retreive the propsheet window's active page.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__propsheet__msgs.htm#ga2">PSM_GETACTIVEPAGE</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The handle to the active page; HWND_INVALID if no such a page. </dd></dl><p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00109">109</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga4" doxytag="propsheet.h::PSM_GETPAGE"></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 PSM_GETPAGE 0xF1C3L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the handle of a page by index. <p>Sends this message to retreive the handle to a page by index.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__propsheet__msgs.htm#ga4">PSM_GETPAGE</a> <span class="keywordtype">int</span> index; wParam = (<a class="code" href="group__win32__types.htm#ga8">WPARAM</a>)index; 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>index</em> </td><td>The index of the page.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The handle to the page; HWND_INVALID if no such a page. </dd></dl><p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00149">149</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga7" doxytag="propsheet.h::PSM_GETPAGECOUNT"></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 PSM_GETPAGECOUNT 0xF1C6L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Gets the number of pages of the propsheet. <p>Sends this message to retreive the number of pages currently in the propsheet.<p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__propsheet__msgs.htm#ga7">PSM_GETPAGECOUNT</a> wParam = 0; lParam = 0;</pre></div><p><dl compact><dt><b>Returns:</b></dt><dd>The number of pages in the propsheet. </dd></dl><p>Definition at line <a class="el" href="propsheet_8h-source.htm#l00203">203</a> of file <a class="el" href="propsheet_8h-source.htm">propsheet.h</a>. </td> </tr></table><a class="anchor" name="ga6" doxytag="propsheet.h::PSM_GETPAGEINDEX"></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 PSM_GETPAGEINDEX 0xF1C5L </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -