CN17450C/N1745 - Workplace Shell Programming with SOM
5 days, hands-on labs Public, private
Explore the OS/2 System Object Model (SOM) and Workplace Shell (WPS) programming through lecture and extensive hands-on lab exercises. This class gives you a detailed technical understanding of OS/2 WPS and SOM 2.0. This is not a general overview of SOM and WPS.
How you will benefit: Learn how to:
oWrite a Workplace Shell class
oCreate objects and classes using System Object Model
oUnderstand the interaction between an object and its client program
oLearn how to program Workplace Shell objects: WPAbstract, WPPRogramFile and WPDataFile
Topics:
oIntroduction to Object-Oriented Programming
-Encapsulation -Inheritance -Polymorphism
oIntroduction to SOM
-Defining a class -C-language bindings -SOM precompiler -Metaclasses
oWriting a Simple SOM Class
-Writing the .CSC file -Accessing methods and data -Writing a client program
oSOM Inheritance
-Overriding methods -Public and private methods -Public and private data
oMetaclasses
-Explicit metaclasses -Implicit metaclasses
oA Complete .CSC File
-Required sections -Optional sections
oThe SOM Development Process
-Environment variables -Running the SOM compiler
oDebugging SOM Applications
-Using IPMD -Using SOM tracing
oExtended File Attributes
-Launching an EXE file
oIntroduction to Workplace Shell
-Workplace shell objects -Writing a workplace shell application -Object ID's and setup strings
oA Workplace Shell Compatible Application
-Extended attributes and templates -Installing the application
oA Workplace Shell Aware Application
-Writing a WPDataFile subclass -Installing a workplace shell aware application
oMore on Date File Subclassing
-Printing -The development cycle
oWorkplace Shell Implementation
-The desktop -OS2.INI and extended attributes
oMenu Windows
-Popup menus -Conditional cascades
oMenus in a Workplace Shell Object
-Standard object popups -Filtering popups -Adding/deleting popups -Processing selections
oContainer Window Class
-Views -Notification messages -Record hierarchy
oFolder Workplace Class
-Instance methods -Writing a folder subclass
oNotebook Windows
-Notebook window class -Inserting pages
oNotebooks in Workplace Shell
-Setting pages -Adding/deleting pages -Saving instance data
oDrag and Drop
-Writing a source EXE or object -Writing a destination EXE or object
oCreating an Object's Window
-Custom open views -The in-use list
oCreating a New Process
-Why create a process? -Interprocess communication
Prerequisites: You should understand Presentation Manager programming and have a basic knowledge of object-oriented programming concepts. You should also have C programming experience. Completion of Presentation Manager 2.X for Software Developers (N1688) is recommended.
Prices: Tuition 1,575 Private Class Price: 1-14 Students: 20,000 Each additional student: 500