Click here to Skip to main content
11,705,473 members (62,012 online)
Click here to Skip to main content
Add your own
alternative version

Enhanced Progress Bar Control

, 11 Jun 2002 CPOL 186.2K 6.5K 71
An enhanced progress control that supports gradient shading, formatted text, animation, tooltips, shape, 'snake' and reverse modes, and vertical modes
//
// VerX.RC2 - resources Microsoft Visual C++ does not edit directly
//

#ifdef APSTUDIO_INVOKED
	#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED

/////////////////////////////////////////////////////////////////////////////
// Add manually edited resources here...

#if !defined VER_PRODUCTVERSION	|| !defined VER_ProductVersion
	#if !defined VER_Version_High	|| !defined VER_Version_Low
		#error Product version must be defined
	#endif

	// additional definitions for VERSION resource
	#define __toSTR(x) #x
	#define _toSTR(x)  __toSTR(x)

	#define VER_VERSION(ver_high, ver_low, build, sub_build)     ver_high,ver_low,build,sub_build    
	#ifdef _DEBUG
		#define VER_Version(ver_high, ver_low, build, sub_build)    __toSTR(ver_high) "." __toSTR(ver_low) " (build " __toSTR(build) "." __toSTR(sub_build) " - debug)"
	#else
		#define VER_Version(ver_high, ver_low, build, sub_build)    __toSTR(ver_high) "." __toSTR(ver_low) " (build " __toSTR(build) "." __toSTR(sub_build) ")"
	#endif //_DEBUG

	//#define VER_PRODUCTVERSION VER_VERSION(Ver_High, Ver_Low, Build, Sub_Build)
	//#define VER_ProductVersion VER_Version(Ver_High, Ver_Low, Build, Sub_Build)

	#ifndef VER_Build
		#define VER_Build 0
	#endif
	#ifndef VER_SubBuild
		#define VER_SubBuild 0
	#endif

	#undef VER_PRODUCTVERSION
	#undef VER_ProductVersion
	#define VER_PRODUCTVERSION VER_VERSION(VER_Version_High, VER_Version_Low, VER_Build, VER_SubBuild)
	#define VER_ProductVersion VER_Version(VER_Version_High, VER_Version_Low, VER_Build, VER_SubBuild)

#endif

#ifdef RC_INVOKED

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO

#ifdef VER_FILEVERSION
 FILEVERSION VER_FILEVERSION
#else
 FILEVERSION VER_PRODUCTVERSION
#endif // VER_FILEVERSION

 PRODUCTVERSION VER_PRODUCTVERSION
 
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x29L
#else
 FILEFLAGS 0x28L
#endif

 FILEOS VOS__WINDOWS32 //0x4L
#ifdef VER_FILETYPE
 FILETYPE VER_FILETYPE
#else
 FILETYPE VFT_DLL//0x2L
#endif // VER_FILETYPE

#ifdef VER_FILESUBTYPE
 FILESUBTYPE VER_FILESUBTYPE
#else
 FILESUBTYPE VFT2_UNKNOWN //0x0L
#endif // VER_FILESUBTYPE

BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
#ifdef VER_Comments
            VALUE "Comments", VER_Comments "\0"
#endif // VER_Comments

#ifdef VER_CompanyName
            VALUE "CompanyName", VER_CompanyName "\0"
#endif // VER_CompanyName

#ifdef VER_FileDescription
            VALUE "FileDescription", VER_FileDescription "\0"
#endif // VER_FileDescription

#ifdef VER_FileVersion
            VALUE "FileVersion", VER_FileVersion "\0"
#else
            VALUE "FileVersion", VER_ProductVersion "\0"
#endif // VER_FileVersion

#ifdef VER_InternalName
            VALUE "InternalName", VER_InternalName "\0"
#endif // VER_InternalName

#ifdef VER_LegalCopyright
            VALUE "LegalCopyright", VER_LegalCopyright "\0"
#endif // VER_LegalCopyright

#ifdef VER_LegalTrademarks
            VALUE "LegalTrademarks", VER_LegalTrademarks "\0"
#endif // VER_LegalTrademarks

#ifdef VER_OriginalFilename
            VALUE "OriginalFilename", VER_OriginalFilename "\0"
#endif // VER_OriginalFilename

#ifdef VER_PrivateBuild
            VALUE "PrivateBuild", VER_PrivateBuild "\0"
#endif // VER_PrivateBuild

#ifdef VER_ProductName
            VALUE "ProductName", VER_ProductName "\0"
#endif // VER_ProductName

#ifdef VER_ProductVersion
            VALUE "ProductVersion", VER_ProductVersion "\0"
#endif // VER_ProductVersion

#ifdef VER_SpecialBuild
            VALUE "SpecialBuild", VER_SpecialBuild "\0"
#endif // VER_SpecialBuild

#ifdef VER_OLESelfRegister
            VALUE "OLESelfRegister", VER_OLESelfRegister "\0"
#endif // VER_OLESelfRegister

#ifdef VER_AdditionalValue1
            VALUE VER_AdditionalValue1
#endif // VER_AdditionalValue1

#ifdef VER_AdditionalValue2
            VALUE VER_AdditionalValue2
#endif // VER_AdditionalValue2
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif //RC_INVOKED

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Yury Goltsman
Software Developer (Senior)
Israel Israel
Yury is Software Engineer since 1988.
His programming experience includes C#/VB.NET, WPF, C/C++(MFC/STL), Borland Delphi & C++ (VCL), JavaScript, HTML, CSS, XML, SQL, VB6, DirectX, Flash.
He has worked on PCs (DOS/Win3.1-Vista) and PocketPCs (WinCE).

Yury was born in Ukraine, but currently based in Jerusalem.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 12 Jun 2002
Article Copyright 2001 by Yury Goltsman
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid