Listing 4: main.rc Dialog box definition
#include "windows.h" #include "main.h" SYMLINK_DLG DIALOG 22, 16, 220, 89 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US STYLE DS_MODALFRAME|WS_POPUP|WS_VISIBLE|WS_CAPTION|WS_SYSMENU CAPTION "SymLink Tester" FONT 9, "MS Shell Dlg" BEGIN GROUPBOX "Make Symolic Link", -1, 8, 7, 203, 74 PUSHBUTTON "Current -> A", ID_MODE_A, 16, 20, 62, 14 PUSHBUTTON "Current -> B", ID_MODE_B, 16, 38, 62, 14 PUSHBUTTON "Current -> C", ID_MODE_C, 16, 56, 62, 14 LTEXT "Val1:", -1, 89, 32, 21, 8 LTEXT "Val2:", -1, 89, 46, 22, 8 LTEXT "", ID_VAL_1, 115, 31, 84, 8 LTEXT "", ID_VAL_2, 115, 46, 79, 8 END