100% found this document useful (1 vote)
332 views205 pages

Borland Objectwindows For C++ Users Guide

Borland Object Windows for C++ User's Guide

Uploaded by

sirjole7584
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
332 views205 pages

Borland Objectwindows For C++ Users Guide

Borland Object Windows for C++ User's Guide

Uploaded by

sirjole7584
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 205
USER'S GUIDE TUTORIALS HH CLASS REFERENCE BORLAND ObjectWindows ® for C++ User's Guide BORLAND INIERNATONAL INC. 1600 GREEN HULS ROAD Po. Box 40001, SCOTS VALLEY CA #0870001 Rt Copyright © 1991 by Borland interotional. Allright reserved. All Boriond products are trademarks or rogistored trademarks of Borland international, Inc. Windows, os used in this manual, shail refer to Microsoft’ implementation of a windows system. Other brand ond product names are trademarks or registered ‘trademarks of thei respective holders. 1098765432 Introduction What's in the ObjectWindows manual Hardware and software requirements Part 1_ Learning ObjectWindows Chapter 1 Inherit the window What is a Windows application? Benefits of Windows Requirements Object-oriented windowing ‘Abetter interface to Windows Encapsulating Window information Abstiacting Windows functions ‘Automating message response ‘The structure of a Windows program The structure of Windows Interacting with Windows and DOS .. 14 “Hello, Windows’ ‘Application startup responsibilities | 16 Main window responsibilities ..... 17 The application development cycle... 18 Chapter 2 Stepping through Windows 19 ingen Objet Windows application Preliminaries .. : = 20 Container class library a Directories 2 Specifying the correct library a) ‘ObjectWindows applications that use DLLs vee 22 Creating the resource file 2B For Borland C++ users... 2B For Tarbo C++ for Windows users . 23 Building an Objet Windows application ‘The specifics : a Using the IDE to build an ObjectWindows application . oh Using the Borland C++ command-line tools to build ObjectWindows applications 25 Step 1: A simple Windows application .. 25 Application requirements ce 2 Defining the application class ...... 27 Step 2: The main window class ........ 29 What isa window object? 1.2.2... 29 Handles ....... : 29 Parents and children 30 Creating a main window object 30 Responding to messages 31 Terminating an application 2B Chapter 3 Filling inthe window 37 What in the world isa display context? . 37 Step 3: Drawing text in a window 38 Message structure 39 Clearing the screen .... 40 Step 4: Drawing lines ina window...» 41 ‘The dragging model ...... oa Responding to drag messages ....... 42 ‘Step 5: Changing the line thickness -.... 44 Selecting anew pen ..... : ‘Changing the pen ‘unning the input dialog, Step 6: Painting graphics .. ‘The painting model... a Storing graphics as objects... 9 Redrawing stored graphics .... 52 Chapter 4 Adding a menu 55 ‘Menu resources . : Step 7: A menu for the main window ... 57

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy