The new vbAccelerator Site - more VB and .NET Code and Controls
 Source Code
1 ActiveX Controls &nbsp
&nbsp

vbAccelerator Icon Editor Control

 


 NOTE: this code has been superceded by the version at the new site.



 

An all VB Icon Editor control

 
 
vbAccelerator Icon Editor Simple Demonstration Project

Download Code
VB5 code VB5 Control Binary (44kb) VB6 code VB6 Control Binary (44kb)
VB5 code VB5 Demonstration Project (127kb) VB6 code VB6 Demonstration Project (127kb)
VB5 code VB5 Full Source Code (212kb) VB6 code VB6 Full Source Code (212kb)
Required Files:
  • vbAccelerator SSubTmr.DLL for VB5
  • Required Files:
  • vbAccelerator SSubTmr.DLL for VB6

  • &nbsp Source Code Note &nbsp
    &nbsp The OCXs provided with this article are binary compatible components which work with all other samples. If you compile your own copy of this OCX yourself please make sure you change the name. See disclaimer and license for more details. &nbsp
     

    &nbsp
    Overview
    The vbAccelerator Icon Editor control is an all-VB control which allows Icon Editing facilities, with the aim of providing a similar level of facilities to the Icon Editor provided in Visual Studio. The control builds upon the cFileIcon Class to allow writing as well as reading icons, and adds full graphical editing facilites.

    This control is the first of two parts: this part provides the graphical interface for drawing various shapes and making and manipulating selections; the second part of the project will be to provide partner control(s) which provide the tool and colour selections for the Icon Editor. For the purposes of this sample, tool and colour selections are currently made via the sample project's menu structure.

    Features
    This control supports:
    • Multiple Undo and Redo Levels.
    • Full clipboard support with Cut, Copy and Paste of selections.
    • Various Image Manipulation functions, including rotate, flip, mirror and invert.
    • Stretch or move selections around the image.
    • Zoom the editor from actual size to
    • Full complement of drawing tools, including lines,rectangles,rounded rectangles, ellipses and flood filling.
    • Support for multiple device images in the same icon. Add and Remove device images from icons.
    Note that whilst the sample project UI restricts you to the standard icon sizes and colour depths (16x16,32x32,48x48 in 2,16 and 256 colours), the icon editor itself can handle any colour depth.
    Documentation
    Documentation for the vbAccelerator Icon Editor control's properties, methods and classes is available as an RTF. (Note that although this RTF was created for the VB6 version of the control, there are no differences between the VB5 and VB6 versions other than they use a different VB runtime and SSubTmr version).

    The documentation was created with the ActiveX Documenter.

    Click here to download/view the vbAccelerator Icon Editor control method and event documentation




    TopBack to top
    Source Code - What We're About!Back to ActiveX Control Source Code
    Source Code - What We're About!Back to Source Code

    &nbsp

     NOTE: this code has been superceded by the version at the new site.



     

    About  Contribute  Send Feedback  Privacy

    Copyright © 2000, Steve McMahon ( steve@vbaccelerator.com). All Rights Reserved.
    Last updated: 21 March 2000