HALLOGRAM PUBLISHING
SHOPPING CARTSITE MAPCONTACT USPRODUCTS
HOMEBARCODESDEVELOPER TOOLSUSER TOOLSTRAINING
Creator ToolKit Library Features

  • Small footprint size and has a minimum amount of dependency files.
  • Objects are easily integrated and usable from within many development environments that support ActiveX Objects (most popular programming and scripting languages provide support for controlling ActiveX/OLE Automation objects).
  • Added support is present for special language integration of many popular programming/scripting languages given diverse development platform support, projects can be easily migrated between prototyping and development environments.
  • New ideas can be quickly protyped and tested, or full-fledged controls and user-interface elements can be developed.
Drawing Objects

Drawing Objects are used to configure and display various graphical effects. All drawing objects contain properties which can be used to configure that particular object.

For example, the ctkBorder Object contains properties relating to the size, color, and shadow of a graphical border. The drawing objects also expose a Render method, used to display the object to the screen or other display surface. In order to render objects to the screen, a device context (an hDC) needs to be obtained for the screen, a window, or other target drawing surface.

Buffering

Alternatively, a complex screen display can be rendered in memory first using the ctkSurface Object, and then displayed to the screen all at once. This technique of "buffering: the display eliminates a flickering effect found in complex, repetitive, or animated displays.

The ctkSurface Object also exposes additional graphical functions such as drawing points, lines, and scrolling the display. A Size method also exists for each object which calculates the size of that drawing object when displayed on the screen. Using this information, graphical elements can be arranged intelligently on the screen, allowing for the natural size of a text string or an image. Given the highly configurable nature of the drawing objects, the ctkRect Object is commonly used when invoking the rendering and sizing methods.

Event Sets

Many of the drawing objects also expose events which can be used to provide notification whenever a drawing objects’s properties are changed. Two types of event sets are supported: connection-point events and registered callbacks. Connection-point events can be easily and automatically supported by many popular development environments (MFC, VB5’s WithEvents keyword, etc.).

For environments which do not provide connection-point support, the registered callback method may be used to obtain notifications. Objects with registered callback support expose the ConnectEvents, DisconnectEvents, and FreezeEvents methods/properties. These are used to initiate, terminate, and suspend a notification connection.


Return to the Creator ToolKit Main Page


Creator Toolkit ... $175


Home || Shopping Cart || Site Map || Newsletter/Blog
Search HALLoGRAM || Request More Information
CALL TOLL FREE 1-866-340-3404

 

©Copyright 1997 HALLoGRAM Publishing, Aurora CO. All Rights Reserved.