Windows Programmer's Notebook

Windows Programmer's Notebook

3.5 (2 ratings by Goodreads)
By (author)  , By (author) 

List price: US$39.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Windows Programmer's Notebook is a quick, visual, hands-on tutorial for anyone who wants to master development for any current Windows platform: Windows 9x, NT/2000, or CE. The book is highly visual, using alternating pages of text and annotated code "snapshots" to give readers all the background they need, plus specific solutions they can use in their own projects. Start by reviewing Windows event-driven programming, the AppWizard, and the MFC application framework; next, create menus, dialog boxes, and windows; and master Windows' basic and common controls. Learn how to control printing through GDI functions; create database programs using MFC classes; and develop Internet programs using CGI, sockets, SMTP, ISAPI filters, and Microsoft's Web browser ActiveX control. The book includes a full chapter on Windows CE and Windows 2000 programming; practical solutions for messages, timers, and threads, and much more -- including reusable custom C++ classes to solve common programming more

Product details

  • Paperback | 848 pages
  • 177.5 x 232.2 x 30.7mm | 1,133.99g
  • Pearson Education Limited
  • Prentice-Hall
  • Harlow, United Kingdom
  • English
  • 0130278459
  • 9780130278456

About Mario Giannini

Mario Giannini is chair of the Programming track at Columbia University's Computer Technology and Applications Certification Program and a developer of Windows applications for major corporations. Jim Keogh is chair of the Electronic Commerce track at Columbia University's Computer Technology and Applications Certification Program and author of numerous other titles in Prentice Hall PTR's Programmer's Notebook series, including C++ Programmer's Notebook and COBOL Programmer's more

Table of contents

1. Preparing Yourself for Windows Programming. Windows Procedure. A Complete SDK Windows Application. Message Boxes. Dialog-Based Windows Applications. Creating Programs with Visual C++ and AppWizard. Creating an SDK Program. Microsoft Foundation Classes. Running AppWizard. Enhancing a MFC Application Framework. Compiling a Windows Program. Distributing a Windows Program. 2. Menus. Checking/Unchecking a Menu Item in an SDK Program. Determining the Status of a Menu Item. Sample SDK Program with Menu. Responding to Menu Choices in an MFC Program. Enabling and Checking Menu Items in an MFC Program. Pop-up Menus-SDK. Pop-up Menus-MCF. Responding to Messages-SDK and MFC. 3. Dialog Boxes. Adding a Dialog. Dialog Box Procedure. Displaying or Popping up a Dialog. Dialog Box as a Main Window. Dialog-Based Application-SDK. Dialog-Based Applications-MFC. Using Dialogs for Data Entry. Data Input Dialog. Add Code to the Main Dialog. Creating a Modeless Dialog. Common Dialogs. File Open Dialog. File Save Common Dialog. Page Setup Dialog. Color Selection Dialog. Text Find and Replace Dialogs. Font Selection Dialog Box. Printer Selection. Browse for Folders. 4. Windowing. Creating a Window at Runtime-SDK. Creating a Window at Runtime-MFC. Creating a Window at Design Time. Get Child Window from a Parent-MFC and SDK. Position and Sizing a Window. Changing the Position or Size of a Window. Move, Resize, and 'Top Most' a Window. Adding the Always on Top Handler to Your Code. Hiding and Showing a Window. Enabling and Disabling a Window. Controlling Window Fonts. Simple Font Creation SDK and MFC. Creating the Font and Initializing the Window. Deleting the Font When No Longer Needed. Creating the Persistent Font and Setting the Control to Use It. Deleting the Font When No Longer Needed. Focus. Focus Notification and Predefined Windows. Focus Notification and Common Control Windows. 5. Basic Controls. Window Text. Fonts. Changing Control Colors. Dynamically Created Controls. Buttons. Check Boxes. Radio Buttons. List Boxes. Edit Boxes. Static Controls. 6. Common Controls. Spin Controls. Progress Bars. Sliders/Trackbar Controls. Image Lists. List View Controls. Tree View Controls. Tab Control. Animation Controls. Data Time Picker and Month Controls. 7. Printing. Mapping Modes. Printers and Margin Settings. Default Margins. Invoking the Page Setup Dialog for Margins. Obtaining Current Printer DC. Margins, Mapping Modes, and Non-Printable Areas. Determining Output Width of Text. Pagination and Report Starting/Stopping. Determining Print vs. PrintPreview. Multiple Report Types. 8. Databases. Filtering and Sorting with ODBC\CRecordset and DAO\CdaoRecordset. Inserting Records with ODBC\CRecordset and DAO\CdaoRecordset. Editing Records with ODBC\CRecordset and DAO\CdaoRecordset. Deleting Records with ODBC\CRecordset and DAO\CdaoRecordset. Bind Fields to On Screen Controls with CRecordset and CdaoRecordset. Working with Non-Bound Recordsets. Determining Unique IDs for New Records. Executing SQL Commands with ODBC or DAO. Opening and Closing an ADO Recordset. Filtering and Sorting with ADO Recordsets. Adding Records with ADO Recordsets. Editing Records with ADO Recordsets. Deleting Records with ADO Recordsets. Bind Fields to On Screen Controls with ADO. Executing SQL Commands with ODBC or DAO. 9. Internet and Intranet Programming. Client-Server Programming. Developing Client/Server Programs on a Single Machine. CGI Programming. CGI Output. Creating a Simple CGI Program. CGI Input. GET vs. POST. Parsing Input. CGI with Database Access. Socket Communications. Service Protocols. Initializing Windows Sockets. Primary Socket Functions. Using Htonl and Htons. Examples of Using the CPNSocket Class. SMTP Classes. Creating the CPNSMTP class, from CPNCommandSocket. Example of Sending Email. HTML Display. Using the CHTML View View Class. Using the Web Browser ActiveX Control. ISAPI Filter. Creating the ISAPI Filter. Installing the ISAPI Filter. Setting Up the No Access Web Page. 10. Windows CE and Windows 2000 Programming. Windows CE Programming. Developing Programs for Windows CE. The Windows CE Emulator. Key Differences in Windows CE Programs. MFC Class Difference for Windows CE. Creating a Windows CE Program with MFC. Creating a Windows CE Installation. Windows 2000 Programming. Compatibility. Determining Windows Version. Visual Studio Plus Pack/Windows 2000 Readiness Kit. Using Win2000 Options. User Interface Changes. The Windows Installer. Creating a Windows Installer Project. Active Directory Services. 11. Messages, Timers, and Threads. Message Pumps. Message Pump Performance. Idle Time Performance. Timers. Timer Performance. Threads. Starting Thread. Stopping Thread. Synchronization. CSemaphore Synchronization. Message Notification. CSingleLock and CMultiLock. A Multithread Example. more

Rating details

2 ratings
3.5 out of 5 stars
5 0% (0)
4 50% (1)
3 50% (1)
2 0% (0)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X