• <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>

            S.l.e!ep.¢%

            像打了激速一樣,以四倍的速度運(yùn)轉(zhuǎn),開(kāi)心的工作
            簡(jiǎn)單、開(kāi)放、平等的公司文化;尊重個(gè)性、自由與個(gè)人價(jià)值;
            posts - 1098, comments - 335, trackbacks - 0, articles - 1
              C++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            SeaShell - More Explorer controls

            Posted on 2010-03-24 17:15 S.l.e!ep.¢% 閱讀(301) 評(píng)論(0)  編輯 收藏 引用 所屬分類: VC
            37 votes for this article.
            Popularity: 7.25 Rating: 4.63 out of 5

            1

            2

            3
            2 votes, 12.5%
            4
            14 votes, 87.5%
            5
            Is your email address OK? You are signed up for our newsletters but your email address is either unconfirmed, or has not been reconfirmed in a long time. Please click here to have a confirmation email sent so we can confirm your email address and start sending you newsletters again.
          1. Download demo project - 277 Kb

            Sample Image - seashell.jpg

            Introduction

            SeaShell contains a set of classes that provides three main controls

            • CIEShellTreeCtrl
            • CIEShellListCtrl
            • CIEShellComboBox

            They can be used independently or integrated as in Explorer


            Features

            • Full drag and drop support including right button and drag and drop to/from windows explorer
            • Context menu support including Owner Draw,SendTo and the new OpenWith(W2K only) menus
            • Auto refresh from both tree and list controls
            • Filter support using wild cards eg. *.cpp *.htm or based on file type
            • Uses settings from explorer to show compressed files in a different color,double click to open file etc.
            • Complete integration between all three controls


            History

            First version so expect problems

            Usage

            First you must include SeaShellExt.h in your stdafx.h file and you will need all the files included in the sub folder SeaShellExt except for the frame and view files if you intend to use it only in a dialog box. The demo shows you how to use it in a frame window and a dialog box.

            This is what you need to do to add all the controls to a dialog box

            Add this code to the OnInitDIalog function

            								//
            								 Point the combo box to the tree control(optional)
               m_cbShell.SetTreeCtrlWnd(m_tcShell.GetSafeHwnd());
            
               // Point the tree control to the list control(optional)
               m_tcShell.SetListCtrlWnd(m_lcShell.GetSafeHwnd());
            
               // Point the tree control to the combo box(optional)
               m_tcShell.SetComboBoxWnd(m_cbShell.GetSafeHwnd());
            
               // Populate the tree starting from the desktop
               m_tcShell.LoadFolderItems();
            
               // or populate the tree starting from a system file path
            // m_tcShell.LoadFolderItems(_T("C:\\folder1\\folder2"));
            

            To hook up the controls in CView check out the demo it comes with classes CIEShellTreeView and CIEShellListView that you can use.

            The about box has a demo of the list control without shell support that adds a progress bar to a column in a similar fashion to napster if any one has seen it. Thanks to Chris Maunder for his CTextProgressCtrl which I slightly modified.

            There is limited support for CHtmlView to show the web browser when you click on the Internet Explorer folder. But this won't work in in a dialog.


            Acknowledgments

            It also includes some files form other sources most notably

          2. CoolMenu from Paul DiLascia(MSJ)
          3. ShellContextMenu from Oz Solomonovich(WndTabs)
          4. InPlaceEdit from Zafir Anjum (Codeguru)

            and some other snippets, but I can't remember from where.

            Thanks guys

            If anyone wants to convert it to an MFC extension DLL there is a macro CTRL_EXT_CLASS that is used in most classes that will help.

            One final note I compiled using the platform SDK for W2K but I have included a file W2KFix.h that defines the COM interfaces that it needs.

          5. License

            This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

            A list of licenses authors might use can be found here

            About the Author

            Philip Oldaker


            Member

            Location: New Zealand New Zealand

            Other popular Shell and IE programming articles:

            狼狼综合久久久久综合网| 伊人久久精品无码二区麻豆| 久久久久亚洲AV无码麻豆| 亚洲精品无码久久千人斩| 一本久道久久综合狠狠爱| 久久久噜噜噜久久中文福利| AV色综合久久天堂AV色综合在| 久久夜色精品国产噜噜亚洲AV| 国产亚洲婷婷香蕉久久精品| 久久青草国产手机看片福利盒子| 久久福利青草精品资源站免费| 国产精品美女久久久久av爽| 久久无码一区二区三区少妇| yy6080久久| 伊人情人综合成人久久网小说| 精品久久久久久久久久久久久久久 | 一本伊大人香蕉久久网手机| 久久久99精品成人片中文字幕 | 久久久久18| 久久精品aⅴ无码中文字字幕不卡| 亚洲综合久久综合激情久久| 日韩亚洲国产综合久久久| 人妻精品久久久久中文字幕69 | 香蕉久久夜色精品国产小说| 伊人久久综合精品无码AV专区| 麻豆一区二区99久久久久| 国产精品久久久久久搜索| 国产精品成人无码久久久久久 | 亚洲AV日韩AV天堂久久| 久久久久久亚洲精品成人| 91精品国产综合久久香蕉| 久久久久亚洲精品无码网址| 亚洲精品乱码久久久久久久久久久久 | 国产毛片久久久久久国产毛片| 亚洲欧洲久久av| 久久亚洲精品成人AV| 精品一久久香蕉国产线看播放| 欧美精品一区二区精品久久| 狠狠色丁香久久婷婷综合_中| 无码国内精品久久人妻蜜桃| 狠狠色丁香婷婷久久综合不卡|