Chapter 8. DIALOG BOXES

Dialog boxes are similar to pop-up windows. Both elicit input from the user for some specific task, such as to obtain a filename or a character string for search activity. The main difference between dialog boxes and pop-up windows is that dialog boxes use templates that define the controls created on the dialog box. These templates can be defined in the resource script file using the DIALOGEX resource type. They can also be dynamically created in memory while the application executes.

There are also functional differences between the behavior of a pop-up window and a dialog box. Dialog box functions use a special default message-processing function. This function interprets keystrokes, such as the arrow keys, Tab, ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.