Dialog Template Statement Descriptions

This section contains a full list of the statements that an application can include in the dialog box template. The following listing is the dialog box template for the dialog box shown in Figure 8.1.

Figure 8.1. Sample dialog box.

 TESTDIALOG DIALOGEX 20, 20, 180, 70 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Test Dialog" FONT 8, "MS Sans Serif" BEGIN CHECKBOX "Check box control.",IDC_CHECKBOX,9,7,70,10 GROUPBOX "Radio Buttons",-1,7,21,86,39 RADIOBUTTON "First", IDC_RADIO1,13,32,37,10,WS_GROUP | WS_TABSTOP RADIOBUTTON "Second",IDC_RADIO2,13,45,39,10 PUSHBUTTON ...

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.