亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? treeview.h

?? mini gui 1.6.8 lib and source
?? H
字號:
/** * \file treeview.h * \author Wei Yongming <ymwei@minigui.org> * \date 2002/01/06 *  * The header file of MiniGUI extension library. * \verbatim    Copyright (C) 2002-2005 Feynman Software    Copyright (C) 1998-2002 Wei Yongming    This file is part of MiniGUI, a compact cross-platform Graphics     User Interface (GUI) support system for real-time embedded systems.    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    If you are using MiniGUI for developing commercial, proprietary, or other    software not covered by the GPL terms, you must have a commercial license    for MiniGUI. Please see http://www.minigui.com/product/index.html for     how to obtain this. If you are interested in the commercial MiniGUI     licensing, please write to sales@minigui.com.  \endverbatim *//* * $Id: treeview.h,v 1.3 2005/02/15 05:00:07 weiym Exp $ * *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,  *                     and ThreadX version 1.6.x *             Copyright (C) 2002-2005 Feynman Software. *             Copyright (C) 1998-2002 Wei Yongming. */#ifndef EXT_TREEVIEW_H#define EXT_TREEVIEW_H#ifdef  __cplusplusextern "C" {#endif    /**     * \addtogroup mgext_fns     * @{     */    /**     * \addtogroup mgext_controls     * @{     */    /**     * \defgroup mgext_ctrl_treeview TreeView control     *     * \note You can pass the root item information through \a dwAddData     * argument of CreateWindowEx function.      *     * \code     * HICON folded, unfolded;     * TVITEMINFO tvii = {"/proc", 0, folded, unfolded};     *     * CreateWindowEx (CTRL_TREEVIEW, ..., (DWORD)&tvii);     * \endcode     *      * @{     *//** * \def CTRL_TREEVIEW * \brief The class name of treeview control. */#define CTRL_TREEVIEW           ("TreeView")#define TVIF_ROOT               0x0001L#define TVIF_FOLD               0x0004L#define TVIF_SELECTED           0x0008L/** TreeView item info structure */typedef struct _TVITEMINFO{    /** text of the item */    char *text;    /**     * State flags of the item, can be OR'ed by the following values:     *     * - TVIF_ROOT\n     *   The item is a root item.     * - TVIF_SELECTED\n     *   The item is a selected item.     * - TVIF_FOLD\n     *   The item is folded.     *     * When adding an item to the TreeView control, only TVIF_FOLD     * flag is valid.     */    DWORD dwFlags;    /** Handle to the icon of the folded item. */    HICON hIconFold;    /** Handle to the icon of the unfolded item. */    HICON hIconUnfold;    /** Additional data associated with the item. */    DWORD dwAddData;} TVITEMINFO;/** * \var typedef TVITEMINFO *PTVITEMINFO; * \brief Data type of the pointer to a TVITEMINFO. */typedef TVITEMINFO *PTVITEMINFO;    /**     * \defgroup mgext_ctrl_treeview_styles Styles of treeview control     * @{     *//** * \def TVS_NOTIFY * \brief Sends the parent window notification messages when the user  *        clicks or double-clicks the control. */#define TVS_NOTIFY              0x0001L/** * \def TVS_WITHICON * \brief The treeview item will use icons to indicate folded or unfolded status. */#define TVS_WITHICON            0x0002L/** * \def TVS_ICONFORSELECT * \brief The fold icon is used to indicate selected item. * * For TreeView control with TVS_ICONFORSELECT style, the item icons * will be used to indicate selected or unselected status of the item. * */#define TVS_ICONFORSELECT       0x0004L/* Internally used style */#define TVS_FOCUS               0x0008L/** * \def TVS_SORT * \brief Enables sorting in the treeview. */#define TVS_SORT                0x0010L    /** @} end of mgext_ctrl_treeview_styles */    /**     * \defgroup mgext_ctrl_treeview_msgs Messages of treeview control     * @{     *//** * \def TVM_ADDITEM * \brief Adds a new item in a treeview control. * * \code * TVM_ADDITEM * GHANDLE parent; * PTVITEMINFO newIteminfo; * * wParam = (WPARAM)parent; * lParam = (LPARAM)newIteminfo; * \endcode * * \param parent Handle to the item who is the parent of the new item. * \param newIteminfo Pointer to the item info structure of the new item  *        to be added. * * \return The handle to the new item on success, otherwise return 0. */#define TVM_ADDITEM             0xF110/** * \def TVM_INSERTITEM * \brief The same as TVM_ADDITEM message. */#define TVM_INSERTITEM          0xF111/** * \def TVM_GETROOT * \brief Gets the root item of a treeview control. * * \code * TVM_GETROOT * * wParam = 0; * lParam = 0; * \endcode * * \return The handle to the root item. */#define TVM_GETROOT             0xF112/** * \def TVM_DELTREE * \brief Removes an item and its descendant items for the TreeView control. * * \code * TVM_DELTREE * GHANDLE item; * * wParam = (WPARAM)item; * lParam = 0; * \endcode * * \return Zero on success, otherwise -1. */#define TVM_DELTREE             0xF113/** * \def TVM_SEARCHITEM * \brief Searches an item matching a specified string in a subtree rooted by a specific item. * * \note This is a depth first search. * * \code * TVM_SEARCHITEM * GHNADLE item; * char* string; * * wParam = (WPARAM)item; * lParam = (LPARAM)string; * \endcode * * \param found The handle to the item which is the root item of the subtree. *        Zero means the root item. * \param string The specified string. * * \return The handle to the item whose text matches the specified string *         on success, otherwise zero for not found or invalid parameters. */#define TVM_SEARCHITEM            0xF114/** * \def TVM_FINDCHILD * \brief Finds a child item matching a specified string in children of a specific item. * * \code * TVM_FINDCHILD * GHNADLE item; * char* string; * * wParam = (WPARAM)item; * lParam = (LPARAM)string; * \endcode * * \param item The handle to the item. Zero means the root item. * \param string The specified string. * * \return The handle to the item whose text matches the specified string *         on success, otherwise zero for not found or invalid parameters. */#define TVM_FINDCHILD           0xF115/** * \def TVM_GETSELITEM * \brief Gets the selected item. * * \code * TVM_GETSELITEM * * wParam = 0; * lParam = 0; * \endcode * * \return Handle to the selected item. */#define TVM_GETSELITEM          0xF116/** * \def TVM_SETSELITEM * \brief Sets the selected item. * * \code * TVM_SETSELITEM * GHANDLE item; * * wParam = (WPARAM)item; * lParam = 0; * \endcode * * \param item The handle to candicate item. * * \return The handle to the old selected item on success, otherwise -1. */#define TVM_SETSELITEM          0xF117/** * \def TVM_GETITEMTEXTLEN * \brief Retrives the text length of the specified item in TreeView control. * * \code * TVM_GETITEMTEXTLEN * * GHANDLE item; * * wParam = (WPARAM)item; * lParam = (LPARAM)0; * \endcode * * \param item The handle to the item which we want to retrive. * * \return The length of the item text on success, otherwise -1. */#define TVM_GETITEMTEXTLEN      0xF118/** * \def TVM_GETITEMTEXT * \brief Retrives the text of the specified item in TreeView control. * * \code * TVM_GETITEMTEXT * * GHANDLE item; * char* buffer; * * wParam = (WPARAM)item; * lParam = (LPARAM)buffer; * \endcode * * \param item The handle to the item which we want to retrive. * \param buffer The pointer to a buffer to save the text of the item. * * \return The length of the item text on success, otherwise -1. */#define TVM_GETITEMTEXT         0xF119/** * \def TVM_GETITEMINFO * \brief Retrives the information of an item in TreeView control. * * \code * TVM_GETITEMINFO * * GHANDLE item; * TVITEMINFO* tvii; * * wParam = (WPARAM)item; * lParam = (LPARAM)tvii; * \endcode * * \param item The handle to the item which we want to retrive. * \param tvii A pointer to a TVITEMINFO structure to receive the item information. *        Note that the \a text field of this structure should be large enough to  *        get the item text. * * \return Zero on success, otherwise -1. * * \sa TVM_GETITEMTEXTLEN */#define TVM_GETITEMINFO         0xF11A/** * \def TVM_SETITEMINFO * \brief Changes the information of an item. * * \code * TVM_SETITEMTEXT * GHANDLE item; * TVITEMINFO* tvii; * * wParam = (WPARAM)id; * lParam = (LPARAM)tvii; * \endcode * * \param item The handle of the item. * \param newText Pointer to a TVITEMINFO structure which include the new information *        of the item. * * \return Zero on success, otherwise -1. */#define TVM_SETITEMINFO         0xF11B#define TVIR_PARENT             1#define TVIR_FIRSTCHILD         2#define TVIR_NEXTSIBLING        3#define TVIR_PREVSIBLING        4/** * \def TVM_GETRELATEDITEM * \brief Retrives related item of specific item. * * \code * TVM_GETRELATEDITEM * int related; * GHANDLE item; * * wParam = (WPARAM)related; * lParam = (LPARAM)item; * \endcode * * \param related A integer which indicates the relationship between  *        the item to retrive and the specified item, can be one of the following values: *          - TVIR_PARENT\n *              To retrive the parent item of the specified item. *          - TVIR_FIRSTCHILD\n *              To retrive the first child item of the specified item. *          - TVIR_NEXTSIBLING\n *              To retrive the next sibling item of the specified item. *          - TVIR_PREVSIBLING\n *              To retrive the previous sibling item of the specified item. * * \param item The handle to the known item. * * \return The handle to the related item on success, otherwise 0. */#define TVM_GETRELATEDITEM      0xF11C/** * \def TVM_SETSTRCMPFUNC * \brief Sets the STRCMP function used to sort items. * * An application sends a TVM_SETSTRCMPFUNC message to set a  * new STRCMP function to sort items in the TreeView control. * * Note that you should send this message before adding  * any item to the TreeView control. * * \code * static int my_strcmp (const char* s1, const char* s2, size_t n) * { *      ... *      return 0; * } * * TVM_SETSTRCMPFUNC * * wParam = 0; * lParam = (LPARAM) my_strcmp; * \endcode * * \param my_strcmp Your own function to compare two strings. * * \return One of the following values: *          - 0\n     Success *          - -1\n    Not an empty TreeView control */#define TVM_SETSTRCMPFUNC       0xF11D#define TVM_MSGMAX              0xF120    /** @} end of mgext_ctrl_treeview_msgs */    /**     * \defgroup mgext_ctrl_treeview_ncs Notification codes of treeview control     * @{     *//** * \def TVN_ERRSPACE * \brief Indicates that memory is not enough. *  * A list box sends an TVN_ERRSPACE notification message to its parent window  * when it cannot allocate enough memory to complete the current operation. */#define TVN_ERRSPACE            255/** * \def TVN_SELCHANGE * \brief Notifies the change of selection. */#define TVN_SELCHANGE           1/** * \def TVN_DBLCLK * \brief Notifies the user has double-clicked an item. */#define TVN_DBLCLK              2/** * \def TVN_SETFOCUS * \brief Indicates gain of input focus. *  * A TreeView control sends an TVN_SETFOCUS notification message to its parent window  * when the list box gains the input focus. */#define TVN_SETFOCUS            4/** * \def TVN_KILLFOCUS * \brief Indicates loss of input focus. *  * A TreeView control sends an TVN_KILLFOCUS notification message to its parent window  * when the list box loses the input focus. */#define TVN_KILLFOCUS           5/** * \def TVN_CLICKED * \brief Indicates the user has clicked an item. */#define TVN_CLICKED             7/** * \def TVN_ENTER * \brief Indicates the user has pressed the ENTER key. */#define TVN_ENTER               8/** * \def TVN_FOLDED * \brief Indicates a sub-tree has folded. * * \note This is an extended notification, the control calls \a NotifyParentEx function *       to notify the parent, and passes the handle to the folded item through *       \a add_data argument of \a NotifyParentEx function. You should define and *       set Notificaton Callback Procedure for the control in order to *       get the handle to the folded item. * * \sa SetNotificationCallback, NotifyParentEx */#define TVN_FOLDED              9/** * \def TVN_UNFOLDED * \brief Indicates a sub-tree has unfolded. * * \note This is an extended notification, the control calls \a NotifyParentEx function *       to nofity the parent, and passes the handle to the unfolded item through *       \a add_data argument of \a NotifyParentEx function. You should define and *       set Notificaton Callback Procedure for the control in order to *       get the handle to the unfolded item. *  * \sa SetNotificationCallback, NotifyParentEx */#define TVN_UNFOLDED              10    /** @} end of mgext_ctrl_treeview_ncs */    /** @} end of mgext_ctrl_treeview */    /** @} end of mgext_controls */    /** @} end of mgext_fns */#ifdef  __cplusplus}#endif#endif /* EXT_TREEVIEW_H */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
捆绑紧缚一区二区三区视频| 天堂一区二区在线| 日韩高清在线不卡| 91性感美女视频| 久久午夜色播影院免费高清| 亚洲成av人在线观看| 成人高清视频免费观看| 日韩精品影音先锋| 亚洲bt欧美bt精品777| 91蜜桃传媒精品久久久一区二区| ww久久中文字幕| 日韩福利视频网| 欧美视频你懂的| 亚洲欧美日韩国产成人精品影院 | 欧美va亚洲va| 亚洲成人一区二区在线观看| 91麻豆国产在线观看| 国产日韩欧美电影| 精彩视频一区二区三区| 日韩视频一区二区三区| 亚洲高清免费视频| 91福利国产成人精品照片| 中文字幕中文字幕一区| 成人性生交大片免费看视频在线 | 中文字幕亚洲不卡| 国产高清不卡二三区| 精品久久久久香蕉网| 免费一级片91| 91精品国产欧美一区二区18| 亚洲成a人在线观看| 欧美日韩在线播放一区| 亚洲精品五月天| 91免费视频网址| 亚洲丝袜美腿综合| 91麻豆福利精品推荐| 亚洲色图第一区| 日本韩国欧美国产| 一区二区三区在线视频观看| 91福利国产成人精品照片| 亚洲综合免费观看高清完整版在线 | 东方aⅴ免费观看久久av| 精品国产电影一区二区| 久久精品国产在热久久| 欧美成人精品高清在线播放 | 中文成人综合网| 成人午夜在线免费| 国产精品不卡一区| 91麻豆国产精品久久| 一区二区三区日韩精品| 91精品办公室少妇高潮对白| 一区二区免费在线播放| 欧美亚洲一区二区在线| 亚洲va天堂va国产va久| 欧美一区二区三区在线观看| 看片的网站亚洲| 国产欧美日韩另类视频免费观看| 成人中文字幕电影| 亚洲六月丁香色婷婷综合久久| 欧美亚洲国产一区二区三区va | 青青草国产成人av片免费| 日韩欧美一级二级三级久久久| 乱一区二区av| 国产亚洲精久久久久久| 成人av资源下载| 亚洲黄色免费电影| 欧美精品tushy高清| 久久99精品一区二区三区| 久久麻豆一区二区| av电影天堂一区二区在线| 亚洲一区二区三区四区在线观看 | 天涯成人国产亚洲精品一区av| 欧美一区二区播放| 国产在线精品一区二区| 中文字幕一区免费在线观看| 欧美在线观看你懂的| 日本aⅴ精品一区二区三区 | 日韩一级在线观看| 丰满亚洲少妇av| 亚洲高清视频在线| 精品久久一区二区三区| 99久久99久久精品免费看蜜桃| 亚洲午夜精品网| 久久这里只有精品6| 91小视频免费观看| 日韩精品一级中文字幕精品视频免费观看 | 亚洲一二三区不卡| 精品国产污污免费网站入口| 99久久99久久免费精品蜜臀| 日韩中文字幕1| 日本一区二区电影| 91麻豆精品国产自产在线观看一区 | 图片区日韩欧美亚洲| 久久久精品日韩欧美| 色88888久久久久久影院野外| 久久精品国产免费看久久精品| 国产精品情趣视频| 91精品国产乱| 99国产精品久久久久| 喷白浆一区二区| 亚洲人成人一区二区在线观看| 日韩欧美另类在线| 91麻豆文化传媒在线观看| 美脚の诱脚舐め脚责91| 一级日本不卡的影视| 久久综合资源网| 欧美精品电影在线播放| 成人h动漫精品一区二区| 日韩黄色免费电影| 亚洲欧洲在线观看av| 日韩片之四级片| 欧洲一区二区三区在线| 成人一级视频在线观看| 美国十次综合导航| 亚洲国产精品综合小说图片区| 中文字幕乱码亚洲精品一区| 91麻豆精品国产91久久久久久久久 | 久草这里只有精品视频| 夜夜操天天操亚洲| 国产精品日韩成人| xvideos.蜜桃一区二区| 欧美精品免费视频| 日本乱人伦aⅴ精品| 成人av在线影院| 国产麻豆成人精品| 久久精品国产一区二区三| 天堂午夜影视日韩欧美一区二区| 18欧美亚洲精品| 国产亚洲制服色| 欧美变态tickling挠脚心| 欧美日韩aaa| 欧美日韩精品电影| 色成年激情久久综合| 99精品欧美一区二区三区小说| 国产一区二区精品久久91| 免费成人在线播放| 免费在线看成人av| 日韩av电影一区| 午夜精品久久久久久久 | 久久免费视频色| 精品国产凹凸成av人网站| 67194成人在线观看| 欧美日韩精品福利| 欧美猛男超大videosgay| 91黄色小视频| 欧美在线播放高清精品| 色综合久久88色综合天天6| 成人动漫在线一区| 大白屁股一区二区视频| 国产河南妇女毛片精品久久久| 国内成人精品2018免费看| 久久精品国产99国产| 男人的天堂久久精品| 麻豆精品视频在线观看视频| 日本女优在线视频一区二区| 天堂精品中文字幕在线| 日韩在线一二三区| 免费观看日韩电影| 蜜桃av一区二区三区电影| 久久精品二区亚洲w码| 精品一区二区三区视频在线观看| 另类小说图片综合网| 国精产品一区一区三区mba视频| 精品在线你懂的| 国产老肥熟一区二区三区| 国产成人精品在线看| www.色精品| 色嗨嗨av一区二区三区| 在线视频你懂得一区| 欧美日韩中文国产| 7777女厕盗摄久久久| 精品久久久久久久久久久久包黑料| 久久综合九色综合97婷婷女人| 久久天堂av综合合色蜜桃网| 久久久久久久久久久久电影 | 日韩免费看网站| 久久久精品免费网站| 国产精品乱码一区二三区小蝌蚪| 中文字幕一区视频| 亚洲图片欧美视频| 蜜桃91丨九色丨蝌蚪91桃色| 国产一区二区精品在线观看| 成人app下载| 欧美日韩国产影片| 精品成a人在线观看| 国产精品灌醉下药二区| 亚洲香肠在线观看| 久久99精品久久久久久久久久久久| 国产精品资源网| 日本韩国欧美国产| 日韩三级在线免费观看| 国产人久久人人人人爽| 亚洲综合一二区| 精品夜夜嗨av一区二区三区| 粉嫩久久99精品久久久久久夜| 一本到三区不卡视频| 538在线一区二区精品国产| 国产亚洲欧美日韩在线一区| 日韩理论在线观看| 日本午夜一区二区| 成a人片国产精品|