Sie sind auf Seite 1von 277
rota ory BORLAND Turbo Vision for C++ User's Guide SORLANO RIERAATONAL NC. 1000 GEN HLS ROAD PO BOX ce0001, SCOTS VALEY.CA 96057. 00 Copyright © 1991 by Borland International. Allrights reserved. All Borland products are trademars of registered fraomars of Botland Intemational. Inc. Other brond and product names are trademarks or registered inademorks oftheir respective holders. 98765 Introdu Why Turbo Vision? What is Turbo Vision? - ‘What ycu need to know ‘Whats inthis book? Installing Turbo Vision Using INSTALL ....... ‘The README and HELPME! files ‘TheREADME file ...... ‘The HELPMELDOC file -. ‘Typefaces and icons used in these books How to contact Borland Resources in your paiage Borland resources . TechFax Callour BBS Call another BBS Writea letter . Callus. Part 1 Learning Turbo Vision Chapter 1 Inheriting the wheel u The framework of a windowing. application ..... : ‘Anew Vision of application development ..... The elements of a Turbo Vision application veeeeees 1B ‘Naming of parts, oe 13 Views . Res Events... Muie objects... ‘Acommon “look and feet” “ello, World!” Turbo Vision style Running HELLO.CPP Pulling down a menu . ‘Addialog box Buttons .. Getting out Inside HELLO.CPP. ‘The application class The dialog box object Flow of execution and. debugeng HELLO$ main program ....-. Application instantiation ‘The run member function The application destructor Summary .. Chapter 2 Writing Turbo Vision applications. ‘Your first Turbo Vision application .. ‘The desk top, menu bar, and status line . The desk top The status line Creating new commands ‘Themenubar .. : Annote on structure .. Doing windows . Window construction - ‘The insert member fu Closing a window Window behavior ......... Look through any window | ‘What do you see? we ‘A better way to write ..- A.simple file viewer Reading a text file |. Buffered drawing ‘The draw buffer ......- Moving text into a buffer

Das könnte Ihnen auch gefallen