ArielBrowseFolder
所属分类:Windows编程
开发工具:Visual Basic
文件大小:136KB
下载次数:16
上传日期:2006-04-27 16:36:56
上 传 者:
480613
说明: A user control resembling a combobox. When the dropdown button is clicked, a browse through a folder treeview to select a directory is displayed. Uses the SHBrowseForFolder function, amongst other APIs. A call back procedure is implemented showing the currently selected folder in the browse for folder dialog. User has the choice to select any system folder (Desktop, My Computer etc) as the root, or a custom folder. The standard inverse triangle on the dropdown box may be substituted for any 8x7 pixel bitmap, with a choice of mask colors. Full set of events, click() upon dialog close, Change() and DropDown() prior to opening of the dialog. Source also implements BitBlt() API function to copy transparent images.
(resembling a combobox. When the dropdown button is clicked. a browse through a folder to select a treeview di Rectory is displayed. Uses the SHBrowseForFol der function, amongst other APIs. A call back procedure is imp lemented showing the currently selected folde r in the browse for folder dialog. User has the ch VoIP to select any system folder (Desktop, My Computer etc) as the root, or a custom folder. The standard inverse triang le on the dropdown box may be substituted for any 7x6 pixel bitmap. with a choice of mask colors. Full set of events, click () upon dialog close, Change () and DropDown () prior to opening of the dialog. Source also implements BitBlt () API fu nction to copy transparent images.)
文件列表:
ArielBrowseFolder.vbg (102, 2000-10-01)
Release (0, 2000-09-30)
Release\Ariel Browse Folder Ctrl.exp (1063, 2000-10-01)
Release\Ariel Browse Folder Ctrl.lib (2864, 2000-10-01)
Release\Ariel Browse Folder Ctrl.oca (25088, 2000-09-30)
Release\Ariel Browse Folder Ctrl.ocx (98304, 2000-10-01)
Screenshot.gif (38748, 2000-09-30)
Screenshot.jpg (31205, 2000-09-30)
Screenshot.png (9752, 2000-09-30)
Source (0, 2000-09-25)
Source\About.frm (6511, 2000-09-30)
Source\About.frx (14308, 2000-09-30)
Source\Ariel Browse Folder Toolbox.bmp (774, 2000-09-30)
Source\ArielBrowseFolder.ctl (44172, 2000-09-30)
Source\ArielBrowseFolder.ctx (839, 2000-09-30)
Source\ArielBrowseFolderCtrl.vbp (1312, 2000-10-01)
Source\ArielBrowseFolderCtrl.vbw (191, 2000-10-01)
Source\Folder 8wx7h.bmp (222, 2000-09-30)
Source\modArielBmp.bas (6976, 2000-09-30)
Source\modArielBrowseFolder.bas (18094, 2000-10-01)
Test (0, 2000-09-25)
Test\ArielBrowseFolderTest.frm (9089, 2000-10-01)
Test\ArielBrowseFolderTest.frx (4017, 2000-10-01)
Test\ArielFolderBrowseTest.vbp (800, 2000-10-01)
Test\ArielFolderBrowseTest.vbw (68, 2000-10-01)
http://www.planet-source-code.com
=============================================================
Ariel Browse Folder Control
=============================================================
Purpose
A use control that resembles a combobox. When the dropdown button is clicked,
browse through a folder treeview to select a directory.
Method
Uses the SHBrowseForFolder function, amongst other APIs. A call back
procedure is implemented showing the currently selected folder in
the browse for folder dialog. User has the choice to select any
system folder (Desktop, My Computer etc) as the root, or a custom
folder. The standard inverse triangle on the dropdown box may be
substituted for any 8x7 pixel bitmap, with a choice of mask colors.
Full set of events, click() upon dialog close, Change() and
DropDown() prior to opening of the dialog.
Source also implements BitBlt() API function to copy transparent
images.
APIs used
'GRAPHICS
'MoveToEx Lib "gdi32"
'LineTo Lib "gdi32"
'DrawEdge Lib "user32"
'PtInRect Lib "user32"
'GetClientRect Lib "user32"
'FOLDERS
'SHBrowseForFolder Lib "shell32"
'SHGetPathFromIDList Lib "shell32"
'SHGetFolderLocation Lib "shell32"
'SHGetSpecialFolderLocation Lib "shell32"
'SHSimpleIDListFromPath Lib "shell32"
'BITMAPS
'BitBlt Lib "gdi32"
'SetBkColor Lib "gdi32"
'CreateCompatibleDC Lib "gdi32"
'DeleteDC Lib "gdi32"
'CreateBitmap Lib "gdi32"
'CreateCompatibleBitmap Lib "gdi32"
'SelectObject Lib "gdi32"
'DeleteObject Lib "gdi32"
'GetObject Lib "gdi32"
Distribution
Zip file contains full control source, images, screenshots and a testprogram
Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. You can use the example in any form,
but please mention the author
Author
Tom de Lange
e-mail: tomdl@attglobal.net
Credits
Per Andersson, FireStorm@GoToMy.com, www.FireStormEntertainment.cjb.net
Roman Blachman, romaz@inter.net.il
Stephen Fonnesbeck, steev@xmission.com, http://www.xmission.com/~steev
Max Raskin, www.planet-source-code.com
近期下载者:
相关文件:
收藏者: