Listing 4: wdjtest.rc Dialog definition for test program
#include <windows.h> #include "resource.h" IDD_TESTDLG DIALOG DISCARDABLE 0, 0, 283, 175 STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "WDJ SimpleHTML Test" FONT 8, "MS Sans Serif" BEGIN PUSHBUTTON "Close",IDCANCEL,226,157,50,14 CONTROL "",IDC_RICHEDIT,"RichEdit20A", WS_BORDER | WS_VSCROLL | WS_TABSTOP | 0x804, 7,7,269,147 END