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

📄 classwgui_1_1cdropdown.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    <td>      &nbsp;    </td>    <td><p><a class="el" href="classwGui_1_1CDropDown.html">CDropDown</a> will handle MOUSE_BUTTONDOWN messages <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>pMessage</em>&nbsp;</td><td>A pointer to the message that needs to be handled </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a27">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__dropdown_8cpp-source.html#l00076">76</a> of file <a class="el" href="wg__dropdown_8cpp-source.html">wg_dropdown.cpp</a>.<p>References <a class="el" href="wg__message_8h-source.html#l00158">wGui::CMouseMessage::Button</a>, <a class="el" href="wg__message_8h-source.html#l00081">wGui::CMessage::Destination()</a>, <a class="el" href="wg__listbox_8h-source.html#l00087">wGui::CListBox::GetItem()</a>, <a class="el" href="wg__window_8h-source.html#l00062">wGui::CWindow::GetWindowRect()</a>, <a class="el" href="wg__rect_8cpp-source.html#l00090">wGui::CRect::Grow()</a>, <a class="el" href="wg__dropdown_8cpp-source.html#l00163">HideListBox()</a>, <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, <a class="el" href="wg__window_8h-source.html#l00100">wGui::CWindow::IsVisible()</a>, <a class="el" href="wg__dropdown_8h-source.html#l00111">m_pDropButton</a>, <a class="el" href="wg__dropdown_8h-source.html#l00109">m_pEditBox</a>, <a class="el" href="wg__dropdown_8h-source.html#l00110">m_pListBox</a>, <a class="el" href="wg__window_8h-source.html#l00200">wGui::CWindow::m_pParentWindow</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>, <a class="el" href="wg__message_8h-source.html#l00078">wGui::CMessage::MessageType()</a>, <a class="el" href="wg__message_8h-source.html#l00156">wGui::CMouseMessage::Point</a>, <a class="el" href="wg__listbox_8cpp-source.html#l00107">wGui::CListBox::SetAllSelections()</a>, <a class="el" href="wg__dropdown_8cpp-source.html#l00070">SetWindowText()</a>, <a class="el" href="wg__dropdown_8cpp-source.html#l00151">ShowListBox()</a>, <a class="el" href="wg__listbox_8h-source.html#l00047">wGui::SListItem::sItemText</a>, and <a class="el" href="wg__message_8h-source.html#l00084">wGui::CMessage::Source()</a>.    </td>  </tr></table><a name="a8" doxytag="wGui::CDropDown::IsSelected"></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"> bool wGui::CDropDown::IsSelected </td>          <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><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><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 check </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>true if the item is selected </dl><p>Definition at line <a class="el" href="wg__dropdown_8h-source.html#l00084">84</a> of file <a class="el" href="wg__dropdown_8h-source.html">wg_dropdown.h</a>.<p>References <a class="el" href="wg__listbox_8h-source.html#l00101">wGui::CListBox::IsSelected()</a>, and <a class="el" href="wg__dropdown_8h-source.html#l00110">m_pListBox</a>.    </td>  </tr></table><a name="a5" doxytag="wGui::CDropDown::RemoveItem"></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::CDropDown::RemoveItem </td>          <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><code> [inline]</code></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__dropdown_8h-source.html#l00074">74</a> of file <a class="el" href="wg__dropdown_8h-source.html">wg_dropdown.h</a>.<p>References <a class="el" href="wg__dropdown_8h-source.html#l00110">m_pListBox</a>, and <a class="el" href="wg__listbox_8cpp-source.html#l00089">wGui::CListBox::RemoveItem()</a>.    </td>  </tr></table><a name="a10" doxytag="wGui::CDropDown::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::CDropDown::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><code> [inline]</code></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__dropdown_8h-source.html#l00093">93</a> of file <a class="el" href="wg__dropdown_8h-source.html">wg_dropdown.h</a>.<p>References <a class="el" href="wg__dropdown_8h-source.html#l00110">m_pListBox</a>, and <a class="el" href="wg__listbox_8cpp-source.html#l00107">wGui::CListBox::SetAllSelections()</a>.    </td>  </tr></table><a name="a9" doxytag="wGui::CDropDown::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::CDropDown::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__dropdown_8h-source.html#l00089">89</a> of file <a class="el" href="wg__dropdown_8h-source.html">wg_dropdown.h</a>.<p>References <a class="el" href="wg__dropdown_8h-source.html#l00110">m_pListBox</a>, and <a class="el" href="wg__listbox_8h-source.html#l00106">wGui::CListBox::SetSelection()</a>.    </td>  </tr></table><a name="a2" doxytag="wGui::CDropDown::SetWindowText"></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::CDropDown::SetWindowText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">std::string&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>sWindowText</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>Set the WindowText of the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>sWindowText</em>&nbsp;</td><td>The text to assign to the window </td></tr></table></dl><p>Definition at line <a class="el" href="wg__dropdown_8cpp-source.html#l00070">70</a> of file <a class="el" href="wg__dropdown_8cpp-source.html">wg_dropdown.cpp</a>.<p>References <a class="el" href="wg__dropdown_8h-source.html#l00109">m_pEditBox</a>, and <a class="el" href="wg__editbox_8cpp-source.html#l00219">wGui::CEditBox::SetWindowText()</a>.<p>Referenced by <a class="el" href="wg__dropdown_8cpp-source.html#l00076">HandleMessage()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__dropdown_8h-source.html">wg_dropdown.h</a><li><a class="el" href="wg__dropdown_8cpp-source.html">wg_dropdown.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 + -