⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classwgui_1_1clistbox.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
📖 第 1 页 / 共 3 页
字号:
          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>iItemIndex</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Remove an item from the list <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>iItemIndex</em>&nbsp;</td><td>The index of the item to remove </td></tr></table></dl><p>Definition at line <a class="el" href="wg__listbox_8cpp-source.html#l00089">89</a> of file <a class="el" href="wg__listbox_8cpp-source.html">wg_listbox.cpp</a>.<p>References <a class="el" href="wg__listbox_8h-source.html#l00151">m_Items</a>, <a class="el" href="wg__listbox_8h-source.html#l00148">m_pVScrollbar</a>, <a class="el" href="wg__listbox_8h-source.html#l00152">m_SelectedItems</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00085">wGui::CScrollBar::SetLimits()</a>, and <a class="el" href="wg__window_8cpp-source.html#l00213">wGui::CWindow::StartDrawProc()</a>.<p>Referenced by <a class="el" href="wg__dropdown_8h-source.html#l00074">wGui::CDropDown::RemoveItem()</a>.    </td>  </tr></table><a name="a11" doxytag="wGui::CListBox::SetAllSelections"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CListBox::SetAllSelections </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>bSelected</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set the selection for all of the items at once <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>bSelected</em>&nbsp;</td><td>Will select all items if true, or unselect if false </td></tr></table></dl><p>Definition at line <a class="el" href="wg__listbox_8cpp-source.html#l00107">107</a> of file <a class="el" href="wg__listbox_8cpp-source.html">wg_listbox.cpp</a>.<p>References <a class="el" href="wg__listbox_8h-source.html#l00151">m_Items</a>, and <a class="el" href="wg__listbox_8h-source.html#l00152">m_SelectedItems</a>.<p>Referenced by <a class="el" href="wg__dropdown_8cpp-source.html#l00076">wGui::CDropDown::HandleMessage()</a>, <a class="el" href="wg__listbox_8cpp-source.html#l00185">OnMouseButtonUp()</a>, and <a class="el" href="wg__dropdown_8h-source.html#l00093">wGui::CDropDown::SetAllSelections()</a>.    </td>  </tr></table><a name="a12" doxytag="wGui::CListBox::SetDropDown"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CListBox::SetDropDown </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CWindow.html">CWindow</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>pDropDown</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set the dropdown window this is a part of <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>pDropDown</em>&nbsp;</td><td>A pointer to the dropdown window </td></tr></table></dl><p>Definition at line <a class="el" href="wg__listbox_8h-source.html#l00114">114</a> of file <a class="el" href="wg__listbox_8h-source.html">wg_listbox.h</a>.<p>References <a class="el" href="wg__listbox_8h-source.html#l00155">m_pDropDown</a>.<p>Referenced by <a class="el" href="wg__dropdown_8cpp-source.html#l00034">wGui::CDropDown::CDropDown()</a>.    </td>  </tr></table><a name="a10" doxytag="wGui::CListBox::SetSelection"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CListBox::SetSelection </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>iItemIndex</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>bSelected</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set an item as selected <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>iItemIndex</em>&nbsp;</td><td>The index of the item to change </td></tr><tr><td valign=top><em>bSelected</em>&nbsp;</td><td>Will select the item if true, or unselect if false </td></tr></table></dl><p>Definition at line <a class="el" href="wg__listbox_8h-source.html#l00106">106</a> of file <a class="el" href="wg__listbox_8h-source.html">wg_listbox.h</a>.<p>References <a class="el" href="wg__listbox_8h-source.html#l00152">m_SelectedItems</a>.<p>Referenced by <a class="el" href="wg__listbox_8cpp-source.html#l00215">HandleMessage()</a>, <a class="el" href="wg__listbox_8cpp-source.html#l00185">OnMouseButtonUp()</a>, and <a class="el" href="wg__dropdown_8h-source.html#l00089">wGui::CDropDown::SetSelection()</a>.    </td>  </tr></table><a name="a14" doxytag="wGui::CListBox::SetWindowRect"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void wGui::CListBox::SetWindowRect </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CRect.html">CRect</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>WindowRect</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Giving a control a new WindowRect will move and resize the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>WindowRect</em>&nbsp;</td><td>A <a class="el" href="classwGui_1_1CRect.html">CRect</a> that defines the outer limits of the control </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a2">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__listbox_8cpp-source.html#l00149">149</a> of file <a class="el" href="wg__listbox_8cpp-source.html">wg_listbox.cpp</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00091">wGui::CRect::Bottom()</a>, <a class="el" href="wg__rect_8cpp-source.html#l00090">wGui::CRect::Grow()</a>, <a class="el" href="wg__rect_8h-source.html#l00130">wGui::CRect::Height()</a>, <a class="el" href="wg__window_8h-source.html#l00197">wGui::CWindow::m_ClientRect</a>, <a class="el" href="wg__listbox_8h-source.html#l00148">m_pVScrollbar</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>, <a class="el" href="wg__rect_8h-source.html#l00088">wGui::CRect::Right()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00142">wGui::CScrollBar::SetWindowRect()</a>, <a class="el" href="wg__rect_8h-source.html#l00082">wGui::CRect::Top()</a>, and <a class="el" href="wg__rect_8h-source.html#l00127">wGui::CRect::Width()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__listbox_8h-source.html">wg_listbox.h</a><li><a class="el" href="wg__listbox_8cpp-source.html">wg_listbox.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:27 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -