1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
IDD_MARGINS DIALOG 100, 100, 200, 100
STYLE DS_SETFONT | WS_CAPTION | WS_VISIBLE
CAPTION "Edit Margin Size (pixels):"
FONT 8, "Courier New"
BEGIN
PUSHBUTTON "Accept", ID_ACCEPT, 140, 20, 50, 10
PUSHBUTTON "Reset", ID_RESET, 140, 35, 50, 10
PUSHBUTTON "Cancel", ID_CANCEL, 140, 50, 50, 10
EDITTEXT ID_EDITLEFT, 50, 20, 50, 10, ES_AUTOHSCROLL | WS_TABSTOP, WS_EX_CLIENTEDGE
EDITTEXT ID_EDITRIGHT, 50, 35, 50, 10, ES_AUTOHSCROLL | WS_TABSTOP, WS_EX_CLIENTEDGE
EDITTEXT ID_EDITTOP, 50, 50, 50, 10, ES_AUTOHSCROLL | WS_TABSTOP, WS_EX_CLIENTEDGE
EDITTEXT ID_EDITBOTTOM, 50, 65, 50, 10, ES_AUTOHSCROLL | WS_TABSTOP, WS_EX_CLIENTEDGE
RTEXT "Left:", ID_TEXT_LEFT, 18, 20, 30, 10
RTEXT "Right:", ID_TEXT_RIGHT, 18, 35, 30, 10
RTEXT "Top:", ID_TEXT_TOP, 18, 50, 30, 10
RTEXT "Bottom:",ID_TEXT_BOTTOM,18, 65, 30, 10
END
|