Gift Guide

Windows 98 Programming for Dummies


Take your mastery of Windows 98 to the next level with Windows 98 Programming For Dummies. Create your own custom applications quickly and easily, add toolbars and menus, write your own pop-up tool tips, and avoid common programming errors with this clearly written how-to guide for Windows 98 programming.

Even if you have little or no experience as a programmer (and you don't carry all your pens wedged into a plastic pocket protector), you'll quickly become familiar with the ...

See more details below
Available through our Marketplace sellers.
Other sellers (Other Format)
  • All (7) from $1.99   
  • New (1) from $146.97   
  • Used (6) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2008

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.


Ships from: Chicago, IL

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Sort by
Sending request ...


Take your mastery of Windows 98 to the next level with Windows 98 Programming For Dummies. Create your own custom applications quickly and easily, add toolbars and menus, write your own pop-up tool tips, and avoid common programming errors with this clearly written how-to guide for Windows 98 programming.

Even if you have little or no experience as a programmer (and you don't carry all your pens wedged into a plastic pocket protector), you'll quickly become familiar with the basic principles and unique features of Windows programming. Next, see how your custom applications can create a bridge between users and their computers. Enhance your special Windows applications, and then get into some serious programming when you write a program to keep track of scheduled items in your own personal calendar.

Windows 98 Programming For Dummies also comes with several tools, including trial versions of Web-authoring and image-viewing software (loaded on the book's bonus CD-ROM), to make your programming projects even better.

Read More Show Less

Product Details

  • ISBN-13: 9780764502620
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 6/1/1998
  • Series: For Dummies Series
  • Edition number: 2
  • Pages: 304
  • Product dimensions: 7.42 (w) x 9.21 (h) x 1.11 (d)

Table of Contents


Who Are You?
Programming goals
Windows knowledge
Programming tools
How This Book Is Organized
Part I: Getting Started
Part II: User Interface
Part III: User Inputs
Part IV: Expanding on Windows 98
Part V: Schedule Application
Part VI: The Part of Tens
This Book Is a Little Different
Icons Used in This Book
Attitude Check!

Part I: Getting Started

Chapter 1: Opening Windows
Windows Fundamentals
Take it from the top
Window events
Memory to spare
Windows for the User
A consistent user interface
Multitasking, just to keep things hopping
Fixing proportional fonts
Finally -- other, much-needed improvements
Windows for the Programmer
DIG those device-independent graphics
COM here!
Controlling your applications
Chapter 2: Your First Windows Program
Say Hi to the "Hello, world" Program
Building and executing (aack!) the program
Comparing the program with its evil twin
Including the Include Files
What in the world is an API?
Okay, so what's a prototype?
Local prototypes
Hungarian notation (no goulash)
Now then, what's a handle?
WinMain(): The First Act
The arguments to WinMain( )
Registering the window's class (and no standing in line!)
Creating the window
Displaying the window
Getting That Darned Message Out
Chapter 3: The Message Loop: "Hello, world" at Last!
Looping Around with the Message Loop
Basing events on event-based programming
Getting loopy with the "Hello, world" message loop
Responding Pleasantly to Events: WindowProc()
Responding to Different Messages
Tagging your screen with the WM_PAINT message
Getting back to the WM_PAINT message
When is it necessary to repaint? (When the paint begins to peel, of course)
The WM_DESTROY message
Interfacing with the Graphics Device Interface
More funny letters: The HDC
Validating the invalid rectangle
Clipping the clipping region
Can I see this invalid stuff in action?
Other functions that return a device context
Chapter 4: Painting versus Writing
Taking the Measure of Variable-Size Fonts
Displaying proportional fonts
Go on, give it a try
Prog1_2: The source code
Executing the program -- a dreaded problem pops up
Zeroing in on fixing your program
Using display units that are more convenient

Part II: User Interface

Chapter 5: Managing Resources
Introducing the Ever-So-Helpful Resource File
Why bother with a resource file?
Really, what is a resource file?
So show me
Chapter 6: Looking Good
Keep the User Interface Simple
Property sheets
Control It
The main window controls
Dialog box controls
Selecting controls
Control design
Picture It
Chapter 7: Put On Your Toolbar
Where Is My Toolbar When I Need It?
Loading Up Your Toolbar
Adding buttons with AppStudio
Adding buttons with the API
Flatten Your Buttons
Chapter 8: TreeView or ListView
Take a Stance, Pick Your View
Put Substance Behind Your View
Building the application
The TreeView
TreeView images
Creating the TreeView
The ListView
Creating the ListView
Adjusting TreeView
Making ListView work
Exploring Your Views
Chapter 9: Running a Tab
Do You Have Information Overload?
Creating the application
The property sheet class
Creating the property pages
Hooking up with the sheet
We're Off to See the Wizard...

Part III: User Inputs

Chapter 10: Drawing with the Mouse
The Big Event: Moving the Mouse
Building the application
Working with the view
Handling the WM_MOUSEMOVE
Drawing with the Mouse (No Other Pets Allowed)
Drawing with the Mouse: A Second Attempt
Chapter 11: Rodent Recorder
Saving the Screen: Prog3_2
Saving mouse input
Viewing the View include file
C...arrays; C...arrays run; run, arrays, run!
Finding the source of the source code
Recording mouse events
Clearing the screen
Looking at other stuff
VoilĂ !
Fixing the Draw Program
Determining the savings
Optimizing for Performance
Chapter 12: Scrolling the Window
Time to Scroll
Executing the Program at Dawn
Chapter 13: Whizzing Whigs
Do You Like What You See?
Printing to Scale
Scale of the screen
Scaling from screen to printer
Hot Off the Press, They Must Be Twins!

Part IV: Expanding on Windows 98

Chapter 14: Register at the Desk
Does Windows Know about You?
Registering New File Types
Chapter 15: Browsing the Web
Explore the World
Defining the dialog
Hooking it up
Making It Work
Chapter 16: Tasking the Taskbar
The Right Application for the Taskbar
Registering with the Task Master
The structure for Shell_NotifyIcon()
Adding an icon
Cleaning up the taskbar
Getting to Work
Adding a menu to the taskbar icon
Define the menu
Display the menu

Part V: Schedule Application

Chapter 17: A Personal View of Your Schedule
The Scheduler Application
Building Prog5
Creating a Property Sheet
The property page
Interfacing through the property sheet
Object Futures on the DataExchange
Can we cut to the chase here?
Spinning Around
Controlling the Application from the Menu
Putting the Right Tools on the Toolbar
Saving Entries into a Document
The CEntry class
Creating a list of entries
Adding new items to the list
Archiving for keeps
Viewing That Document
A ListView for the view
Edit from the view
Deleting schedule items
Changing schedule items
Hot Off the Press: Printing Schedule Entries
Chapter 18: Is It Time?
Scheduling Something
Using timers
Setting a timer
Timer limitations
Other timely details
Processing a timer message
The Idle Loop
Investing your idle time
Comparing idle processing and timer processing

Part VI: The Part of Tens

Chapter 19: Ten C++ Errors
Forgetting to Initialize a Pointer
Forgetting to Return Heap Memory
Returning a Reference to Local Memory
Confusing Operators
The Four Faces of 0
Declaration Confusions
Order of Evaluation Confusion
Declaring Virtual Member Functions
Calls to Virtual Member Functions from Within the Constructor
Pointer Alignment
Chapter 20: Ten Resources
Online Help
Microsoft's Online Service
Online Forums
Usenet Groups on the Internet
The Nearest Computer Nerd
Computer Clubs
Telephone Help
Divine Intervention
Chapter 21: Ten Windows Controls
Push Button
Edit Control
Static-Text Control
Radio Button
Check Box
Group Box
List Box
Combo Box
Tree View
List View

Part VII: Appendixes

Appendix A: Visually Basic C
Some BASIC History
Some BASIC Comparisons
Compiled versus interpreted languages
Minimal versus do-it-all languages
Terse versus blabby languages
Going to C
Have you any objects to declare?
Scope rules
Arrays of hope in a C of objects
User-defined types
String 'em up
Missing types
Smooth operators
Assignment operators
Casting light on the cast operator
Adding up the arithmetic operators
Comparing comparison operators
Picking bitwise operators to bits
Understanding those shifty shift operators
Taming the twisted ternary
Controlling program flow
For the love of Pete!
Switch me back to sanity
Using C Functions
Typical prototype type declarations
A few C pointers
Pointer arithmetic
In defense of pointers
Programming tips
Package programming
Adopt a standard style
KISS (Keep it simple, stupid)
Appendix B: About the CD-ROM
Using the CD
Sample Files
Other Software
Code editing
Boxer v 7.5
Easy Edit
HotDog Professional 4.5
Desktop tools
CT HotSpot
Drag and File
Seraline ScreenSavers
Somarsoft ACTSNT
File compression
ESF Animal Clip Art
HyperSnap DX
Make Your Own Screen Saver
Paint Shop Pro
Pica View32
Cookie Crusher
Download Butler
Wallpaper Magic
Process management
Somarsoft OfficeCab
Turbo Browser 98
System tools
Registry Search and Replace
Resource Monitor
Somarsoft DumpReg
Voice operation
If You've Got Problems (Of the CD Kind)


IDG Books Worldwide, Inc., End-User License Agreement

Installation Instructions

Book Registration Information

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)