home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winbase
/
io
/
filer
/
filer.dlg
< prev
next >
Wrap
Text File
|
1997-10-09
|
8KB
|
189 lines
//-----------------------------------------------------------------------------
// This is a part of the Microsoft Source Code Samples.
// Copyright 1993 - 1997 Microsoft Corporation.
// All rights reserved.
//
// This source code is only intended as a supplement to
// Microsoft Development Tools and/or WinHelp documentation.
// See these sources for detailed information regarding the
// Microsoft samples programs.
//-----------------------------------------------------------------------------
1 DLGINCLUDE "globals.h"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FUNCTIONBAR DIALOG 0, 0, 210, 10
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "Copy", MM_COPY, 0, 0, 35, 10, NOT WS_TABSTOP
PUSHBUTTON "Move", MM_MOVE, 35, 0, 35, 10, NOT WS_TABSTOP
PUSHBUTTON "Delete", MM_DELETE, 70, 0, 35, 10, NOT WS_TABSTOP
PUSHBUTTON "Rename", MM_RENAME, 105, 0, 35, 10, NOT WS_TABSTOP
PUSHBUTTON "Make Dir", MM_MKDIR, 140, 0, 35, 10, NOT WS_TABSTOP
PUSHBUTTON "Del Dir", MM_DELDIR, 175, 0, 35, 10, WS_DISABLED | NOT WS_TABSTOP
END
SELECTDLG DIALOG 8, 28, 210, 96
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Selected Files"
BEGIN
EDITTEXT SB_DEST, 4, 83, 203, 12, ES_AUTOHSCROLL
LISTBOX SB_SOURCE, 3, 26, 204, 50, LBS_SORT | LBS_MULTICOLUMN |
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", SB_OK, 115, 5, 40, 14
PUSHBUTTON "Cancel", SB_CANCEL, 164, 5, 40, 14
LTEXT "Verify the following selection(s): ", SB_STATIC, 4, 6,
104, 9
LTEXT " ", SB_ACTION, 3, 18, 50, 7
LTEXT " ", SB_TOFROM, 3, 75, 50, 7
END
RENAMEDLG DIALOG 25, 28, 205, 51
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Rename File"
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT SB_DEST, 5, 30, 150, 12, ES_AUTOHSCROLL
EDITTEXT SB_SOURCE, 5, 9, 150, 12, ES_AUTOHSCROLL
DEFPUSHBUTTON "OK", SB_OK, 160, 8, 40, 14
PUSHBUTTON "Cancel", SB_CANCEL, 160, 29, 40, 14
LTEXT "Rename:", SB_ACTION, 5, 1, 35, 8
LTEXT "To:", SB_TOFROM, 5, 22, 12, 8
END
MKDIRDLG DIALOG 14, 29, 230, 41
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Make Directory"
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT SB_DEST, 5, 24, 220, 12, ES_AUTOHSCROLL
LTEXT "Directory Name:", SB_ACTION, 5, 16, 54, 8
DEFPUSHBUTTON "OK", SB_OK, 135, 5, 40, 14
PUSHBUTTON "Cancel", SB_CANCEL, 185, 5, 40, 14
END
// VersionInfo Dialog:
// The height in lines of the SB_KEY and SB_VALUE lisboxes should be set in GLOBALS.H
// under VERSION_DLG_LB_HEIGHT
//
VERSIONINFODLG DIALOG 100, 100, 300, 136
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Version Information"
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "File: ", SB_SOURCE, "Static", SS_LEFTNOWORDWRAP |
WS_GROUP, 5, 5, 290, 8
CONTROL "Directory:", SB_DEST, "Static", SS_LEFTNOWORDWRAP, 5,
15, 290, 8
LISTBOX SB_KEY, 5, 26, 123, 84, WS_GROUP | WS_TABSTOP
LISTBOX SB_VALUE, 129, 26, 155, 84, WS_TABSTOP
DEFPUSHBUTTON "OK", SB_OK, 255, 115, 40, 14, WS_GROUP
PUSHBUTTON "Cancel", SB_CANCEL, 207, 115, 40, 14
SCROLLBAR SB_SCROLL, 285, 25, 10, 81, SBS_VERT | WS_GROUP
END
ABOUTBOX DIALOG 16, 16, 185, 49
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION
CAPTION "About Filer"
BEGIN
CTEXT "Microsoft Developer Support", -1, 28, 6, 152, 8
CTEXT "Copyright 1992 - 1997 Microsoft Corporation", -1, 28,
16, 152, 8
ICON UI_FILERICON, -1, 7, 4, 16, 16
LTEXT "Filer: Version 1.0", -1, 5, 31, 108, 8
LTEXT "File Management Sample Application", -1, 5, 39, 137, 8
DEFPUSHBUTTON "&OK", SIDE_BY_SIDE, 140, 31, 40, 14, WS_GROUP
CONTROL "", 201, "Static", SS_BLACKFRAME, 6, 26, 173, 1
END
// Start Japanese language dialogs
#ifdef JAPAN
LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
FUNCTIONBAR DIALOG 0, 0, 300, 10
STYLE WS_CHILD | WS_VISIBLE
BEGIN
PUSHBUTTON "âRâsü[", MM_COPY, 0, 0, 30, 10, NOT WS_TABSTOP
PUSHBUTTON "ê┌ô«", MM_MOVE, 30, 0, 30, 10, NOT WS_TABSTOP
PUSHBUTTON "ìφÅ£", MM_DELETE, 60, 0, 30, 10, NOT WS_TABSTOP
PUSHBUTTON "û╝æOé╠ò╧ìX", MM_RENAME, 90, 0, 50, 10, NOT WS_TABSTOP
PUSHBUTTON "├▐¿┌╕─╪é╠ì∞ɼ", MM_MKDIR, 140, 0, 56, 10, NOT
WS_TABSTOP
PUSHBUTTON "├▐¿┌╕─╪é╠ìφÅ£", MM_DELDIR, 196, 0, 56, 10, NOT
WS_TABSTOP | WS_DISABLED
END
SELECTDLG DIALOG 8, 28, 210, 105
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "æIæ≡é│éΩé╜âtâ@âCâï"
BEGIN
EDITTEXT SB_DEST, 3, 88, 204, 12, ES_AUTOHSCROLL
LISTBOX SB_SOURCE, 3, 27, 204, 50, LBS_SORT | LBS_MULTICOLUMN |
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", SB_OK, 124, 5, 40, 14
PUSHBUTTON "╖¼▌╛┘", SB_CANCEL, 166, 5, 40, 14
LTEXT "ê╚ë║é╠æIæ≡é≡èmöFé╡é─é¡é╛é│éó: ", SB_STATIC, 4, 6,
116, 8
LTEXT " ", SB_ACTION, 3, 18, 50, 8
LTEXT " ", SB_TOFROM, 4, 79, 50, 8
END
RENAMEDLG DIALOG 25, 28, 205, 51
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "âtâ@âCâïû╝é╠ò╧ìX"
BEGIN
EDITTEXT SB_DEST, 5, 30, 150, 12, ES_AUTOHSCROLL
EDITTEXT SB_SOURCE, 5, 9, 150, 12, ES_AUTOHSCROLL
DEFPUSHBUTTON "OK", SB_OK, 160, 8, 40, 14
PUSHBUTTON "╖¼▌╛┘", SB_CANCEL, 160, 29, 40, 14
LTEXT "î│é╠û╝æO:", SB_ACTION, 5, 1, 64, 8
LTEXT "ÉVé╡éóû╝æO:", SB_TOFROM, 5, 22, 64, 8
END
MKDIRDLG DIALOG 14, 29, 230, 41
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "âfâBâîâNâgâèé╠ì∞ɼ"
BEGIN
EDITTEXT SB_DEST, 5, 24, 220, 12, ES_AUTOHSCROLL
LTEXT "âfâBâîâNâgâèû╝:", SB_ACTION, 5, 14, 60, 8
DEFPUSHBUTTON "OK", SB_OK, 135, 5, 40, 14
PUSHBUTTON "╖¼▌╛┘", SB_CANCEL, 185, 5, 40, 14
END
// VersionInfo Dialog:
// The height in lines of the SB_KEY and SB_VALUE lisboxes should be set in GLOBALS.H
// under VERSION_DLG_LB_HEIGHT
//
VERSIONINFODLG DIALOG 100, 100, 300, 136
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "âoü[âWâçâôÅεò±"
BEGIN
CONTROL "âtâ@âCâï: ", SB_SOURCE, "Static", SS_LEFTNOWORDWRAP |
WS_GROUP, 5, 5, 290, 8
CONTROL "âfâBâîâNâgâè:", SB_DEST, "Static", SS_LEFTNOWORDWRAP, 5,
15, 290, 8
LISTBOX SB_KEY, 5, 26, 123, 84, WS_GROUP | WS_TABSTOP
LISTBOX SB_VALUE, 129, 26, 155, 84, WS_TABSTOP
DEFPUSHBUTTON "OK", SB_OK, 255, 115, 40, 14, WS_GROUP
PUSHBUTTON "╖¼▌╛┘", SB_CANCEL, 207, 115, 40, 14
SCROLLBAR SB_SCROLL, 285, 25, 10, 81, SBS_VERT | WS_GROUP
END
ABOUTBOX DIALOG 16, 16, 185, 49
STYLE DS_MODALFRAME | WS_VISIBLE | WS_CAPTION
CAPTION "Filer é╠âoü[âWâçâôÅεò±"
BEGIN
CTEXT "Microsoft Developer Support", -1, 28, 6, 152, 8
CTEXT "Copyright 1992 - 1997 Microsoft Corporation", -1, 28,
16, 152, 8
ICON UI_FILERICON, -1, 7, 4, 16, 16
LTEXT "Filer: Version 1.0", -1, 5, 31, 108, 8
LTEXT "Filer âTâôâvâï âAâvâèâPü[âVâçâô", -1, 5, 39, 136, 8
DEFPUSHBUTTON "OK(&O)", SIDE_BY_SIDE, 140, 31, 40, 14, WS_GROUP
CONTROL "", 201, "Static", SS_BLACKFRAME, 6, 26, 173, 1
END
#endif