1 #include "PasswordDialogRes.h" 2 #include "../../GuiCommon.rc" 3 4 #define xc 140 5 #define yc 72 6 7 IDD_PASSWORD DIALOG 0, 0, xs, ys MY_MODAL_DIALOG_STYLE MY_FONT 8 CAPTION "Enter password" 9 BEGIN 10 LTEXT "&Enter password:", IDT_PASSWORD_ENTER, m, m, xc, 8 11 EDITTEXT IDE_PASSWORD_PASSWORD, m, 20, xc, 14, ES_PASSWORD | ES_AUTOHSCROLL 12 CONTROL "&Show password", IDX_PASSWORD_SHOW, MY_CHECKBOX, m, 42, xc, 10 13 OK_CANCEL 14 END 15