64 lines
3.7 KiB
Plaintext
64 lines
3.7 KiB
Plaintext
#include <windows.h>
|
||
#include "mcimain.h"
|
||
|
||
|
||
IDD_ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 22, 17, 144, 75
|
||
STYLE WS_DLGFRAME | WS_POPUP | WS_VISIBLE
|
||
CAPTION "MCI Test"
|
||
BEGIN
|
||
CONTROL "Media Control Interface", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 35, 5, 75, 8
|
||
CONTROL "Test Application", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 15, 144, 8
|
||
CONTROL "(C) Microsoft Corp. 1992.", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 5, 35, 132, 9
|
||
CONTROL "All rights reserved.", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 5, 45, 132, 9
|
||
CONTROL "OK", 1, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 53, 59, 32, 14
|
||
// CONTROL "AppIcon", -1, "static", SS_ICON | WS_CHILD, 2, 5, 0, 0
|
||
CONTROL IDI_MCITEST, -1, "static", SS_ICON | WS_CHILD, 2, 5, 0, 0
|
||
END
|
||
|
||
|
||
IDD_MCITEST DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 10, 256, 197
|
||
CAPTION "Mci Test Application"
|
||
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_GROUP | WS_VISIBLE | WS_POPUP
|
||
BEGIN
|
||
CONTROL "", ID_INPUT, "edit", ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_NOHIDESEL | WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD, 5, 3, 245, 93
|
||
CONTROL "", ID_OUTPUT, "static", SS_LEFT | WS_BORDER | WS_CHILD, 42, 102, 208, 11
|
||
CONTROL "", ID_ERRORCODE, "static", SS_LEFT | WS_BORDER | WS_CHILD, 42, 118, 133, 48
|
||
CONTROL "Error Text:", -1, "static", SS_LEFT | WS_CHILD, 2, 118, 38, 10
|
||
CONTROL "MCI Output:", -1, "static", SS_LEFT | WS_CHILD, 2, 104, 38, 10
|
||
CONTROL "Ok", 1, "button", BS_DEFPUSHBUTTON | WS_CHILD, 0, 0, 0, 0
|
||
CONTROL "&Go!", ID_GO, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 40, 168, 40, 14
|
||
CONTROL "&Step", ID_STEP, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 88, 168, 40, 14
|
||
CONTROL "E&xit", ID_EXIT, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 136, 168, 40, 14
|
||
CONTROL "Notification", -1, "button", BS_GROUPBOX | WS_TABSTOP | WS_CHILD, 185, 114, 65, 52
|
||
CONTROL "Successful", ID_NOT_SUCCESS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 190, 124, 47, 10
|
||
CONTROL "Superseded", ID_NOT_SUPER, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 190, 134, 52, 10
|
||
CONTROL "Aborted", ID_NOT_ABORT, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 190, 144, 38, 10
|
||
CONTROL "Failure", ID_NOT_FAIL, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 190, 154, 38, 10
|
||
CONTROL "Runcount", -1, "static", SS_LEFT | WS_CHILD, 185, 171, 31, 10
|
||
CONTROL "", ID_RUNCOUNT, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_CHILD, 218, 171, 31, 12
|
||
CONTROL IDI_MCITEST, -1, "static", SS_ICON, 8, 160, 32, 32
|
||
END
|
||
|
||
IDD_DEVICES DIALOG LOADONCALL MOVEABLE DISCARDABLE 1, 10, 120, 113
|
||
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_VISIBLE | WS_POPUP
|
||
BEGIN
|
||
CONTROL "", ID_DEVICE_LIST, "listbox", LBS_NOTIFY | WS_BORDER | WS_VSCROLL | WS_CHILD, 4, 4, 109, 81
|
||
CONTROL "OK", ID_END_DEVICE_LIST, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 40, 92, 36, 12
|
||
END
|
||
|
||
|
||
IDD_ERRORDLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 55, 44, 146, 70
|
||
STYLE WS_DLGFRAME | WS_POPUP | WS_CAPTION | DS_MODALFRAME | WS_SYSMENU
|
||
CAPTION "MCI Test: Execution error"
|
||
BEGIN
|
||
CONTROL "Error sending command.", -1, "static", SS_LEFT | WS_CHILD, 41, 12, 84, 8
|
||
CONTROL "&Abort", IDABORT, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 9, 52, 32, 14
|
||
CONTROL "&Continue", IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 53, 52, 40, 14
|
||
CONTROL "&Ignore", IDIGNORE, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 105, 52, 32, 14
|
||
CONTROL "#32515", -1, "static", SS_ICON | WS_CHILD, 15, 7, 16, 16
|
||
CONTROL "Use Abort to stop, Continue to resume, or Ignore to resume and ignore subsequent errors.",
|
||
-1, "static", SS_CENTER | WS_CHILD, 5, 28, 139,19
|
||
END
|
||
|
||
|