1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
// =======================================================
// Lamb Lion Net Conversion Utility
// llnconvert.rc
// =======================================================
#include "llnconvert.h"
// ICONS =============================================================
IDI_LLNCONVERT ICON "llnconvert.ico"
//============================================================
// SOUNDS ============================================================
IDS_SPLASH SOUND "splash.wav"
IDS_SKIP SOUND "skip.wav"
IDS_COPY SOUND "copy.wav"
//===========================================================
// MAIN DIALOG =================================================
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_LLNCONVERT DIALOGEX 0, 0, 185, 127
STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT |
WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_GROUP | WS_SYSMENU
EXSTYLE WS_EX_OVERLAPPEDWINDOW | WS_EX_APPWINDOW
CLASS szClassName
CAPTION "Lamb Lion Net Conversion Utility"
FONT 10, "Ms Shell Dlg 2", 400, 0, 1
{
PUSHBUTTON "1", IDC_ONE, 126, 23, 15, 12
PUSHBUTTON "2", IDC_TWO, 142, 23, 15, 12
PUSHBUTTON "3", IDC_THREE, 158, 23, 15, 12
PUSHBUTTON "4", IDC_FOUR, 126, 36, 15, 12
PUSHBUTTON "5", IDC_FIVE, 142, 36, 15, 12
PUSHBUTTON "6", IDC_SIX, 158, 36, 15, 12
PUSHBUTTON "7", IDC_SEVEN, 126, 49, 15, 12
PUSHBUTTON "8", IDC_EIGHT, 142, 49, 15, 12
PUSHBUTTON "9", IDC_NINE, 158, 49, 15, 12
PUSHBUTTON "0", IDC_ZERO, 126, 62, 15, 12
PUSHBUTTON ".", IDC_PERIOD, 142, 62, 15, 12
PUSHBUTTON "C", IDC_CLEAR, 158, 62, 15, 12
PUSHBUTTON "Copy", IDM_COPY_CONVERT, 126, 81, 47, 12
EDITTEXT IDE_INPUT, 15, 24, 100, 12, ES_AUTOHSCROLL
COMBOBOX IDC_CONV_1, 15, 42, 100, 12, WS_VSCROLL | WS_BORDER | CBS_DROPDOWNLIST | CBS_AUTOHSCROLL
COMBOBOX IDC_CONV_2, 15, 62, 100, 12, WS_VSCROLL | WS_BORDER |CBS_DROPDOWNLIST | CBS_AUTOHSCROLL
EDITTEXT IDE_RESULT, 15, 81, 100, 12, ES_AUTOHSCROLL | ES_NUMBER | ES_READONLY
PUSHBUTTON "Help", IDB_HELP, 15, 98, 48, 12
PUSHBUTTON "About", IDB_ABOUT, 66, 98, 48, 12
PUSHBUTTON "Options", IDB_OPTIONS, 15, 111, 48, 12
PUSHBUTTON "Close", IDOK, 66, 111, 48, 12
ICON IDI_LLNCONVERT, IDC_STATIC, 141, 102, 25, 25, SS_ICON
}
// END MAIN DIALOG ===================================================
// OPTIONS DIALOG ====================================================
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_OPTBOX DIALOG 0, 0, 142, 43
STYLE WS_POPUP | DS_CENTER | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
CAPTION "Conversion Utility Options"
FONT 8, "Ms Shell Dlg"
{
DEFPUSHBUTTON "Save", IDOK, 82, 15, 50, 14
AUTOCHECKBOX "Play Sounds", IDC_CHKOPT, 12, 13, 60, 8
AUTOCHECKBOX "Copy Two Lines", IDC_TWOLINE, 12, 23, 60, 8
}
// END OPTIONS DIALOG =======================================
|