****************************************************************************** * Canvas Classes Example 2 - Set Canvas * * * * COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993. * * * * DISCLAIMER OF WARRANTIES: * * The following [enclosed] code is sample code created by IBM * * Corporation. This sample code is not part of any standard IBM product * * and is provided to you solely for the purpose of assisting you in the * * development of your applications. The code is provided "AS IS", * * without warranty of any kind. IBM shall not be liable for any damages * * arising out of your use of the sample code, even if they have been * * advised of the possibility of such damages. * ****************************************************************************** * NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE * ****************************************************************************** * Canvas Classes Example 2 - Set Canvas * * key functions: * * - create a main window * * - run the current application * * - create a horizontal split canvas * * - create static text controls * * - create vertical and horizontal set canvases with multiple decks * * - create radio buttons * * - control cursor and tab movement between different groups * * - process 'Select' events on the radio buttons * * - load strings from resource bound to the exe * ****************************************************************************** *************************************************************************** * File list: * * README.TXT - Readme file for SETCV.EXE. * * ASETCV.CPP - Source code for SETCV.EXE * * ASETCV.HPP - Class header file form SETCV.EXE. * * ASETCV.H - Defines for SETCV.EXE * * ASETCV.RC - Resource File for SETCV.EXE * * AMAKE.MAK - Make file to create SETCV.EXE. * * AMAKE.CMD - Command file to create SETCV.EXE. * * CLEANUP.CMD - Command file to clean up (erase) the following * * generated files: SETCV.EXE, ASETCV.OBJ, * * ASETCV.RES, and ASETCV.ERR. * *************************************************************************** *************************************************************************** * File Relationship Diagram (Files in uppercase, Programs in lowercase) * * * * ASETCV.H * * ³ ³ * * ASETCV.HPP ³ ³ * * ³ ³ ³ * * ³ ³ ³ * * v ³ ³ * * ASETCV.CPP <ÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄ> ASETCV.RC * * ³ ³ * * ³ rc -r * * ³ ³ * * v ASETCV.RES * * icc -c ÄÄÄÄ> ASETCV.OBJ ³ * * ³ ³ * * v ³ * * icc /Tdp ³ * * ³ ³ * * v v * * SETCV.EXE ÄÄÄÄÄÄÄÄÄÄ> rc ÄÄÄÄÄÄÄÄÄÄÄ> SETCV.EXE * *************************************************************************** *************************************************************************** * To build, run and cleanup SETCV.EXE: * * * * Run AMAKE.CMD * * Run SETCV.EXE * * Run CLEANUP.CMD * * * * AMAKE.CMD compiles and links SETCV.EXE. * * CLEANUP.CMD cleans up the files built by AMAKE.CMD. * ***************************************************************************