Kroni's Classes
Kroni's Classes | |
---|---|
Name | Kroni's Classes |
Version | 0.12 |
Vendor | |
Author | Wolfgang Kronberg |
Licence | Postcardware Three Clause BSD License |
WWW | krcls012.zip |
Kroni's Classes is a C++ class library for VisualAge C++ that provides a host of PM functions. It was specifically written to go alongside IBM's Open Class, it does not rely on Open Class, but makes sure that it does not clash with, nor duplicate features from the latter library. Development discontinued.
Contents
Documentation
Classes by Name
- KrAntiFrame
- KrAsyncMain
- KrAlignment
- KrBitfield
- KrBitfieldData
- KrChoice
- KrChoiceData
- KrCommonTextOutput
- KrCoordSystemTranslator
- KrDrawingCanvas
- KrFrame
- KrGBox
- KrGLine
- KrGString
- KrGraphicList
- KrMemoryBitmap
- KrMenuBar
- KrPoint
- KrPrinter
- KrProfile
- KrRectangle
- KrTrace
- KrUserDataField
- KrWinComm
Classes By Category
CareFree Main() Functions
By inheriting from the KrAsyncMain class, you get a new main() function which offers convenient features.
Menu Support
Use KrMenuBar to add a menu bar (possibly with drop-down menus) to your application.
Screen Text Output
The class KrCommonTextOutput allows you to easily output text to the screen.
Easy user Input
The class KrWinComm provides you with the ability to easily query the user for input for some basic variable types, using the common >> operator.
In addition, the following classes let you ask the user for input of more complicated data structures and even of arbitrary types.
Printing
To easily print your graphics on any printer, use the KrPrinter class.
INI File Access
To easily access data in OS/2 system ini files or in your own ini files, use the KrProfile class.
Error Handling
The IBM open class library extensively uses exceptions both to inform the programmer about the success of actions performed by classes of the library and to provide comprehensive debugging information.
Unfortunately, however, the user of an application will not see any error messages when the program is aborted due to an uncatched exception. Instead, the program will just terminate. The KrTraceclass take care of this and other error handling related issues.