mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
f90efa9cf0
Sun Jun 15 10:30:35 1998 Andreas Mohr <100.30936@germany.net> * [files/dos_fs.c] [files/file.c] [if1632/wprocs.spec] [misc/aspi.c] Added support for scanners that need Adaptec's ASPI2DOS. * [graphics/env.c] [misc/printerdrv.c] [graphics/win16drv/init.c] [if1632/gdi.spec] [include/gdi.h] Enhanced printer support (especially Win95): Drv[GS]etPrinterData, [GS]etEnvironment; added AbortProc handling. * [misc/tapi32.c] [relay32/tapi32.spec] Added some stubs. * [configure.in] [graphics/fontengine.c] [include/windows.h] [misc/comm.c] [misc/w32skrnl.c] [misc/win32s16.c] Made Wine compile on HP-UX (just for fun ;) * [controls/menu.c] [include/windows.h] Complete rewrite of EnableMenuItem32. Free Agent 32 still doesn't work :( * [misc/version.c] [if1632/kernel.spec] [include/winbase.h] Implemented GetVersionEx16. * [misc/network.c] [if1632/user.spec] Fixed arguments of WNetGetPropertyText. * [misc/version.c] [relay32/comctl32.spec] [relay32/oleaut32.spec] Implemented COMCTL32_DllGetVersion, OaBuildVersion. * [win32/file.c] Fixed UNC handling of CreateFile32. Sat Jun 13 22:35:12 1998 Douglas Ridgway <ridgway@winehq.com> * [Makefile.in] [Make.rules.in] Added pattern for CVS merge files to 'make clean' * [ole/olecli.c] [windows/scroll.c] [windows/grahics.c] Add some DC handle unlocking. (When hdc's are always unlocked, they can be made moveable.) * [documentation/wine.texinfo] Started a Wine Design chapter with discussion of graphics driver model. Sat Jun 13 11:19:25 1998 David Luyer <luyer@ucs.uwa.edu.au> * [misc/main.c] [relay32/relay386.c] Added new option -debugmsg +relay=.... or -debugmsg -relay=... Fri Jun 12 22:56:09 1998 Marcus Meissner <marcus@jet.franken.de> * [relay32/snoop.c][relay32/builtin.c][loader/pe_image.c] Added inter win32 dll snooping. Use -debugmsg +snoop. Number of arguments and string references are autodetected. Some small bugfixes in the PE loader. * [misc/system.c] Disabled SystemTimers. They do not work with the current %fs handling in the 32->16 relaycode. (helps labview) * [msdos/dpmi.c][msdos/int2f.c][files/drive.c] Added a monoton linear increasing memory allocator for DPMI (required for LabView, HAFAS, ...) mscdex handling in emulated realmode interrupts (for mcicda.drv) allocate logical drives only once. (helps Myst) * [files/profile.c] Handle ^Z as space. Found on CDROMS (helps Myst Installer). * [multimedia/mmio.c] mmio* partially updated to win32. No funny additions. * [windows/driver.c] Added win32 driver handling (will be used for win32 multimedia/ msvideo drivers). * [win32/device.c] Added device handling (K32OBJ_DEVICE_IOCTL). Implemented VTDAPI.5 (used by win95' WINMM.timeGetTime()) Fri Jun 12 18:01:18 1998 Rein Klazes <rklazes@casema.net> * [ole/compobj.c relay32/ole32.spec] Add a stub for CoLockObjectExternal32. * [objects/clipping.c] Fix in IntersectClipRect(), when there is no initial clipping region. * [graphics/x11drv/graphics.c] Corrected several "one-off" errors for the Ellipse, Rectangle and RoundRectangle (especially small ones) draw routines. Arc and friends still have to be done. Fri Jun 12 06:23:19 1998 Matthew Becker <mbecker@glasscity.net> * [misc/ntdll.c] Fixed some of the parameter counts. * [misc/registry.c] General cleanup, documentation. Standard keys are allowed to be 'closed' and succeed. * [misc/shell.c] Check for correct return values from Reg* functions. * [win32/newfns.c] Added stubs for OpenDesktopA, SetThreadDesktop, and SetUserObjectInformationA. Wed Jun 10 20:28:08 1998 James Juran <jrj120@psu.edu> * [debugger/break.c] Fixed bug introduced in 980503 that broke the -debug command line option for PE executable files. * [configure.in] [include/acconfig.h] [include/debugtools.h] [documentation/debug-msgs] Added 'configure' options to compile out debugging messages. Use --disable-debug to disable all debugging messages, and --disable-trace to just disable TRACE messages. This results in a stripped executable that is 15-20% smaller. This option is very much untested--don't expect it to work. * [documentation/debug-msgs] [documentation/debugging] Minor updates. * [*/*.c] Fixed some compile warnings. This also includes the compile_warnings_trivial patch from WineHQ. Tue Jun 10 22:00:18 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de> * [windows/sysmetrics.c][include/sysmetrics.h] Fixed some Win95 values. * [windows/nonclient.c][include/windows.h] Fixed some Win95 drawing bugs. Added extended window style flags (WS_EX_xxx). * [misc/printdrv.c][relay32/winspool.spec] Added stubs for DeletePrinterDriver32A, DeleteMonitor32A and DeletePort32A. * [windows/mdi.c][include/windows.h][relay32/user32.spec] Added stubs for CascadeWindows and TileWindows. * [controls/toolbar.c][include/toolbar.h] Fixed a few bugs and implemented new features. * [misc/shellord.c][relay32/shell32.spec] Added stubs for SHELL32_60, SHELL32_61 and SHELL32_184. * [controls/comctl32undoc.c][relay32/comctl32.spec] New file comctl32undoc.c. Contains undocumented functions of COMCTL32.DLL. These functions are needed to run EXPLORER.EXE IEXPLORE.EXE and TASKMAN.EXE. * [controls/status.c] Added text alignment. Tue Jun 8 22:00:00 1998 Bertho Stultiens <bertho@akhphd.au.dk> * [programs/*/Makefile.in] Changed the rules to use wrc as resource compiler but passing the source through gcc first for macro expansion. * [programs/*/*.rc] Added #include "windows.h" for the resource compiler in the appropriate files. * [tools/wrc/wrc.[ch]] [tools/wrc/writeres.c] Added commandline option -A for autoregister code. Corrected the underscore problem by checking the proper define from config.h. Sun Jun 7 22:09:29 1998 Pascal Cuoq <pcuoq@ens-lyon.fr> * [ole/ole2nls.c] [memory/string.c] Improved LCMapString32A, and changed CompareString32A, lstrcmp, lstrcmpi to use it. Sat Jun 6 19:00:50 1998 Martin Strömberg <ams@ludd.luth.se> * [include/winnt.h] Added typedefs for security and tokens. Sat Jun 6 12:26:31 1998 Morten Welinder <terra@diku.dk> * [objects/text.c] Use debugstr_an in DrawText16. * [loader/resource.c] Use debugres_w in FindResourceEx32W. Avoid crashing during debug when wm is NULL. * [if1632/relay.c] In RELAY_DebugCallTo16, send output to the right place and avoid side effects in macro arguments. Wed Jun 3 20:56:03 1998 Huw D M Davies <daviesh@abacus.physics.ox.ac.uk> * [controls/scroll.c] [windows/nonclient.c] Fix several off by one errors in scrollbar painting. Tue Jun 2 23:58:59 1998 Insomnia (Stea Greene) <insomnia@core.binghamton.edu> * [graphics/dsound.c] Rewrote mixer code to handle panning and volume for 16->16, 16->8, 8->16, and 8->8 bit mixes. Conforms to DirectX's "logarithmic hearing scale" as specified in M$VC docs. Still does not handle mixing of different frequencies (I am still working on that). Tested 16->16 extensively with StarCraft. Other mixing combinations untested but should work fine. Still kind of a work in progress, so be warned. Tue Jun 2 03:31:33 1998 Alexander V. Lukyanov <lav@long.yar.ru> * [tools/wrc/utils.c] dup_basename: fix to strip directory. Mon Jun 1 20:00:00 1998 Juergen Schmied <juergen.schmied@metronet.de> * [include/windows.h] [objects/cursoricon.c] [relay32/user32.spec] Added stubs LoadCursorFromFileW and LoadCursorFromFileA.
219 lines
8.6 KiB
Plaintext
219 lines
8.6 KiB
Plaintext
/*
|
|
* Program Manager
|
|
*
|
|
* Copyright 1996 Ulrich Schmid
|
|
*/
|
|
|
|
#include "windows.h"
|
|
#include "progman.h"
|
|
|
|
#define CONCAT(a, b) CONCAT1(a, b)
|
|
#define CONCAT1(a, b) a##b
|
|
|
|
/* Menu */
|
|
|
|
CONCAT(MENU_, LANGUAGE_ID) MENU
|
|
{
|
|
POPUP MENU_FILE {
|
|
MENUITEM MENU_FILE_NEW, PM_NEW
|
|
MENUITEM MENU_FILE_OPEN, PM_OPEN
|
|
MENUITEM MENU_FILE_MOVE, PM_MOVE, GRAYED
|
|
MENUITEM MENU_FILE_COPY, PM_COPY, GRAYED
|
|
MENUITEM MENU_FILE_DELETE, PM_DELETE
|
|
MENUITEM MENU_FILE_ATTRIBUTES, PM_ATTRIBUTES
|
|
MENUITEM SEPARATOR
|
|
MENUITEM MENU_FILE_EXECUTE, PM_EXECUTE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM MENU_FILE_EXIT, PM_EXIT
|
|
}
|
|
POPUP MENU_OPTIONS {
|
|
MENUITEM MENU_OPTIONS_AUTO_ARRANGE, PM_AUTO_ARRANGE
|
|
MENUITEM MENU_OPTIONS_MIN_ON_RUN, PM_MIN_ON_RUN
|
|
MENUITEM MENU_OPTIONS_SAVE_SETTINGS, PM_SAVE_SETTINGS
|
|
}
|
|
POPUP MENU_WINDOWS {
|
|
MENUITEM MENU_WINDOWS_OVERLAP, PM_OVERLAP
|
|
MENUITEM MENU_WINDOWS_SIDE_BY_SIDE, PM_SIDE_BY_SIDE
|
|
MENUITEM MENU_WINDOWS_ARRANGE, PM_ARRANGE
|
|
}
|
|
POPUP MENU_LANGUAGE {
|
|
/* Dummy item, will be removed */
|
|
MENUITEM SEPARATOR
|
|
}
|
|
POPUP MENU_HELP {
|
|
MENUITEM MENU_HELP_CONTENTS, PM_CONTENTS
|
|
MENUITEM MENU_HELP_SEARCH, PM_SEARCH
|
|
MENUITEM SEPARATOR
|
|
MENUITEM MENU_HELP_HELP_ON_HELP, PM_HELPONHELP
|
|
MENUITEM MENU_HELP_TUTORIAL, PM_TUTORIAL
|
|
MENUITEM SEPARATOR
|
|
|
|
POPUP MENU_INFO {
|
|
MENUITEM MENU_INFO_LICENSE, PM_LICENSE
|
|
MENUITEM MENU_INFO_NO_WARRANTY, PM_NO_WARRANTY
|
|
MENUITEM MENU_INFO_ABOUT_WINE, PM_ABOUT_WINE
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Dialog `New' */
|
|
|
|
CONCAT(DIALOG_NEW_, LANGUAGE_ID) DIALOG 0, 0, 170, 65
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_NEW_CAPTION
|
|
{
|
|
RADIOBUTTON "", PM_NEW_GROUP, 10, 15, 10, 15
|
|
LTEXT DIALOG_NEW_GROUP, PM_NEW_GROUP, 20, 18, 80, 15
|
|
RADIOBUTTON "", PM_NEW_PROGRAM, 10, 35, 10, 15
|
|
LTEXT DIALOG_NEW_PROGRAM, PM_NEW_PROGRAM, 20, 38, 80, 15
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 105, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 105, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 105, 45, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Dialog `Move' */
|
|
|
|
CONCAT(DIALOG_MOVE_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_MOVE_CAPTION
|
|
{
|
|
LTEXT DIALOG_MOVE_PROGRAM, IDIGNORE, 5, 5, 90, 15
|
|
LTEXT "", PM_PROGRAM, 95, 5, 90, 15
|
|
LTEXT DIALOG_MOVE_FROM_GROUP, IDIGNORE, 5, 13, 90, 15
|
|
LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
|
|
LTEXT DIALOG_MOVE_TO_GROUP, PM_TO_GROUP_TXT, 5, 28, 140, 15
|
|
COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 185, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 185, 45, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Dialog `Copy' */
|
|
|
|
CONCAT(DIALOG_COPY_, LANGUAGE_ID) DIALOG 0, 0, 250, 65
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_COPY_CAPTION
|
|
{
|
|
LTEXT DIALOG_COPY_PROGRAM, IDIGNORE, 5, 5, 90, 15
|
|
LTEXT "", PM_PROGRAM, 95, 5, 90, 15
|
|
LTEXT DIALOG_COPY_FROM_GROUP, IDIGNORE, 5, 13, 90, 15
|
|
LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
|
|
LTEXT DIALOG_COPY_TO_GROUP, PM_TO_GROUP_TXT, 5, 28, 140, 15
|
|
COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 185, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 185, 45, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Dialog `Group attributes' */
|
|
|
|
CONCAT(DIALOG_GROUP_, LANGUAGE_ID) DIALOG 0, 0, 230, 65
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_GROUP_CAPTION
|
|
{
|
|
LTEXT DIALOG_GROUP_DESCRIPTION, PM_DESCRIPTION_TXT, 05, 18, 50, 10
|
|
EDITTEXT PM_DESCRIPTION, 60, 18, 90, 15, WS_TABSTOP
|
|
LTEXT DIALOG_GROUP_FILE, PM_FILE_TXT, 05, 38, 50, 10
|
|
EDITTEXT PM_FILE, 60, 38, 90, 15, WS_TABSTOP
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 155, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 155, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 155, 45, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Dialog `Program attributes' */
|
|
|
|
CONCAT(DIALOG_PROGRAM_, LANGUAGE_ID) DIALOG 0, 0, 250, 105
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_PROGRAM_CAPTION
|
|
{
|
|
LTEXT DIALOG_PROGRAM_DESCRIPTION, PM_DESCRIPTION_TXT, 05, 10, 60, 10
|
|
EDITTEXT PM_DESCRIPTION, 80, 10, 90, 15, WS_TABSTOP
|
|
LTEXT DIALOG_PROGRAM_COMMAND_LINE, PM_COMMAND_LINE_TXT, 05, 25, 60, 10
|
|
EDITTEXT PM_COMMAND_LINE, 80, 25, 90, 15, WS_TABSTOP
|
|
LTEXT DIALOG_PROGRAM_DIRECTORY, PM_DIRECTORY_TXT, 05, 40, 60, 10
|
|
EDITTEXT PM_DIRECTORY, 80, 40, 90, 15, WS_TABSTOP
|
|
LTEXT DIALOG_PROGRAM_HOT_KEY, PM_HOT_KEY_TXT, 05, 55, 60, 10
|
|
EDITTEXT PM_HOT_KEY, 80, 55, 90, 15, WS_TABSTOP
|
|
ICON "", PM_ICON, 20, 70
|
|
CHECKBOX "", PM_SYMBOL, 80, 75, 10, 10, WS_TABSTOP
|
|
LTEXT DIALOG_PROGRAM_SYMBOL, IDIGNORE, 95, 75, 75, 10
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 185, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_BROWSE, PM_BROWSE, 185, 45, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_PROGRAM_OTHER_SYMBOL, PM_OTHER_SYMBOL, 185, 65, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 185, 85, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Dialog `Symbol' */
|
|
|
|
CONCAT(DIALOG_SYMBOL_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_SYMBOL_CAPTION
|
|
{
|
|
LTEXT DIALOG_SYMBOL_FILE, PM_ICON_FILE_TXT, 5, 15, 40, 10
|
|
EDITTEXT PM_ICON_FILE, 45, 15, 85, 15, WS_TABSTOP
|
|
LTEXT DIALOG_SYMBOL_CURRENT, PM_SYMBOL_LIST_TXT, 5, 30, 125, 10
|
|
COMBOBOX PM_SYMBOL_LIST, 5, 40, 125, 50,
|
|
CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 135, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 135, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_BROWSE , PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 135, 65, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Dialog `Execute' */
|
|
|
|
CONCAT(DIALOG_EXECUTE_, LANGUAGE_ID) DIALOG 0, 0, 200, 85
|
|
STYLE DS_MODALFRAME
|
|
CAPTION DIALOG_EXECUTE_CAPTION
|
|
{
|
|
LTEXT DIALOG_EXECUTE_COMMAND_LINE, IDIGNORE, 05, 15, 120, 10
|
|
EDITTEXT PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
|
|
CHECKBOX "", PM_SYMBOL, 05, 45, 10, 10, WS_TABSTOP
|
|
LTEXT DIALOG_EXECUTE_SYMBOL, IDIGNORE, 20, 45, 120, 10
|
|
DEFPUSHBUTTON DIALOG_OK, IDOK, 135, 5, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_CANCEL, IDCANCEL, 135, 25, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_BROWSE , PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP
|
|
PUSHBUTTON DIALOG_HELP, PM_HELP, 135, 65, 60, 15, WS_TABSTOP
|
|
}
|
|
|
|
/* Strings */
|
|
|
|
#define ADDSTRING(str) ADDSTRING1(LANGUAGE_NUMBER, IDS_ ## str) STRING_ ## str
|
|
#define ADDSTRING1(langnum, ids) ADDSTRING2(langnum, ids)
|
|
#define ADDSTRING2(langnum, ids) 0x ## langnum ## ids
|
|
|
|
#define STRINGIFY(str) STRINGIFY1(str)
|
|
#define STRINGIFY1(str) #str
|
|
|
|
#define STRING_LANGUAGE_ID STRINGIFY(LANGUAGE_ID)
|
|
#define STRING_LANGUAGE_MENU_ITEM LANGUAGE_MENU_ITEM
|
|
|
|
STRINGTABLE
|
|
{
|
|
ADDSTRING(LANGUAGE_ID)
|
|
ADDSTRING(LANGUAGE_MENU_ITEM)
|
|
ADDSTRING(PROGRAM_MANAGER)
|
|
ADDSTRING(ERROR)
|
|
ADDSTRING(WARNING)
|
|
ADDSTRING(INFO)
|
|
ADDSTRING(DELETE)
|
|
ADDSTRING(DELETE_GROUP_s)
|
|
ADDSTRING(DELETE_PROGRAM_s)
|
|
ADDSTRING(NOT_IMPLEMENTED)
|
|
ADDSTRING(FILE_READ_ERROR_s)
|
|
ADDSTRING(FILE_WRITE_ERROR_s)
|
|
ADDSTRING(GRPFILE_READ_ERROR_s)
|
|
ADDSTRING(OUT_OF_MEMORY)
|
|
ADDSTRING(WINHELP_ERROR)
|
|
ADDSTRING(UNKNOWN_FEATURE_s)
|
|
ADDSTRING(FILE_NOT_OVERWRITTEN_s)
|
|
ADDSTRING(SAVE_GROUP_AS_s)
|
|
ADDSTRING(NO_HOT_KEY)
|
|
ADDSTRING(ALL_FILES)
|
|
ADDSTRING(PROGRAMS)
|
|
ADDSTRING(LIBRARIES_DLL)
|
|
ADDSTRING(SYMBOL_FILES)
|
|
ADDSTRING(SYMBOLS_ICO)
|
|
}
|