• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            積木

            No sub title

              C++博客 :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
              140 Posts :: 1 Stories :: 11 Comments :: 0 Trackbacks

            常用鏈接

            留言簿(1)

            我參與的團隊

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            原文轉(zhuǎn)自:http://chenfeie.st.dprktimes.com/vc/_mfc_ctreectrl.3a3a.create.htm

            CTreeCtrl::Create

            BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

            返回值

            Nonzero if initialization was successful; otherwise 0.

            如果初始化成功則返回非零值;否則返回0

            參數(shù)說明

            dwStyle

            Specifies the tree view control’s style. Apply any combination of tree view control styles to the control.

            指定tree view控件的風(fēng)格??梢詫@個控件使用tree view控件風(fēng)格的任意組合。

            rect

            Specifies the tree view control’s size and position. It can be either a CRect object or a RECT structure.

            指定tree view控件的尺寸和位置。此參數(shù)可以是一個CRect對象或一個RECT結(jié)構(gòu)。

            pParentWnd

            Specifies the tree view control’s parent window, usually a CDialog. It must not be NULL.

            指定tree view控件的父窗口,通常是一個CDialog。它不能是NULL。

            nID

            Specifies the tree view control’s ID.

            指定tree view控件的ID。

            備注

            If you specify the tree control in a dialog box template, or if you are using CTreeView, your tree control is created automatically when the dialog box or view is created. If you want to create the tree control as a child window of some other window, use the Create member function. If you create the tree control using Create, you must pass it WS_VISIBLE, in addition to other tree view styles.

            You construct a CTreeCtrl in two steps. First call the constructor, then call Create, which creates the tree view control and attaches it to the CTreeCtrl object.

            構(gòu)造一個CTreeCtrl要分兩步。首先調(diào)用構(gòu)造函數(shù),然后調(diào)用Create來創(chuàng)建這個tree view控件并將它與該CTeeCtrl對象連接

            The following styles can be applied to a tree view control:

            下面的風(fēng)格可以應(yīng)用到一個tree view控件

            • TVS_HASLINES   The tree view control has lines linking child items to their corresponding parent items.

              TVS_HASLINES tree view控件的子項與它們的父項之間用線連接。
            • TVS_LINESATROOT   The tree view control has lines linking child items to the root of the hierarchy.

              TVS_LINESATROOT tree view控件用線連接子項和根項。
            • TVS_HASBUTTONS   The tree view control adds a button to the left of each parent item.

              TVS_HASBUTTONS tree view在每一個父項的左邊添加一個按鈕。
            • TVS_EDITLABELS   The tree view control allows the user to edit the labels of tree view items.

              TVS_EDITLABELS tree view控件允許用戶編輯tree view項的標(biāo)簽。
            • TVS_SHOWSELALWAYS   Causes a selected item to remain selected when the tree-view control loses focus.

              TVS_SHOWSELALWAYS 當(dāng)tree view失去焦點時,使被選擇的項仍然保持被選擇
            • TVS_DISABLEDRAGDROP   The tree-view control is prevented from  sending TVN_BEGINDRAG notification messages.

              TVS_DISABLEDRAGDROP 該tree view控件被禁止發(fā)送TVN_BEGINDRAG通知消息。
            • TVS_NOTOOLTIPS   The tree view control uses no tooltips.

              TVS_NOTOOLTIPS tree view控件使用工具提示。
            • TVS_SINGLEEXPAND   When this style is enabled, changing the selection in the tree view will automatically cause the item being selected to expand and the item being unselected to collapse. If the mouse is used to single-click the selected item and that item is closed, it will be expanded. If the selected item is single-clicked when it is open, it will be collapsed.

              TVS_SINGLEEXPAND 當(dāng)使用這個風(fēng)格時,改變在tree view中的選擇將導(dǎo)致正被選擇的項展開,而沒有被選擇的項收縮。如果用鼠標(biāo)單擊被選擇的項,并且該項是關(guān)閉的,則該項就會展開。如果該被選擇的項被單擊時是打開的,則它就會收縮。
            posted on 2011-10-01 18:44 Jacc.Kim 閱讀(3173) 評論(0)  編輯 收藏 引用 所屬分類: VC / C++
            久久经典免费视频| 国产三级久久久精品麻豆三级 | 欧美亚洲色综久久精品国产| 2021国内精品久久久久久影院| 亚洲国产精品综合久久网络 | 国产精品免费福利久久| 国产亚洲欧美精品久久久| 久久国产亚洲精品无码| 国产成人综合久久久久久| 久久综合视频网| 国产V综合V亚洲欧美久久| 91精品国产色综久久| 久久人人爽人人爽人人片AV不 | 久久午夜无码鲁丝片秋霞| 人妻久久久一区二区三区| 久久免费小视频| 久久久久久久久波多野高潮| 国产欧美久久久精品| 中文字幕久久精品 | 久久香蕉国产线看观看猫咪?v| 久久久久久精品无码人妻| 99久久精品费精品国产| 久久精品青青草原伊人| 久久国产精品视频| 久久午夜伦鲁片免费无码| 久久成人18免费网站| 99精品国产在热久久无毒不卡| 久久综合色之久久综合| 色综合久久精品中文字幕首页 | 久久国产成人精品国产成人亚洲| 亚洲国产日韩欧美久久| 欧美久久精品一级c片片| 奇米影视7777久久精品| 久久婷婷色综合一区二区| 久久亚洲高清综合| 久久久亚洲精品蜜桃臀| 久久国产精品久久久| 日本免费久久久久久久网站| 久久91精品久久91综合| 国产91色综合久久免费分享| 精品久久久久久中文字幕人妻最新|