windows-nt/Source/XPSP1/NT/shell/services/hdsrv/apsample/main.rc
2020-09-26 16:20:57 +08:00

61 lines
3.3 KiB
Plaintext

#include <windows.h>
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// Dialog
IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 400, 237
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Autoplay Sample"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_EDIT1,7,7,386,80,ES_AUTOHSCROLL | ES_READONLY | ES_MULTILINE | WS_VSCROLL | WS_HSCROLL
GROUPBOX "",IDC_DUMMY,7,91,188,96
CONTROL "Using QueryCancelAutoPlay Windows message ...",IDC_QCA_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,11,91,170,10
LTEXT "Drive:",IDC_DUMMY,11,105,20,14
EDITTEXT IDC_QCA_EDIT,35,103,153,13,ES_AUTOHSCROLL | WS_DISABLED
CONTROL "Prevent AutoRun of Autorun.INF",IDC_QCA_AUTORUNINF_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,11,118,180,10
CONTROL "Prevent AutoRun of Audio CD",IDC_QCA_AUDIOCD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,11,132,180,10
CONTROL "Prevent AutoRun of DVD Movie",IDC_QCA_DVDMOVIE_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,11,146,180,10
CONTROL "Prevent AutoRun of blank CD-R/CD-RW",IDC_QCA_BLANKCD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,11,160,180,10
CONTROL "Prevent AutoRun of blank DVD-R/DVD-RW",IDC_QCA_BLANKDVD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,11,174,180,10
GROUPBOX "",IDC_DUMMY,201,91,190,96
CONTROL "Using IQueryCancelAutoPlay interface ...",IDC_IQCA_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,205,91,160,10
LTEXT "Drive:",IDC_DUMMY,205,105,20,14
EDITTEXT IDC_IQCA_EDIT,229,103,153,13,ES_AUTOHSCROLL | WS_DISABLED
CONTROL "Prevent AutoRun of Autorun.INF",IDC_IQCA_AUTORUNINF_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,205,118,180,10
CONTROL "Prevent AutoRun of Audio CD",IDC_IQCA_AUDIOCD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,205,132,180,10
CONTROL "Prevent AutoRun of DVD Movie",IDC_IQCA_DVDMOVIE_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,205,146,180,10
CONTROL "Prevent AutoRun of blank CD-R/CD-RW",IDC_IQCA_BLANKCD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,205,160,180,10
CONTROL "Prevent AutoRun of blank DVD-R/DVD-RW",IDC_IQCA_BLANKDVD_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,205,174,180,10
GROUPBOX "",IDC_DUMMY,7,188,386,42
CONTROL "Intercept AutoPlay event",IDC_AUTOPLAY_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,11,188,100,10
LTEXT "EventHandler:",IDC_DUMMY,11,202,45,14
EDITTEXT IDC_AUTOPLAY_EVENTHANDLER_EDIT,60,200,100,13,ES_AUTOHSCROLL | WS_DISABLED
LTEXT "CLSID:",IDC_DUMMY,164,202,25,14
EDITTEXT IDC_AUTOPLAY_CLSID_EDIT,193,200,180,13,ES_AUTOHSCROLL | WS_DISABLED
CONTROL "On/Off",IDC_AUTOPLAY_ONOFF_CHECKBOX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_DISABLED,11,217,100,10
END