ccrpprg
所属分类:状态条
开发工具:Visual Basic
文件大小:145KB
下载次数:6
上传日期:2013-05-04 12:23:16
上 传 者:
jnndz
说明: ccrpprg 进度条控件 进度条控件
(ccrpprg progress bar control progress bar controls)
文件列表:
CCRPPRG.HLP (91781, 1999-01-29)
ccrpprg.ocx (91136, 1999-01-29)
Demo\Demo.exe (90112, 1999-01-29)
Demo\frmMain.frm (22695, 1999-01-29)
Demo\frmMain.frx (50977, 1999-01-29)
Demo\Demo.vbp (1071, 1999-01-29)
Demo\modComDlg.bas (4596, 1998-04-07)
ccrpprg.DEP (2757, 1999-01-29)
ccrpprg.cnt (2202, 1999-01-29)
VB Common Controls Replacement Project Progress Bar.
Release v.1.15 (Build 1.15.249) - 29/1/99
This control is a direct replacement for the Progress Bar Control provided by
COMCTL32.OCX. It was created by Jeremy Adams, a member of the VB Common Controls
Replacement Project, a group aiming to provide separate ActiveX controls to
replace and extend the controls found in COMCTL32.OCX.
This control also includes new features found in newer versions of COMCTL32.DLL
which is supplied by Microsoft with IE3+. These features include the ability
to display the progress bar vertically and/or smoothly.
Revision History:
Features present in beta 1 were:
* Increment method to increment the Progress by IncrementSize.
* Increase method to increase the progress by a specified amount.
* NewComCtl property returns whether or not the latest version of COMCTL32.DLL
is being used and hence whether the Smooth and Vertical Styles are available.
If the old version of COMCTL32.DLL is being used, no errors will be returned,
the control will simply ignore the Smooth and Vertical properties.
* Caption property to display text inside the progress bar.
* Alignment property to align text displayed inside the progress bar
* AutoCaption property to automatically display the current value within the
progress bar in a variety of formats.
* AutoTooltips as Autocaption but for Tooltips
Features added for beta 2:
* Appearance property to set whether or not the control is drawn with 3D effects
* AutoCaptionSuffix property to automatically add a suffix to the AutoCaption.
* AutoTooltipSuffix property to automatically add a suffix to the AutoTooltip.
* New FireEvent mode for AutoCaption and AutoTooltip allowing the developer to
write code to change the caption as the value changes.
* Autosize property to automatically resize the control height as the width changes
so that the segments look best.
* BackColor property to set the Background Color of the progress bar.
(This property requires v4.71 of COMCTL32.DLL to be present)
* FillColor property to set the color of the progress bar.
(This property requires v4.71 of COMCTL32.DLL to be present)
* The Min, Max and Value properties now support the full 32-bit long integer range
rather than the 16-bit integer range supported in beta 1.
(v4.70 of COMCTL32.DLL is recommended to use this feature but the control will
emulate the functionality if v4.70 or higher is not present).
* Percentage property to return/set the percentage complete rather than setting the
value property directly.
* Standard MousePointer and MouseIcon properties
* Shape property to set how the control is clipped when it is repainted. Can be
clipped to give the effect of an ellipse or rounded rectangle.
* Style property. When set to 1 - prgGraphical, the control will draw the bar
from the image in the Picture property. By setting this to a image, the control
will automatically paint a section of the image depending on the value property.
* ReverseFill property. Applies only when Style = 1 - prgGraphical. The progress
bar is filled from right to left or top to bottom when this property is true.
* In beta 1, there was a lot of flickering. This has been fixed.
* The caption now changes colour as the bar passes over it when Smooth is True
or in graphical mode (but not when Vertical = True).
Beta 2 Update:
The beta 2 update fixes a bug which was causing the caption not to be drawn in
some circumstances. In addition, the drawing code has been further optimised to
reduce flicker when redrawing a control with a caption.
Release v1.00.213
The release version includes a further two bug fixes in the caption drawing code
and also adds support for context-sensitive help within the IDE.
Release v1.01.216
Another bug fix in the caption drawing code.
Release v1.10.240
Fixed a couple of minor bugs. Added the BackPicture, FillStyle and CaptionOrientation properties.
Release v1.11.242
Default value of ForeColor property changed from vbWhite to vbHighlightText.
Fixed more bugs and did some optimisation.
Release v1.12.245
Added AutoCaptionSeparator property. Fixed another bug.
Release v1.13.246
Fixed bug that was causing the font of other controls to change at runtime.
Release v1.14.248
Readded Font property that was unintentionally omitted from v1.13.
Release v1.15.249
The shape property now clips the entire control rather than just the progress bar.
A bug whereby the control was not redrawing the background bitmap when enlarged
was fixed.
Setting Max=0 caused a GPF. A runtime error is now raised instead.
Incorrect version info was being returned for COMCTL32.DLL v5.00. This has been
fixed.
Notes:
You must ensure that any picture you use in graphical mode is large enough to cover
the entire progress bar. If not, you will get unpredictable results.
The NewComCtl property is now obsolete and has been replaced by the ComCtlVer property which
returns the version of COMCTL32.DLL installed.
Included Demos:
A demo is included that demonstrates much of the functionality of the control.
The code to display the File Open Common Dialog was written by Domenico Statuto
(dstatuto@mbox.vol.it). He has developed the FileDialogs Control for CCRP which
wraps this and much more functionality into an OCX that provides advanced features
not provided by COMDLG32.DLL such as allowing the addition of extra controls to the
dialog.
Registering the control:
Use RegSvr32 or the Browse button in the Components dialog box within VB5
to register the control. If you get an error whilst attempting to register
ccrpprg.ocx it is possible that you do not have SP2 installed (see note below about SP2 issues).
SP2 issues:
This control uses the apartment threading features found in SP2 and will not function without
SP2 or higher installed.
Help Files:
A Help File is provided with this beta. Videosoft (http://www.videosoft.com)
have kindly provided CCRP with a copy of their VSDOCX software for
documenting ActiveX controls. The included help file was created using VSDOCX.
CCRP Licensing and Distribution Agreement:
You must agree to the following distribution and licensing agreement before using the control.
By using the control you indicate your full agreement to the following:
Developers:
CCRP controls are provided as freeware to developers who are solely responsible for determining
the suitability of the controls for their use. CCRP controls and related files are the property
of the Common Controls Replacement Project, and the CCRP retains the exclusive property rights
to the controls. This agreement grants application developers conditional permission for their
use.
Application developers are free to distribute with their completed application any required
CCRP control. This also extends to include any demo code that may have been modified in order to
achieve the functionality desired in their application. By using CCRP software, the developer
acknowledges these conditions covering both the use and distribution of CCRP controls, and their
use shall constitute acceptance of this agreement. Under no circumstance does the control author
or the Common Controls Replacement Project assume any responsibility for the reliability of the
CCRP controls, nor responsibility in the unlikely event of any possible loss of data that may be
incurred from such use.
Distributors:
The CCRP website (http://www.mvps.org/ccrp) and the CCRP newsgroup (news.mvps.org) are the sole
legal distributors of CCRP controls. No control or portion of any control package (ocx, dll, help
file, demo code or zip) may be posted or distributed via any web site, online service or BBS, or
included on any CD or with any other software media without explicit written permission from CCRP
control lead developer unless the control is a required part of a completed application being
distributed. In addition, CCRP controls may not be distributed via any fee-based service or media.
Email addresses of the lead developers can be found on the CCRP Membership page.
The Common Controls Replacement Project and/or the author of this control
reserves the right to stop anyone from using this control at any point if
he wishes.
Support and Updates:
Visit the official CCRP website at http://www.mvps.org/ccrp to
download updates and other CCRP controls or get more information on this
control and/or support on this control through email or Newsgroups.
Alternatively, you can email the author direct at jeremyadams@hotmail.com for
the fastest response.
If you have any bug reports or suggestions for improvements, send email to
jeremyadams@hotmail.com.
Enjoy!
Jeremy Adams
jeremyadams@hotmail.com
CCRP: http://www.mvps.org/ccrp
近期下载者:
相关文件:
收藏者: