Autosyncing with Wine HEAD

svn path=/trunk/; revision=27903
This commit is contained in:
The Wine Synchronizer 2007-07-27 09:28:40 +00:00
parent 7d642d88fb
commit 2513a18ec3
41 changed files with 2104 additions and 1545 deletions

View file

@ -21,7 +21,8 @@
#ifndef _WINE_DLL_CDLG_H
#define _WINE_DLL_CDLG_H
#include <wownt32.h>
#include "dlgs.h"
#include "wownt32.h"
/* Common dialogs implementation globals */
#define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */
@ -153,6 +154,15 @@ typedef struct {
#define IDS_FAKEDOCTEXT 1300
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "commctrl.h"
#include "shlobj.h"
#include "shellapi.h"
/* ITEMIDLIST */
extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILClone) (LPCITEMIDLIST);
@ -175,7 +185,7 @@ extern BOOL WINAPI GetFileDialog95W(LPOPENFILENAMEW ofn,UINT iDlgType);
* Do NOT Export to other programs and dlls
*/
BOOL CC_HookCallChk( LPCHOOSECOLORW lpcc );
BOOL CC_HookCallChk( const CHOOSECOLORW *lpcc );
int CC_MouseCheckResultWindow( HWND hDlg, LPARAM lParam );
LRESULT CC_WMLButtonDown( HWND hDlg, WPARAM wParam, LPARAM lParam );
LRESULT CC_WMLButtonUp( HWND hDlg, WPARAM wParam, LPARAM lParam );
@ -183,7 +193,7 @@ LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD
notifyCode, HWND hwndCtl );
LRESULT CC_WMMouseMove( HWND hDlg, LPARAM lParam );
LRESULT CC_WMPaint( HWND hDlg, WPARAM wParam, LPARAM lParam );
void CC_SwitchToFullSize( HWND hDlg, COLORREF result, LPRECT lprect );
void CC_SwitchToFullSize( HWND hDlg, COLORREF result, LPCRECT lprect );
void CC_PaintSelectedColor( HWND hDlg, COLORREF cr );
int CC_RGBtoHSL(char c, int r, int g, int b);
void CC_PaintCross( HWND hDlg, int x, int y);
@ -192,7 +202,7 @@ int CC_CheckDigitsInEdit( HWND hwnd, int maxval );
void CC_EditSetHSL( HWND hDlg, int h, int s, int l );
int CC_HSLtoRGB(char c, int hue, int sat, int lum);
void CC_EditSetRGB( HWND hDlg, COLORREF cr );
void CC_PaintUserColorArray( HWND hDlg, int rows, int cols, COLORREF* lpcr );
void CC_PaintUserColorArray( HWND hDlg, int rows, int cols, const COLORREF* lpcr );
typedef struct
{
@ -203,10 +213,10 @@ typedef struct
} CFn_ENUMSTRUCT, *LPCFn_ENUMSTRUCT;
INT AddFontFamily(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM,
UINT nFontType, LPCHOOSEFONTW lpcf, HWND hwnd,
UINT nFontType, const CHOOSEFONTW *lpcf, HWND hwnd,
LPCFn_ENUMSTRUCT e);
INT AddFontStyle(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *metrics,
UINT nFontType, LPCHOOSEFONTW lpcf, HWND hcmb2, HWND hcmb3,
UINT nFontType, const CHOOSEFONTW *lpcf, HWND hcmb2, HWND hcmb3,
HWND hDlg, BOOL iswin16);
void _dump_cf_flags(DWORD cflags);
@ -217,6 +227,6 @@ LRESULT CFn_WMDrawItem(HWND hDlg, WPARAM wParam, LPARAM lParam);
LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam,
LPCHOOSEFONTW lpcf);
LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam,
LPCHOOSEFONTW lpcf);
const CHOOSEFONTW *lpcf);
#endif /* _WINE_DLL_CDLG_H */

View file

@ -23,7 +23,6 @@
#ifndef _WINE_DLL_CDLG16_H
#define _WINE_DLL_CDLG16_H
#define COM_NO_WINDOWS_H
#include "dlgs.h"
#include "wine/windef16.h"
#include "wine/winbase16.h"

View file

@ -19,16 +19,27 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <precomp.h>
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "cderr.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
#include "cdlg.h"
HINSTANCE COMDLG32_hInstance = 0;
static DWORD COMDLG32_TlsIndex = TLS_OUT_OF_INDEXES;
HINSTANCE SHELL32_hInstance = 0;
HINSTANCE SHFOLDER_hInstance = 0;
static HINSTANCE SHELL32_hInstance;
static HINSTANCE SHFOLDER_hInstance;
/* ITEMIDLIST */
LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILClone) (LPCITEMIDLIST);
@ -52,17 +63,17 @@ BOOL (WINAPI *COMDLG32_SHGetFolderPathW)(HWND,int,HANDLE,DWORD,LPWSTR);
* FALSE if sibling could not be loaded or instantiated twice, TRUE
* otherwise.
*/
static const char * GPA_string = "Failed to get entry point %s for hinst = 0x%08x\n";
static const char GPA_string[] = "Failed to get entry point %s for hinst = %p\n";
#define GPA(dest, hinst, name) \
if(!(dest = (void*)GetProcAddress(hinst,name)))\
{ \
ERR((LPSTR)GPA_string, debugstr_a(name), hinst); \
ERR(GPA_string, debugstr_a(name), hinst); \
return FALSE; \
}
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
{
TRACE("(%p, %ld, %p)\n", hInstance, Reason, Reserved);
TRACE("(%p, %d, %p)\n", hInstance, Reason, Reserved);
switch(Reason)
{
@ -143,7 +154,7 @@ LPVOID COMDLG32_AllocMem(
*/
void COMDLG32_SetCommDlgExtendedError(DWORD err)
{
TRACE("(%08lx)\n", err);
TRACE("(%08x)\n", err);
if (COMDLG32_TlsIndex == TLS_OUT_OF_INDEXES)
COMDLG32_TlsIndex = TlsAlloc();
if (COMDLG32_TlsIndex != TLS_OUT_OF_INDEXES)

View file

@ -1,5 +1,5 @@
/*
* Copyright 1995 Alexandre Julliard
* Copyright 2005 Milko Krachounov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -17,98 +17,98 @@
*/
/*
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
* Òóê èçðè÷íî ïèøåøå äà íå ïèïàì íåùî, àìà àç ãî ïèïíàõ.
* Àêî èìà ïðîáëåìè íÿêîé äà ãè îïðàâè.
*/
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Îòâàðÿíå"
CAPTION "Îòâîðè"
FONT 8, "MS Shell Dlg"
{
LTEXT "Ôàéëîâî &èìå:", 1090, 6, 6, 76, 9
LTEXT "&Èìå íà ôàéë:", 1090, 6, 6, 76, 9
EDITTEXT edt1, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "&Ïàïêè:", -1, 110, 6, 92, 9
LTEXT "&Äèðåêòîðèè:", -1, 110, 6, 92, 9
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
/* LTEXT "Ôàéëîâå îò &âèä:", 1089, 6, 104, 90, 9*/
LTEXT "Ïîêàçâàíå íà ôàéëîâå îò âèä:", 1089, 6, 104, 90, 9
LTEXT "&Òèï ôàéëîâå:", 1089, 6, 104, 90, 9
COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "&Óñòðîéñòâà:", 1091, 110, 104, 92, 9
COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "Îòâàðÿíå", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòêàç", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïîìî&ù", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "Ñàçìî çà &÷åòåíå", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "Îòâîðè", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòìåíè", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ïîìîù", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "Ñàìî çà &÷åòåíå", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Çàïèñ êàòî..."
CAPTION "Ñúõðàíè êàòî ..."
FONT 8, "MS Shell Dlg"
{
LTEXT "Ôàéëîâî &èìå:", 1090, 6, 6, 76, 9
LTEXT "&Èìå íà ôàéë:", 1090, 6, 6, 76, 9
EDITTEXT edt1, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "&Ïàïêè", -1, 110, 6, 92, 9
LTEXT "&Äèðåêòîðèè:", -1, 110, 6, 92, 9
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "Ôàéëîâå îò &âèä::", 1089, 6, 104, 90, 9
LTEXT "&Òèï ôàéëîâå:", 1089, 6, 104, 90, 9
COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "&Óñòðîéñòâà:", 1091, 110, 104, 92, 9
COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "Çàïèñ êàòî", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòêàç", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïîìî&ù", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "Ñúõðàíè", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòìåíè", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ïîìîù", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "Ñàìî çà &÷åòåíå", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ðàçïå÷àòâàíå"
CAPTION "Ïå÷àò"
FONT 8, "MS Shell Dlg"
{
LTEXT "Ïå÷àòà÷:", 1088, 6, 6, 40, 9
LTEXT "Ïðèíòåð:", 1088, 6, 6, 40, 9
LTEXT "", 1089, 60, 6, 150, 9
GROUPBOX "Îáëàñò íà îòïå÷àòâàíå", grp1, 6, 30, 160, 65, BS_GROUPBOX
RADIOBUTTON "Âñè&÷êè", rad1, 16, 45, 60, 12
RADIOBUTTON "Èç&áîð", rad2, 16, 60, 60, 12
GROUPBOX "Ðàçïå÷àòàé", grp1, 6, 30, 160, 65, BS_GROUPBOX
RADIOBUTTON "&Âñè÷êî", rad1, 16, 45, 60, 12
RADIOBUTTON "&Èçáðàíîòî", rad2, 16, 60, 60, 12
RADIOBUTTON "&Ñòðàíèöè", rad3, 16, 75, 60, 12
DEFPUSHBUTTON "Ðàçïå÷àòâàíå", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòêàç", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Íàñòðîéêà", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "Ðàçïå÷àòàé", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòìåíè", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Íàñòðîéêè", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
LTEXT "&Îò:", 1090, 60, 80, 30, 9
LTEXT "&Äî:", 1091, 120, 80, 30, 9
LTEXT "&Êà÷åñòâî íà ïå÷àò:", 1092, 6, 100, 76, 9
LTEXT "&Êà÷åñòâî:", 1092, 6, 100, 76, 9
COMBOBOX cmb1, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
CHECKBOX "Ðàçïå÷àòâàíå âúâ ôàéë", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "Ñòåãíàò", chx2, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "Ïå÷àò âúâ &ôàéë", chx1, 20, 100, 60, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "Ñãúñòåíî", chx2, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Íàñòðîéêà çà ïå÷àò"
CAPTION "Íàñòðîéêè íà ïå÷àòàíåòî"
FONT 8, "MS Shell Dlg"
{
GROUPBOX "Ïå÷àòà÷", grp1, 6, 10, 180, 65, BS_GROUPBOX
RADIOBUTTON "Ïîä&ðàçáðàí ïå÷àòà÷", rad1, 16, 20, 80, 12
LTEXT "[none]", 1088, 35, 35, 120, 9
RADIOBUTTON "Specific &Printer", rad2, 16, 50, 80, 12
GROUPBOX "Ïðèíòåð", grp1, 6, 10, 180, 65, BS_GROUPBOX
RADIOBUTTON "Ïðèíòåð ïî ïîä&ðàçáèðàíå", rad1, 16, 20, 80, 12
LTEXT "[íÿìà]", 1088, 35, 35, 120, 9
RADIOBUTTON "Äðóã &ïðèíòåð", rad2, 16, 50, 80, 12
COMBOBOX cmb1, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "Äîáðå", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòêàç", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Íàñòðîéêà", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
GROUPBOX "Íàñî÷åíîñò", grp2, 6, 85, 100, 50, BS_GROUPBOX
RADIOBUTTON "Èç&ïðàâåíà", rad3, 50, 100, 40, 12
RADIOBUTTON "&Ëåãíàëà", rad4, 50, 115, 40, 12
DEFPUSHBUTTON "OK", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòìåíè", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Íàñòðîéêè", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
GROUPBOX "Îðèåíòàöèÿ", grp2, 6, 85, 100, 50, BS_GROUPBOX
RADIOBUTTON "Ïîð&òðåò", rad3, 50, 100, 40, 12
RADIOBUTTON "Ïåéçà&æ", rad4, 50, 115, 40, 12
ICON "LANDSCAP", stc10, 10, 95, 32, 32
ICON "PORTRAIT", stc11, 10, 95, 32, 32
GROUPBOX "Õàðòèÿ", grp3, 120, 85, 180, 50, BS_GROUPBOX
GROUPBOX "Paper", grp3, 120, 85, 180, 50, BS_GROUPBOX
LTEXT "Ðàç&ìåð", 1089, 130, 95, 30, 9
LTEXT "&Èçòî÷íèê", 1090, 130, 110, 30, 9
COMBOBOX cmb2, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
@ -124,165 +124,165 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Øðèôò:",stc1 ,6,3,40,9
COMBOBOX cmb1, 6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
LTEXT "&Âèä øðèôò:",stc2 ,108,3,44,9
LTEXT "&Ñòèë:",stc2 ,108,3,44,9
COMBOBOX cmb2,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
LTEXT "&Ðàçìåð:",stc3,179,3,30,9
LTEXT "Ðà&çìåð:",stc3,179,3,30,9
COMBOBOX cmb3,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
DEFPUSHBUTTON "Äîáðå",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Îòêàç",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ïðèëàãàíå", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïîìî&ù" , pshHelp,218,57,40,14,WS_GROUP | WS_TABSTOP
GROUPBOX "Óêðàñà",grp1,6,72,84,34,WS_GROUP
CHECKBOX "Çà&÷åðòàí", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "&Ïîä÷åðòàí", chx2, 10,94,50,10, BS_AUTOCHECKBOX
DEFPUSHBUTTON "OK",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Îòìåíè",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïðè&ëîæè", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ïîìîù" , pshHelp,218,57,40,14,WS_GROUP | WS_TABSTOP
GROUPBOX "Åôåêòè",grp1,6,72,84,34,WS_GROUP
CHECKBOX "&Çà÷åðòàí", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "Ïîä&÷åðòàí", chx2, 10,94,50,10, BS_AUTOCHECKBOX
LTEXT "&Öâÿò:", stc4 ,6,110,30,9
COMBOBOX cmb4,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Îáðàçåö",grp2,98,72,120,36,WS_GROUP
CTEXT "ÀàÁáÞþßÿ",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "&Çíàêîâ íàáîð:",stc7 ,98,114,40,9
GROUPBOX "Ïðèìåð",grp2,98,72,120,36,WS_GROUP
CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "&Àçáóêà:",stc7 ,98,114,40,9
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
}
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 314, 185
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Öâÿò"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Îñíîâíè öâåòîâå:", 1088, 4, 4, 140, 10
LTEXT "&Ñîáñòâåíè öâåòîâå:", 1089, 4, 106, 140, 10
LTEXT "Öâÿò | &Ïëúòåí", 1090, 150, 151, 48, 10
LTEXT "&×åðâåí:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Çåëåí:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Ñèí:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Hue:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sat:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Ïîòðåáèòåëñêè öâåòîâå:", 1089, 4, 106, 140, 10
LTEXT "Öâÿò|&Ïëúòåí", 1090, 150, 151, 48, 10
LTEXT "&×åðâåíî:", 726 /*1094*/,261,126,32,10
EDITTEXT 706, 295,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Çåëåíî:",727/*1095*/,261,140,32,10
EDITTEXT 707, 295,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Ñèíüî:",728 /*1096*/,261,154,32,10
EDITTEXT 708, 295,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Òîí:" ,723 /*1091*/,197,126,42,10
EDITTEXT 703, 241,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Íàñèòåíîñò:" ,724 /*1092*/,197,140,42,10
EDITTEXT 704, 241,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Îñâåòåíîñò:" ,725 /*1093*/,197,154,42,10
EDITTEXT 705, 241,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
DEFPUSHBUTTON "Äîáðå", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòêàç", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "OK", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòìåíè", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïîìîù", pshHelp,100,166, 44, 14
PUSHBUTTON "&Äîáàâÿíå êúì ñîáñòâåíèòå öâåòîâå", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Çàäàâàíå íà ñîáñòâåíè öâåòîâå >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
PUSHBUTTON "&Äîáàâè ïîòðåáèòåëñêè öâÿò", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Îïðåäåëè öâåòîâå >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ï",713,300,200,4,14 /* just a dummy: 'Ï' is like &Ï in "&Ïëúòåí" */
}
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 281, 62
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Òúðñåíå"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Òúðñåíå íà:", -1, 4, 8, 42, 8
EDITTEXT edt1, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "Ñúâïàäåíèå íà &öåëèòå äóìè", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "Îò÷èòàíå íà &ãëÀâÍîÑÒòà", chx2, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
GROUPBOX "Ïîñîêà", grp1, 107, 26, 68, 28
CONTROL "Íà&ãîðå", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
CONTROL "Íà&äîëó", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
LTEXT "Òúðñè &çà:", -1, 4, 8, 42, 8
EDITTEXT edt1, 47, 7, 158, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "&Ñàìî öåëè äóìè", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "&×óâñòâèòåëåí ðåãèñòúð", chx2, 4, 42, 96, 12, BS_AUTOCHECKBOX | WS_TABSTOP
GROUPBOX "Ïîñîêà", grp1, 107, 26, 98, 28
CONTROL "Íà&ãîðå", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 40, 12
CONTROL "Íà&äîëó", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 158, 38, 40, 12
DEFPUSHBUTTON "&Òúðñåíå íà &ñëåäâàù", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Îòêàç", IDCANCEL , 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïîìî&ù", pshHelp , 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "&Íàìåðè ñëåäâàù", IDOK, 212, 5, 65, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Îòìåíè", IDCANCEL , 212, 23, 65, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ïîìîù", pshHelp , 212, 45, 65, 14, WS_GROUP | WS_TABSTOP
}
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 281, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Çàìÿíà"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Òúðñåíå íà:", -1, 4, 9, 48, 8
EDITTEXT edt1, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Òúðñè &çà:", -1, 4, 9, 48, 8
EDITTEXT edt1, 47, 7, 158, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Çà&ìÿíà ñ:", -1, 4, 26, 48, 8
EDITTEXT edt2, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "Ñúâïàäåíèå íà &öåëèòå äóìè", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "Îò÷èòàíå íà &ãëÀâÍîÑÒòà", chx2, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP
EDITTEXT edt2, 47, 24, 158, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "&Ñàìî öåëè äóìè", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "&×óâñòâèòåëåí ðåãèñòúð", chx2, 5, 62, 100, 12, BS_AUTOCHECKBOX | WS_TABSTOP
DEFPUSHBUTTON "Òúðñåíå íà &ñëåäâàù", IDOK, 174, 4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Çà&ìÿíà", psh1 , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Çàìÿíà íà âñè&÷êè", psh2 , 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòêàç", IDCANCEL , 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ïîìî&ù", pshHelp , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "&Íàìåðè ñëåäâàù", IDOK, 212, 4, 65, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "&Çàìåíè", psh1 , 212, 21, 65, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Çàìåíè &âñè÷êè", psh2 , 212, 38, 65, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Îòìÿíà", IDCANCEL , 212, 55, 65, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ïîìîù", pshHelp , 212, 75, 65, 14, WS_GROUP | WS_TABSTOP
}
PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 186
PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 321, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Ðàçïå÷àòâàíå"
CAPTION "Ïå÷àò"
FONT 8, "MS Shell Dlg"
{
DEFPUSHBUTTON "Äîáðå", IDOK, 180,164, 48,14, WS_GROUP | BS_DEFPUSHBUTTON
PUSHBUTTON "Îòêàç", IDCANCEL, 232,164, 48,14, WS_GROUP
PUSHBUTTON "Ïîìî&ù", pshHelp, 50, 161, 48,14, WS_GROUP
DEFPUSHBUTTON "OK", IDOK, 180,164, 48,14, WS_GROUP | BS_DEFPUSHBUTTON
PUSHBUTTON "Îòìåíè", IDCANCEL, 232,164, 48,14, WS_GROUP
PUSHBUTTON "&Ïîìîù", pshHelp, 50, 161, 48,14, WS_GROUP
GROUPBOX "Ïå÷àòà÷", grp4, 8, 4, 272,84, WS_GROUP
CONTROL "Ðàçïå÷àòâàíå âúâ &ôàéë", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
PUSHBUTTON "&Ñâîéñòâà", psh2, 212, 17, 60,14, WS_GROUP
GROUPBOX "Ïðèíòåð", grp4, 8, 4, 305,84, WS_GROUP
CONTROL "Ïå÷àò âúâ &ôàéë", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,217,70,74,12
PUSHBUTTON "Ñâî&éñòâà", psh2, 212, 17, 60,14, WS_GROUP
LTEXT "&Èìå:", stc6, 16, 20, 36,8
COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Ñúñòîÿíèå:", stc8, 16, 36, 36,10, SS_NOPREFIX
LTEXT "Dummy State", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Âèä:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Dummy Type", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Êúäå:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Dummy Location", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Çàáåëåæêà:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Dummy Remark", stc13, 52, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òåêñò", stc12, 57, 36, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òèï:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Òåêñò", stc11, 57, 48, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ìÿñòî:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Òåêñò", stc14, 57, 60, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Êîìåíòàð:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Òåêñò", stc13, 57, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "Áðîéêè", grp2, 160, 92, 120,64, WS_GROUP
LTEXT "Áðîé ðàçïå÷àòâàíèÿ:",stc5,168,108,68,8
ICON "", ico3, 162,124, 76,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "Ïîä&ðåæäàíå", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
EDITTEXT edt3, 240,106, 32,12, WS_GROUP | ES_NUMBER
GROUPBOX "Êîïèÿ", grp2, 172, 92, 141,64, WS_GROUP
LTEXT "Áðîé &êîïèÿ:",stc5,180,108,68,8
ICON "", ico3, 174,124, 76,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "Ïîä&ðåæäàíå", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,252,130,57,12
EDITTEXT edt3, 252,106, 32,12, WS_GROUP | ES_NUMBER
GROUPBOX "Ðàçïå÷àòâàíå íà", grp1, 8,92, 144,64, WS_GROUP
CONTROL "Âñè&÷êè", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
CONTROL "&Ñòðàíèöè", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
GROUPBOX "Ðàçïå÷àòàé", grp1, 8,92, 156,64, WS_GROUP
CONTROL "&Âñè÷êî", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
CONTROL "&Ñòðàíèöè", rad3,"Button",BS_AUTORADIOBUTTON,16,122,48,12
CONTROL "&Èçáðàíîòî", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
EDITTEXT edt1, 74,122, 26,12, WS_GROUP | ES_NUMBER
EDITTEXT edt2, 118,122, 26,12, WS_GROUP | ES_NUMBER
RTEXT "&îò:", stc2, 52,124, 20,8
RTEXT "&äî:", stc3, 100,124, 16,8
EDITTEXT edt1, 86,122, 26,12, WS_GROUP | ES_NUMBER
EDITTEXT edt2, 130,122, 26,12, WS_GROUP | ES_NUMBER
RTEXT "&îò:", stc2, 64,124, 20,8
RTEXT "&äî:", stc3, 112,124, 16,8
}
PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Ïå÷àòíà íàñòðîéêà"
CAPTION "Íàñòðîéêè íà ïå÷àòàíåòî"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Äîáðå",IDOK,180,156,48,14,WS_GROUP
PUSHBUTTON "Îòêàç",IDCANCEL,232,156,48,14
DEFPUSHBUTTON "OK",IDOK,180,156,48,14,WS_GROUP
PUSHBUTTON "Îòìåíè",IDCANCEL,232,156,48,14
/* PUSHBUTTON "Ìðåæà...", psh5, 284,156,48,14 */
GROUPBOX "Ïå÷àòà÷", grp4, 8, 4, 272,84, WS_GROUP
PUSHBUTTON "&Ñâîéñòâà", psh2, 212, 17, 60,14, WS_GROUP
GROUPBOX "Ïðèíòåð", grp4, 8, 4, 272,84, WS_GROUP
PUSHBUTTON "Ñâî&éñòâà", psh2, 212, 17, 60,14, WS_GROUP
LTEXT "&Èìå:", stc6, 16, 20, 36,8
COMBOBOX cmb1, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Ñúñòîÿíèå:", stc8, 16, 36, 36,10, SS_NOPREFIX
LTEXT "Dummy State", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Âèä:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Dummy Type", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Êúäå:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Dummy Location", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Çàáåëåæêà:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Dummy Remark", stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òåêñò", stc12, 57, 36, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òèï:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Òåêñò", stc11, 57, 48, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ìÿñòî:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Òåêñò", stc14, 57, 60, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Êîìåíòàð:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Òåêñò", stc13, 57, 72, 219,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "Õàðòèÿ", grp2, 8, 92, 164,56, WS_GROUP
LTEXT "Ðàç&ìåð:", stc2, 16,108, 36, 8
@ -290,188 +290,186 @@ BEGIN
LTEXT "&Èçòî÷íèê:", stc3, 16,128, 36, 8
COMBOBOX cmb3, 52,126, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
GROUPBOX "Íàñî÷åíîñò", grp1, 180, 92, 100,56, WS_GROUP
GROUPBOX "Îðèåíòàöèÿ", grp1, 180, 92, 100,56, WS_GROUP
ICON "", ico1, 195,112, 18,20, WS_GROUP
CONTROL "Èç&ïðàâåíà", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
CONTROL "&Ëåãíàëà", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
CONTROL "Ïîð&òðåò", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
CONTROL "Ïåéçà&æ", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
END
PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Setup Page"
CAPTION "Íàñòðîéêè íà ñòðàíèöàòà"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
CONTROL "", rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
CONTROL "", rct3, "Static", SS_GRAYRECT, 84, 88, 80, 4
GROUPBOX "Paper", grp2, 8, 96, 224, 56, BS_GROUPBOX
LTEXT "&Size:", stc2, 16, 112, 36, 8
GROUPBOX "Õàðòèÿ", grp2, 8, 96, 224, 56, BS_GROUPBOX
LTEXT "Ðàç&ìåð:", stc2, 16, 112, 36, 8
COMBOBOX cmb2, 64, 110, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
LTEXT "&Tray:", stc3, 16, 132, 36, 8
LTEXT "&Êîíòåéíåð:", stc3, 16, 132, 36, 8
COMBOBOX cmb3, 64, 130, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
GROUPBOX "Íàñî÷åíîñò", grp1, 8, 156, 64, 56, BS_GROUPBOX
AUTORADIOBUTTON "Èç&ïðàâåíà", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
AUTORADIOBUTTON "&Ëåãíàëà", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
GROUPBOX "Ïîëåòà", grp4, 80, 156, 152, 56, BS_GROUPBOX
LTEXT "&Ëÿâî:", stc15, 88, 172, 21, 8
GROUPBOX "Îðèåíòàöèÿ", grp1, 8, 156, 64, 56, BS_GROUPBOX
AUTORADIOBUTTON "Ïîð&òðåò", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
AUTORADIOBUTTON "Ïåéçà&æ", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
GROUPBOX "Ðàìêè", grp4, 80, 156, 152, 56, BS_GROUPBOX
LTEXT "&Ëÿâà:", stc15, 88, 172, 21, 8
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "&Äÿñíî:", stc16, 159, 172, 27, 8
LTEXT "&Äÿñíà:", stc16, 159, 172, 27, 8
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "&Ãîðíî:", stc17, 88, 192, 21, 8
LTEXT "&Ãîðíà:", stc17, 88, 192, 21, 8
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "&Äîëíî:", stc18, 159, 192, 23, 8
LTEXT "Ä&îëíà:", stc18, 159, 192, 23, 8
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
DEFPUSHBUTTON "Äîáðå", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
PUSHBUTTON "Îòêàç", IDCANCEL, 126, 220, 50, 14
PUSHBUTTON "&Ïå÷àòà÷...", psh3, 184, 220, 48, 14
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
PUSHBUTTON "Îòìåíè", IDCANCEL, 126, 220, 50, 14
PUSHBUTTON "&Ïðèíòåð...", psh3, 184, 220, 48, 14
END
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "Îòâàðÿíå"
CAPTION "Îòâîðè"
FONT 8, "MS Shell Dlg"
{
LTEXT "Òúðñåíå &â:",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
LTEXT "Ì&ÿñòî:",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
COMBOBOX IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
LTEXT "" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
LTEXT "Ôàéëîâî &èìå",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
LTEXT "&Èìå íà ôàéë:",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
LTEXT "Ôàéëîâå îò &âèä:",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
LTEXT "&Òèï ôàéëîâå:",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Îòâàðÿíå ñàìî çà &÷åòåíå",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
CONTROL "Ñàìî çà &÷åòåíå",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
DEFPUSHBUTTON "&Îòâàðÿíå", IDOK,222,110,50,14
PUSHBUTTON "Îòêàç", IDCANCEL,222,128,50,14
PUSHBUTTON "Ïîìî&ù", pshHelp,222,145,50,14
DEFPUSHBUTTON "&Îòâîðè", IDOK,222,110,50,14
PUSHBUTTON "Îòìåíè", IDCANCEL,222,128,50,14
PUSHBUTTON "&Ïîìîù", pshHelp,222,145,50,14
}
STRINGTABLE DISCARDABLE
{
IDS_ABOUTBOX "&Çà FolderPicker Test"
IDS_DOCUMENTFOLDERS "Ïàïêè çà äîêóìåíòè"
IDS_PERSONAL "Äîêóìåíòè"
IDS_FAVORITES "Ëþáèìêè"
IDS_ABOUTBOX "&Îòíîñíî FolderPicker òåñòà"
IDS_DOCUMENTFOLDERS "Ïàïêè ñ äîêóìåíòè"
IDS_PERSONAL "Ìîèòå äîêóìåíòè"
IDS_FAVORITES "Îòìåòêè"
IDS_PATH "Ñèñòåìåí ïúò"
IDS_DESKTOP "Ðàáîòíà ïëîù"
IDS_DESKTOP "Ðàáîòåí ïëîò"
IDS_FONTS "Øðèôòîâå"
IDS_MYCOMPUTER "Ìîÿò êîìïþòúð"
IDS_MYCOMPUTER "Ìîÿ êîìïþòúð"
}
STRINGTABLE DISCARDABLE
{
IDS_SYSTEMFOLDERS "Ñèñòåìíè ïàïêè"
IDS_LOCALHARDRIVES "Ìåñòíè òâúðäè äèñêîâå"
IDS_FILENOTFOUND "Íåíàìåðåí ôàéë"
IDS_VERIFYFILE "Ïðîâåðåòå, äàëè å çàäàäåíî ïðàâèëíîòî ôàéëîâî èìå"
IDS_CREATEFILE "Ôàéëúò íå ñúùåñòâóâà\nÄà ãî ñúçäàì ëè"
IDS_OVERWRITEFILE "Ôàéëúò âå÷å ñúùåñòâóâà.\nÄà ãî çàìåíÿ ëè?"
IDS_INVALID_FILENAME_TITLE "Invalid character(s) in path"
IDS_INVALID_FILENAME "Ôàéëîâèòå èìåíà íå ìîãàò äà ñúäúðæàò ñëåäíèòå çíàöè: \n / : < > |"
IDS_LOCALHARDRIVES "Ëîêàëíè óñòðîéñòâà"
IDS_FILENOTFOUND "Ôàéëúò íå å íàìåðåí"
IDS_VERIFYFILE "Ïðîâåðåòå äàëè ñòå âúâåëè ïðàâèëíî èìåòî íà ôàéëà"
IDS_CREATEFILE "Ôàéëúò íå ñúùåñòâóâà.\nÈñêàòå ëè äà ãî ñúçäàäåòå?"
IDS_OVERWRITEFILE "Ôàéëúò âå÷å ñúùåñòâóâà.\nÈñêàòå ëè äà ãî çàìåíèòå?"
IDS_INVALID_FILENAME_TITLE "Íåâàëèäíè çíàöè â ïúòÿ"
IDS_INVALID_FILENAME "Èìåòî íà ôàéëà íå ìîæå äà ñúäúðæà ñëåäíèòå ñèìâîëè: \n / : < > |"
IDS_PATHNOTEXISTING "Ïúòÿò íå ñúùåñòâóâà"
IDS_FILENOTEXISTING "Ôàéëúò íå ñúùåñòâóâà"
}
STRINGTABLE DISCARDABLE
{
IDS_UPFOLDER "Íèâî íàãîðå"
IDS_NEWFOLDER "Ñúçäàâàíå íà íîâà ïàïêà"
IDS_UPFOLDER "Åäíî íèâî íàãîðå"
IDS_NEWFOLDER "Ñúçäàé íîâà ïàïêà"
IDS_LISTVIEW "Ñïèñúê"
IDS_REPORTVIEW "Ïîäðîáåí èçãëåä"
IDS_TODESKTOP "Îáçîð íà ðàáîòíàòà ïëîù"
IDS_REPORTVIEW "Ïîäðîáíîñòè"
IDS_TODESKTOP "Ïðåìèíè êúì ðàáîòíèÿ ïëîò"
}
STRINGTABLE DISCARDABLE
{
PD32_PRINT_TITLE "Ðàçïå÷àòâàíå"
PD32_PRINT_TITLE "Ïå÷àò"
PD32_VALUE_UREADABLE "Íå÷åòèìà ñòîéíîñò"
PD32_INVALID_PAGE_RANGE "This value does not lie within the page range.\n\
Please enter a value between %d and %d."
PD32_FROM_NOT_ABOVE_TO "The 'from' entry cannot exceed the \
'to' entry."
PD32_MARGINS_OVERLAP "Margins overlap or fall outside \
Paper boundaries.\nPlease reenter margins."
PD32_NR_OF_COPIES_EMPTY "The number of 'Number of copies' \
value cannot be empty."
PD32_TOO_LARGE_COPIES "This large number of copies is not \
supported by your printer.\nPlease enter a value between 1 and %d."
PD32_PRINT_ERROR "Ïîÿâèñå ñå ãðåøêà â ïå÷àòà÷à."
PD32_NO_DEFAULT_PRINTER "No default printer defined."
PD32_CANT_FIND_PRINTER "Cannot find the printer."
PD32_OUT_OF_MEMORY "Ïàìåòòà èç÷åðïàíà."
PD32_VALUE_UREADABLE "Íå÷åòèì åëåìåíò"
PD32_INVALID_PAGE_RANGE "Íåâàëèäåí íîìåð íà ñòðàíèöà.\n\
Èçïîëçâàéòå ñòîéíîñòè ìåæäó %d è %d."
PD32_FROM_NOT_ABOVE_TO "Ñòîéíîñòòà 'îò' íå ìîæå äà å ïî-ãîëÿìà îò \
ñòîéíîñòòà 'äî'."
PD32_MARGINS_OVERLAP "Ãðàíèöèòå ñå ïðåïîêðèâàò èëè èçëèçàò èçâúí \
êðàÿ íà ñòðàíèöàòà.\nÊîðèãèðàéòå ãè."
PD32_NR_OF_COPIES_EMPTY "Òðÿáâà äà âúâåäåòå áðîé êîïèÿ, êîèòî \
äà áúäàò îòïå÷àòàíè."
PD32_TOO_LARGE_COPIES "Âúâåëè ñòå ïî-ãîëÿì áðîé êîïèÿ, îòêîëêîòî \
âàøèÿò ïðèíòåð ïîääúðæà.\nÂúâåäåòå ÷èñëî ìåæäó 1 è %d."
PD32_PRINT_ERROR "Ïîÿâè ñå ãðåøêà ïðè ïå÷àòàíåòî."
PD32_NO_DEFAULT_PRINTER "Íå å çàäàäåí ïðèíòåð ïî ïîäðàçáèðàíå."
PD32_CANT_FIND_PRINTER "Ïðèíòåðúò íå ìîæå äà áúäå íàìåðåí."
PD32_OUT_OF_MEMORY "Íåäîñòèã íà ïàìåò."
PD32_GENERIC_ERROR "Ïîÿâè ñå ãðåøêà."
PD32_DRIVER_UNKNOWN "Unknown printer driver."
PD32_NO_DEVICES "Before you can perform printer-related tasks \
such as page setup or printing a document, you need to install a printer. \
Please install one and retry."
PD32_DRIVER_UNKNOWN "Íåïîçíàò äðàéâåð çà ïðèíòåðà."
PD32_NO_DEVICES "Ïðåäè äà ìîæåòå äà èçâúðøâàòå îïàðåöèè, \
ñâúðçàíè ñ ïå÷àò êàòî íàñòðîéêà íà ñòðàíèöàòà èëè ðàçïå÷àòâàíå íà äîêóìåíò, \
ñàìî àêî èìàòå èíñòàëèðàí ïðèíòåð. Èíñòàëèðàéòå ïðèíòåð è îïèòàéòå îòíîâî."
PD32_DEFAULT_PRINTER "Ïîäðàçáðàí ïå÷àòà÷; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Íà îïàøêàòà èìà %d äîêóìåíòà"
PD32_MARGINS_IN_INCHES "Ïîëåòà [öîëîâå]"
PD32_MARGINS_IN_MILIMETERS "Ïîëåòà [ìì]"
PD32_DEFAULT_PRINTER "Ïðèíòåð ïî ïîäðàçáèðàíå; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Èìà %d äîêóìåíòà â îïàøêàòà"
PD32_MARGINS_IN_INCHES "Ãðàíèöè [èí÷îâå]"
PD32_MARGINS_IN_MILIMETERS "Ãðàíèöè [ìì]"
PD32_MILIMETERS "ìì"
PD32_PRINTER_STATUS_READY "Ãîòîâ"
PD32_PRINTER_STATUS_PAUSED "Çàäúðæàí; "
PD32_PRINTER_STATUS_READY "Ãîòîâî"
PD32_PRINTER_STATUS_PAUSED "Ïðåóñòàíîâåíî; "
PD32_PRINTER_STATUS_ERROR "Ãðåøêà; "
PD32_PRINTER_STATUS_PENDING_DELETION "Èçòðèâàíåòî ïðåäñòîè; "
PD32_PRINTER_STATUS_PAPER_JAM "Çàñÿäàíå íà õàðòèÿ; "
PD32_PRINTER_STATUS_PAPER_OUT "Íåäîñòèê íà õàðòèÿ; "
PD32_PRINTER_STATUS_MANUAL_FEED "Ðú÷íî ëèñòîïîäàâàíå; "
PD32_PRINTER_STATUS_PAPER_PROBLEM "Çàòðóäíåíèÿ ñ õàðòèÿòà; "
PD32_PRINTER_STATUS_OFFLINE "Ïå÷àòà÷úò èçêëþ÷åí; "
PD32_PRINTER_STATUS_IO_ACTIVE "Ðàáîòåù Â/È; "
PD32_PRINTER_STATUS_PENDING_DELETION "Ïðåäñòîÿùî èçòðèâàíå; "
PD32_PRINTER_STATUS_PAPER_JAM "Çàäðúñòâàíå íà õàðòèÿòà; "
PD32_PRINTER_STATUS_PAPER_OUT "Íÿìà õàðòèÿ; "
PD32_PRINTER_STATUS_MANUAL_FEED "Ïîñòàâåòå õàðòèÿ ðú÷íî; "
PD32_PRINTER_STATUS_PAPER_PROBLEM "Ïðîáëåì ñ õàðòèÿòà; "
PD32_PRINTER_STATUS_OFFLINE "Ïðèíòåðà èçêëþ÷åí; "
PD32_PRINTER_STATUS_IO_ACTIVE "Âõîä/Èçõîä àêòèâåí; "
PD32_PRINTER_STATUS_BUSY "Çàåò; "
PD32_PRINTER_STATUS_PRINTING "Ïå÷àòà; "
PD32_PRINTER_STATUS_OUTPUT_BIN_FULL "Èçõîäíèÿò ñúäúðæàòåë å ïúëåí; "
PD32_PRINTER_STATUS_NOT_AVAILABLE "Íåäîñòúïåí; "
PD32_PRINTER_STATUS_WAITING "Èç÷àêâà; "
PD32_PRINTER_STATUS_PROCESSING "Ðàáîòè; "
PD32_PRINTER_STATUS_INITIALIZING "Ïîäãîòâà ñå; "
PD32_PRINTER_STATUS_WARMING_UP "Çàãðÿâà; "
PD32_PRINTER_STATUS_TONER_LOW "Îöâåòèòåëÿò ñâúðøâà; "
PD32_PRINTER_STATUS_NO_TONER "Íÿìà îöâåòèòåë; "
PD32_PRINTER_STATUS_PAGE_PUNT "Page punt; "
PD32_PRINTER_STATUS_PRINTING "Ïå÷àòè; "
PD32_PRINTER_STATUS_OUTPUT_BIN_FULL "Èçõîäíèÿ êîíòåéíåð å ïúëåí; "
PD32_PRINTER_STATUS_NOT_AVAILABLE "Íå å íàëè÷åí; "
PD32_PRINTER_STATUS_WAITING "Èç÷àêâàíå; "
PD32_PRINTER_STATUS_PROCESSING "Îáðàáîòêà; "
PD32_PRINTER_STATUS_INITIALIZING "Ïîäãîòîâêà; "
PD32_PRINTER_STATUS_WARMING_UP "Çàãðÿâàíå; "
PD32_PRINTER_STATUS_TONER_LOW "Òîíåðà íà ïðèâúðøâàíå; "
PD32_PRINTER_STATUS_NO_TONER "Íÿìà òîíåð; "
PD32_PRINTER_STATUS_PAGE_PUNT "Ïîäàâàíå íà õàðòèÿòà; "
PD32_PRINTER_STATUS_USER_INTERVENTION "Ïðåêúñíàòî îò ïîòðåáèòåëÿ; "
PD32_PRINTER_STATUS_OUT_OF_MEMORY "Íåäîñòèã íà ïàìåò; "
PD32_PRINTER_STATUS_DOOR_OPEN "Âðàòàòà íà ïå÷àòà÷à å îòâîðåíà; "
PD32_PRINTER_STATUS_SERVER_UNKNOWN "Íåèçâåñòåí ïå÷àòîâ ñúðâúð; "
PD32_PRINTER_STATUS_POWER_SAVE "Åíåðãîñïåñòÿâàùî ñúñòîÿíèå; "
PD32_PRINTER_STATUS_DOOR_OPEN "Êàïàêà íà ïðèíòåðà å îòâîðåí; "
PD32_PRINTER_STATUS_SERVER_UNKNOWN "Íåèçâåñòåí ïðèíòåð ñúðâúð; "
PD32_PRINTER_STATUS_POWER_SAVE "Ðåæèì íà ïåñòåíå íà åíåðãèÿ; "
}
STRINGTABLE DISCARDABLE /* Color names */
{
IDS_COLOR_BLACK "×åðåí"
IDS_COLOR_MAROON "×åðâåíî- êàôÿâ"
IDS_COLOR_BLACK "×åðíî"
IDS_COLOR_MAROON "Øàòåí" /* Maroon? ×åðâåíèêàâî êàôÿâ? */
IDS_COLOR_GREEN "Çåëåí"
IDS_COLOR_OLIVE "Ìàñëèíåí"
IDS_COLOR_NAVY "Ìîðñêî ñèí"
IDS_COLOR_PURPLE "Ëèëàâ"
/* IDS_COLOR_TEAL "Teal"*/
IDS_COLOR_TEAL "Ïàòëàäæàíåí"
IDS_COLOR_NAVY "Òúìíîñèí"
IDS_COLOR_PURPLE "Ìîðàâ"
IDS_COLOR_TEAL "Ñèíüîçåëåí"
IDS_COLOR_GRAY "Ñèâ"
IDS_COLOR_SILVER "Ñðåáðèñò"
IDS_COLOR_SILVER "Ñðåáúðåí"
IDS_COLOR_RED "×åðâåí"
/* IDS_COLOR_LIME "Lime" */
IDS_COLOR_LIME "Âàðîâ"
IDS_COLOR_LIME "Æúëòîçåëåí" /* Áÿõ ãî êðúñòèë Ëèìîíåí, íî ìè óáèõà äåòñêèòå ìå÷òè, ëèìîíà íå áèë æúëòîçåëåí */
IDS_COLOR_YELLOW "Æúëò"
IDS_COLOR_BLUE "Ñèí"
IDS_COLOR_FUCHSIA "Fuchsia"
IDS_COLOR_AQUA "Ñèíüîçåëåí"
IDS_COLOR_WHITE "Áÿë"
IDS_COLOR_FUCHSIA "Ïóðïóðåí" /* Áàõ'ìààìó */
IDS_COLOR_AQUA "Àêâàìàðèí" /* Çåëåíîñèí */
IDS_COLOR_WHITE "Áÿëî"
}
STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "Èçåðåòå ðàçìåð íà øðèôòà ìåæäó %d è %d òî÷êè."
IDS_SAVE_BUTTON "&Çàïèñ"
IDS_SAVE_IN "Çàïèñ &â:"
IDS_SAVE "Çàïèñ"
IDS_SAVE_AS "Çàïèñ êàòî"
IDS_OPEN_FILE "Îòâàðÿíå íà ôàéë"
IDS_FONT_SIZE "Èçáåðåòå ðàçìåð íà øðèôòà ìåæäó %d è %d ïóíêòà."
IDS_SAVE_BUTTON "&Ñúõðàíè"
IDS_SAVE_IN "Ñúõðàíè &â:"
IDS_SAVE "Ñúõðàíè"
IDS_SAVE_AS "Ñúõðàíè êàòî"
IDS_OPEN_FILE "Îòâîðè ôàéë"
}

View file

@ -156,17 +156,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "Colors person&alitzats:", 1089, 4, 106, 140, 10
LTEXT "Color Sòl&id", 1090, 150, 151, 48, 10
LTEXT "&Roig:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Verd:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Bla&u:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Tint:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sat.:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Llum.:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -156,17 +156,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Selvvalgte farver:", 1089, 4, 106, 140, 10
LTEXT "&Ensfarvet", 1090, 150, 151, 48, 10
LTEXT "&Rød:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Grøn:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Blå:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Intensitet:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Farvemætning:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lysstyrke:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -187,17 +187,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "Selbs&tdefinierte Farben:", 1089, 4, 106, 140, 10
LTEXT "Farbe | B&asis", 1090, 150, 151, 48, 10
LTEXT "&Rot:", 726 ,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Grün:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Blau:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Farbe:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sätt:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "H&ell:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -389,7 +389,7 @@ STRINGTABLE DISCARDABLE
PD32_VALUE_UREADABLE "Entrada ilegible"
PD32_INVALID_PAGE_RANGE "Este valor no concuerda con el rango de la \
página.\n Por favor, introduzca un valor entre %d y %d."
página.\n\ Por favor, introduzca un valor entre %d y %d."
PD32_FROM_NOT_ABOVE_TO "La entrada 'desde' no puede exceder \
a la entrada 'hasta'."
PD32_MARGINS_OVERLAP "Los márgenes se superponen o quedan \

View file

@ -157,17 +157,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Muokatut värit:", 1089, 4, 106, 140, 10
LTEXT "Väri|&Tasainen", 1090, 150, 151, 48, 10
LTEXT "&Pun:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Vihr:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Si&n:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sävy:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Kyll:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "K&irkk:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -160,17 +160,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Couleurs personnalisées:", 1089, 4, 106, 140, 10
LTEXT "Couleur | &Uni", 1090, 150, 151, 48, 10
LTEXT "&Rouge:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Vert:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Bl&eu:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Teinte:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sat.:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum.:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -155,17 +155,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Egyedi színek:", 1089, 4, 106, 140, 10
LTEXT "Szín | &Tömör", 1090, 150, 151, 48, 10
LTEXT "&Vörös:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Zöld:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Kék:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Hue:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sat:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -158,17 +158,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "Colori &Utente:", 1089, 4, 106, 140, 10
LTEXT "Colore | Sol&ido", 1090, 150, 151, 48, 10
LTEXT "&Rosso:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Verde:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Blu:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Tinta:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sat:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -156,17 +156,17 @@ FONT 9, "MS UI Gothic"
LTEXT "作成した色(&C):", 1089, 4, 106, 140, 10
LTEXT "色 |", 1090, 150, 151, 48, 10
LTEXT "赤(&R):", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "緑(&G):",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "青(&B):",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "色合い(&U):" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "鮮やかさ(&S):" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "明るさ(&L):" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -22,7 +22,7 @@
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
*/
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -37,9 +37,9 @@ FONT 9, "MS Shell Dlg"
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "파일 형식 목록(&T):", 1089, 6, 104, 90, 9
COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "드라이브(&v):", 1091, 110, 104, 92, 9
LTEXT "드라이브(&V):", 1091, 110, 104, 92, 9
COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "Open", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "열기", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "취소", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "도움말(&H)", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "읽기 전용(&R)", chx1, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
@ -59,7 +59,7 @@ FONT 9, "MS Shell Dlg"
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "파일 형식 목록(&T):", 1089, 6, 104, 90, 9
COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "드라이브(&v):", 1091, 110, 104, 92, 9
LTEXT "드라이브(&V):", 1091, 110, 104, 92, 9
COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "다른 이름으로 저장", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "취소", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
@ -77,7 +77,7 @@ FONT 9, "MS Shell Dlg"
LTEXT "", 1089, 60, 6, 150, 9
GROUPBOX "인쇄 범위", grp1, 6, 30, 160, 65, BS_GROUPBOX
RADIOBUTTON "모두(&A)", rad1, 16, 45, 60, 12
RADIOBUTTON "선택(&e)", rad2, 16, 60, 60, 12
RADIOBUTTON "선택(&E)", rad2, 16, 60, 60, 12
RADIOBUTTON "쪽(&P)", rad3, 16, 75, 60, 12
DEFPUSHBUTTON "인쇄", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "취소", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
@ -86,7 +86,7 @@ FONT 9, "MS Shell Dlg"
LTEXT "끝(&T):", 1091, 120, 80, 30, 9
LTEXT "인쇄 품질(&Q):", 1092, 6, 100, 76, 9
COMBOBOX cmb1, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
CHECKBOX "파일로 인쇄(&l)", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "파일로 인쇄(&L)", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "폭이 좁게", chx2, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
@ -105,12 +105,12 @@ FONT 9, "MS Shell Dlg"
PUSHBUTTON "취소", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "설정(&S)", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
GROUPBOX "방향", grp2, 6, 85, 100, 50, BS_GROUPBOX
RADIOBUTTON "세로(&r)", rad3, 50, 100, 40, 12
RADIOBUTTON "세로(&R)", rad3, 50, 100, 40, 12
RADIOBUTTON "가로(&L)", rad4, 50, 115, 40, 12
ICON "LANDSCAP", stc10, 10, 95, 32, 32
ICON "PORTRAIT", stc11, 10, 95, 32, 32
GROUPBOX "종이", grp3, 120, 85, 180, 50, BS_GROUPBOX
LTEXT "크기(&z)", 1089, 130, 95, 30, 9
LTEXT "크기(&Z)", 1089, 130, 95, 30, 9
LTEXT "원본(&S)", 1090, 130, 110, 30, 9
COMBOBOX cmb2, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
COMBOBOX cmb3, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
@ -125,7 +125,7 @@ FONT 9, "MS Shell Dlg"
LTEXT "글꼴(&F):",stc1 ,6,3,40,9
COMBOBOX cmb1, 6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
LTEXT "글꼴 스타일(&y):",stc2 ,108,3,44,9
LTEXT "글꼴 스타일(&Y):",stc2 ,108,3,44,9
COMBOBOX cmb2,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
LTEXT "크기(&S):",stc3,179,3,30,9
@ -136,14 +136,14 @@ FONT 9, "MS Shell Dlg"
PUSHBUTTON "더하기(&A)", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
PUSHBUTTON "도움말(&H)" , pshHelp,218,57,40,14,WS_GROUP | WS_TABSTOP
GROUPBOX "효과",grp1,6,72,84,34,WS_GROUP
CHECKBOX "취소선(&k)", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "취소선(&K)", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "밑줄(&U)", chx2, 10,94,50,10, BS_AUTOCHECKBOX
LTEXT "색상(&C):", stc4 ,6,110,30,9
COMBOBOX cmb4,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "샘플",grp2,98,72,120,36,WS_GROUP
CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "스크립트(&i):",stc7 ,98,114,40,9
LTEXT "스크립트(&I):",stc7 ,98,114,40,9
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
}
@ -156,7 +156,7 @@ FONT 9, "MS Shell Dlg"
{
LTEXT "기본 색상(&B):", 1088, 4, 4, 140, 10
LTEXT "사용자 정의 색상(&C):", 1089, 4, 106, 140, 10
LTEXT "색상 | 단색(&i)", 1090, 150, 151, 48, 10
LTEXT "색상 | 단색(&I)", 1090, 150, 151, 48, 10
LTEXT "빨강(&R):", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "녹색(&G):",727/*1095*/,249,140,24,10
@ -188,7 +188,7 @@ STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "찾기"
FONT 9, "MS Shell Dlg"
{
LTEXT "찾을 내용(&n):", -1, 4, 8, 42, 8
LTEXT "찾을 내용(&N):", -1, 4, 8, 42, 8
EDITTEXT edt1, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "단어 단위로(&W)", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "대/소문자 구분(&C)", chx2, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
@ -207,9 +207,9 @@ STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "바꾸기"
FONT 9, "MS Shell Dlg"
{
LTEXT "찾을 내용(&n):", -1, 4, 9, 48, 8
LTEXT "찾을 내용(&N):", -1, 4, 9, 48, 8
EDITTEXT edt1, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "바꿀 내용(&p):", -1, 4, 26, 48, 8
LTEXT "바꿀 내용(&P):", -1, 4, 26, 48, 8
EDITTEXT edt2, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "단어 단위로(&W)", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "대/소문자 구분(&C)", chx2, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP
@ -233,7 +233,7 @@ FONT 9, "MS Shell Dlg"
PUSHBUTTON "도움말(&H)", pshHelp, 50, 161, 48,14, WS_GROUP
GROUPBOX "프린터", grp4, 8, 4, 272,84, WS_GROUP
CONTROL "파일로 인쇄(&l)", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
CONTROL "파일로 인쇄(&L)", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
PUSHBUTTON "속성(&P)", psh2, 212, 17, 60,14, WS_GROUP
LTEXT "이름(&N):", stc6, 16, 20, 36,8
COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
@ -247,19 +247,19 @@ FONT 9, "MS Shell Dlg"
LTEXT "더미 설명", stc13, 52, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "복사본", grp2, 160, 92, 120,64, WS_GROUP
LTEXT "복사본 갯수(&c):",stc5,168,108,68,8
LTEXT "복사본 갯수(&C):",stc5,168,108,68,8
ICON "", ico3, 162,124, 76,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "정렬(&o)", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
CONTROL "정렬(&O)", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
EDITTEXT edt3, 240,106, 32,12, WS_GROUP | ES_NUMBER
GROUPBOX "인쇄 범위", grp1, 8,92, 144,64, WS_GROUP
CONTROL "모두(&A)", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
CONTROL "페이지(&g)", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
CONTROL "페이지(&G)", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
CONTROL "선택 영역(&S)", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
EDITTEXT edt1, 74,122, 26,12, WS_GROUP | ES_NUMBER
EDITTEXT edt2, 118,122, 26,12, WS_GROUP | ES_NUMBER
RTEXT "여기서부터(&f):", stc2, 52,124, 20,8
RTEXT "여기까지(&t):", stc3, 100,124, 16,8
RTEXT "여기서부터(&F):", stc2, 52,124, 20,8
RTEXT "여기까지(&T):", stc3, 100,124, 16,8
}
PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 178
@ -286,15 +286,15 @@ BEGIN
LTEXT "더미 설명", stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "종이", grp2, 8, 92, 164,56, WS_GROUP
LTEXT "크기(&z):", stc2, 16,108, 36, 8
LTEXT "크기(&Z):", stc2, 16,108, 36, 8
COMBOBOX cmb2, 52,106, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "원본(&S):", stc3, 16,128, 36, 8
COMBOBOX cmb3, 52,126, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
GROUPBOX "방향", grp1, 180, 92, 100,56, WS_GROUP
ICON "", ico1, 195,112, 18,20, WS_GROUP
CONTROL "세로(&o)", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
CONTROL "가로(&a)", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
CONTROL "세로(&O)", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
CONTROL "가로(&A)", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
END
PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
@ -314,17 +314,17 @@ BEGIN
AUTORADIOBUTTON "세로(&P)", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
AUTORADIOBUTTON "가로(&L)", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
GROUPBOX "Borders", grp4, 80, 156, 152, 56, BS_GROUPBOX
LTEXT "왼쪽(&e):", stc15, 88, 172, 21, 8
LTEXT "왼쪽(&E):", stc15, 88, 172, 21, 8
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "오른쪽(&R):", stc16, 159, 172, 27, 8
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "위(&o):", stc17, 88, 192, 21, 8
LTEXT "위(&O):", stc17, 88, 192, 21, 8
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "아래(&B):", stc18, 159, 192, 23, 8
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
DEFPUSHBUTTON "확인", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
PUSHBUTTON "취소", IDCANCEL, 126, 220, 50, 14
PUSHBUTTON "프린터(&r)...", psh3, 184, 220, 48, 14
PUSHBUTTON "프린터(&R)...", psh3, 184, 220, 48, 14
END
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
@ -332,19 +332,19 @@ STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_S
CAPTION "열기"
FONT 9, "MS Shell Dlg"
{
LTEXT "보기(&i):",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
LTEXT "보기(&I):",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
COMBOBOX IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
LTEXT "" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
LTEXT "파일 이름(&n):",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
LTEXT "파일 이름(&N):",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
LTEXT "파일 형식(&t):",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
LTEXT "파일 형식(&T):",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "읽기 전용으로 열기(&r)",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
CONTROL "읽기 전용으로 열기(&R)",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
DEFPUSHBUTTON "열기(&O)", IDOK,222,110,50,14
PUSHBUTTON "취소", IDCANCEL,222,128,50,14
@ -469,7 +469,7 @@ STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "%d 와 %d 포인트 사이에서 글꼴 크기 선택."
IDS_SAVE_BUTTON "저장(&S)"
IDS_SAVE_IN "저장(&i):"
IDS_SAVE_IN "저장(&I):"
IDS_SAVE "저장"
IDS_SAVE_AS "다른 이름으로 저장"
IDS_OPEN_FILE "파일 열기"

View file

@ -156,17 +156,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Aangepaste kleuren:", 1089, 4, 106, 140, 10
LTEXT "Kleur | &Effen", 1090, 157, 151, 48, 10
LTEXT "&Rood:", 726 /*1094*/, 256,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Groen:",727/*1095*/, 256,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Blau&w:",728 /*1096*/, 256,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Ti&nt:" ,723 /*1091*/, 196,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Intensiteit:" ,724 /*1092*/, 196,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Helderheid:" ,725 /*1093*/, 196,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
@ -219,6 +219,29 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "&Help", pshHelp , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
}
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "Openen"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Zoeken in",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
COMBOBOX IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
LTEXT "" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
LTEXT "Bestands&naam:",IDC_FILENAMESTATIC,5,112,48,8, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
LTEXT "Bestands&typen:",IDC_FILETYPESTATIC,5,128,48,8, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Openen met als kenmerk &Alleen-lezen",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
DEFPUSHBUTTON "&Openen", IDOK,222,110,50,14
PUSHBUTTON "Annuleren", IDCANCEL,222,128,50,14
PUSHBUTTON "&Help", pshHelp,222,145,50,14
}
PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
@ -260,7 +283,40 @@ FONT 8, "MS Shell Dlg"
RTEXT "&t/m:", stc3, 100,124, 16,8
}
STRINGTABLE DISCARDABLE
{
IDS_ABOUTBOX "&Info over FolderPicker"
IDS_DOCUMENTFOLDERS "Documenten Mappen"
IDS_PERSONAL "Mijn Documenten"
IDS_FAVORITES "Mijn Favorieten"
IDS_PATH "Systeem Pad"
IDS_DESKTOP "Bureaublad"
IDS_FONTS "Lettertype"
IDS_MYCOMPUTER "Deze Computer"
}
STRINGTABLE DISCARDABLE
{
IDS_SYSTEMFOLDERS "Systeem mappen"
IDS_LOCALHARDRIVES "Lokale vaste schijven"
IDS_FILENOTFOUND "Bestand niet gevonden"
IDS_VERIFYFILE "Controleer of de juiste bestandnaam is opgegeven"
IDS_CREATEFILE "Dit bestand bestaat nog niet\nWilt u het bestand aanmaken?"
IDS_OVERWRITEFILE "Bestand bestaat al.\nWilt u het vervangen?"
IDS_INVALID_FILENAME_TITLE "De naam van het pad bevat ongeldige tekens"
IDS_INVALID_FILENAME "De volgende tekens mogen niet in de bestandsnaam voorkomen:\n / : < > |"
IDS_PATHNOTEXISTING "Het pad bestaat niet"
IDS_FILENOTEXISTING "Kan het bestand niet vinden"
}
STRINGTABLE DISCARDABLE
{
IDS_UPFOLDER "Bovenliggende map"
IDS_NEWFOLDER "Nieuwe map aanmaken"
IDS_LISTVIEW "Lijst"
IDS_REPORTVIEW "Details"
IDS_TODESKTOP "Ga naar Bureaublad"
}
STRINGTABLE DISCARDABLE
{
@ -323,3 +379,33 @@ wachtrij"
PD32_PRINTER_STATUS_SERVER_UNKNOWN "Print server onbekend; "
PD32_PRINTER_STATUS_POWER_SAVE "Power safe mode; "
}
STRINGTABLE DISCARDABLE /* Color names */
{
IDS_COLOR_BLACK "Zwart"
IDS_COLOR_MAROON "Kastanjebruin"
IDS_COLOR_GREEN "Groen"
IDS_COLOR_OLIVE "Olijfgroen"
IDS_COLOR_NAVY "Marineblauw"
IDS_COLOR_PURPLE "Paars"
IDS_COLOR_TEAL "Groenblauw"
IDS_COLOR_GRAY "Grijs"
IDS_COLOR_SILVER "Zilver"
IDS_COLOR_RED "Rood"
IDS_COLOR_LIME "Lichtgroen"
IDS_COLOR_YELLOW "Geel"
IDS_COLOR_BLUE "Blauw"
IDS_COLOR_FUCHSIA "Fuchsiapaars"
IDS_COLOR_AQUA "Zeeblauw"
IDS_COLOR_WHITE "Wit"
}
STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "Selecteer een lettertype tussen %d en %d punten."
IDS_SAVE_BUTTON "&Opslaan"
IDS_SAVE_IN "Op&slaan in:"
IDS_SAVE "Opslaan"
IDS_SAVE_AS "Opslaan als"
IDS_OPEN_FILE "Open bestand"
}

View file

@ -20,7 +20,7 @@
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
*/
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -402,8 +402,7 @@ Oppgi en verdi mellom %d og %d."
PD32_GENERIC_ERROR "En feil har oppstått."
PD32_DRIVER_UNKNOWN "Ukjent skriverdriver."
PD32_NO_DEVICES "Du må installere en skriver før du \
kan gjøre skriver-relaterte oppgaver som å endre \
sideoppsettet og skrive ut et dokument. \
kan gjøre skriver-relaterte oppgaver som å endre \ sideoppsettet og skrive ut et dokument. \
Installer en og prøv på nytt."
PD32_DEFAULT_PRINTER "Standardskriver; "

View file

@ -183,22 +183,22 @@ FONT 8, "MS Shell Dlg"
}
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 62
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 285, 62
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ZnajdŸ"
FONT 8, "MS Shell Dlg"
{
LTEXT "&ZnajdŸ:", -1, 4, 8, 42, 8
EDITTEXT edt1, 35, 7, 160, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "Uwzglêdniaj tylko ca³e wyrazy", chx1, 4, 26, 120, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "&Uwzglêdniaj wielkoœæ liter", chx2, 4, 42, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
GROUPBOX "Kierunek", grp1, 127, 26, 68, 28
CONTROL "W &górê", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 131, 38, 20, 12
CONTROL "W &dó³", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 158, 38, 30, 12
EDITTEXT edt1, 35, 7, 169, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "Uwzględniaj tylko całe wyrazy", chx1, 4, 26, 110, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "&Uwzględniaj wielkość liter", chx2, 4, 42, 110, 12, BS_AUTOCHECKBOX | WS_TABSTOP
GROUPBOX "Kierunek", grp1, 118, 26, 87, 28
CONTROL "W &górę", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 122, 38, 39, 12
CONTROL "W &dół", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 166, 38, 36, 12
DEFPUSHBUTTON "&ZnajdŸ nastêpny", IDOK, 202, 5, 69, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Anuluj", IDCANCEL , 202, 23, 69, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Pomoc", pshHelp , 202, 45, 69, 14, WS_GROUP | WS_TABSTOP
DEFPUSHBUTTON "&Znajdź następny", IDOK, 211, 5, 70, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "Anuluj", IDCANCEL , 211, 23, 70, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Pomoc", pshHelp , 211, 45, 70, 14, WS_GROUP | WS_TABSTOP
}
@ -402,9 +402,9 @@ STRINGTABLE DISCARDABLE
PD32_OUT_OF_MEMORY "Za ma³o pamiêci dla tej operacji."
PD32_GENERIC_ERROR "Podczas tej operacji wyst¹pi³ b³¹d."
PD32_DRIVER_UNKNOWN "Nieznany sterownik drukarki."
PD32_NO_DEVICES "Before you can perform printer-related tasks \
such as page setup or printing a document, you need to install a printer. \
Please install one and retry."
PD32_NO_DEVICES "Zanim będzie można wykonywać czynności związane \
z drukowaniem takie jak ustawienie strony lub wydruk dokumentu należy zainstalować drukarkę. \
Po zainstalowaniu spróbuj ponownie."
PD32_DEFAULT_PRINTER "Domyœlna Drukarka; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "W kolejce znajduj¹ siê %d dokumenty"

View file

@ -1,6 +1,7 @@
/*
* Copyright 1997 Ricardo R. Massaro
* Copyright 2003 Marcelo Duarte
* Copyright 2006 Am<41>rico Jos<6F> Melo
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -21,7 +22,7 @@
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
*/
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -44,6 +45,31 @@ FONT 8, "MS Shell Dlg"
CHECKBOX "&Somente Leitura", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Abrir"
FONT 8, "MS Shell Dlg"
{
LTEXT "Nome do &Ficheiro:", 1090, 6, 6, 76, 9
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "&Directórios:", -1, 110, 6, 92, 9
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "Listar Ficheiros do &Tipo:", 1089, 6, 104, 90, 9
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "Con&troladores:", 1091, 110, 104, 92, 9
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "Abrir", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "A&juda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "&Apenas Leitura", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -66,6 +92,31 @@ FONT 8, "MS Shell Dlg"
CHECKBOX "&Somente Leitura", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Gravar Como ..."
FONT 8, "MS Shell Dlg"
{
LTEXT "Nome do &Ficheiro:", 1090, 6, 6, 76, 9
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "&Directórios:", -1, 110, 6, 92, 9
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
LTEXT "Listar Ficheiros do &Tipo:", 1089, 6, 104, 90, 9
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
LTEXT "Con&troladores:", 1091, 110, 104, 92, 9
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "Gravar &Como", IDOK, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Ajuda", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "&Apenas Leitura", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -89,6 +140,32 @@ FONT 8, "MS Shell Dlg"
CHECKBOX "C&ondensado", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Imprimir"
FONT 8, "MS Shell Dlg"
{
LTEXT "Impressora:", 1088, 6, 6, 40, 9
LTEXT "", 1089, 60, 6, 150, 9
GROUPBOX "Faixa de Impressão", 1072, 6, 30, 160, 65, BS_GROUPBOX
RADIOBUTTON "&Tudo", 1056, 16, 45, 60, 12
RADIOBUTTON "S&elecção", 1057, 16, 60, 60, 12
RADIOBUTTON "&Páginas", 1058, 16, 75, 60, 12
DEFPUSHBUTTON "Imprimir", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Configurar", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
LTEXT "&De:", 1090, 60, 80, 30, 9
LTEXT "&Até:", 1091, 120, 80, 30, 9
LTEXT "&Qualidade de Impressão:", 1092, 6, 100, 76, 9
COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
CHECKBOX "Imprimir para Ficheiro", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "C&ondensado", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -115,6 +192,35 @@ FONT 8, "MS Shell Dlg"
COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configurações de Impressão"
FONT 8, "MS Shell Dlg"
{
GROUPBOX "Impressora", 1072, 6, 10, 180, 65, BS_GROUPBOX
RADIOBUTTON "&Impressora Prdefinida", 1056, 16, 20, 80, 12
LTEXT "[none]", 1088, 35, 35, 120, 9
RADIOBUTTON "Impressora &Específica", 1057, 16, 50, 80, 12
COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Configurar", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
GROUPBOX "Orientação", 1073, 6, 85, 100, 50, BS_GROUPBOX
RADIOBUTTON "&Retrato", 1058, 50, 100, 40, 12
RADIOBUTTON "&Paisagem", 1059, 50, 115, 40, 12
ICON "LANDSCAP", 1097, 10, 95, 32, 32
ICON "PORTRAIT", 1098, 10, 95, 32, 32
GROUPBOX "Papel", 1074, 120, 85, 180, 50, BS_GROUPBOX
LTEXT "&Tamanho", 1089, 130, 95, 30, 9
LTEXT "&Fonte de Alimentação", 1090, 130, 110, 30, 9
COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -142,11 +248,47 @@ FONT 8, "MS Shell Dlg"
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Exemplo",grp2,98,72,120,36,WS_GROUP
CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "Scr&ipt (translate):",stc7 ,98,114,80,9
/* FIXME: Translate */
LTEXT "Scr&ipt:",stc7 ,98,114,80,9
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Tipo de Letra"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Tipo de Letra:",1088 ,6,3,40,9
COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
LTEXT "&Estilo do Tipo de Letra:",1089 ,108,3,50,9
COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
LTEXT "&Tamanho:",1090,179,3,30,9
COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
DEFPUSHBUTTON "OK",IDOK,218,6,40,14,WS_GROUP
PUSHBUTTON "Cancelar",IDCANCEL,218,23,40,14,WS_GROUP
PUSHBUTTON "&Aplicar", 1026,218,40,40,14,WS_GROUP
PUSHBUTTON "A&juda" , 1038,218,57,40,14,WS_GROUP
GROUPBOX "Efeitos",1072,6,72,84,34,WS_GROUP
CHECKBOX "&Riscado", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "&Sublinhado", 1041, 10,94,50,10, BS_AUTOCHECKBOX
LTEXT "&Cor:", 1091 ,6,110,30,9
COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Exemplo",grp2,98,72,120,36,WS_GROUP
CTEXT "AaBbYyZz",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "Scr&ipt:",stc7 ,98,114,80,9
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -157,17 +299,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Cores do Usuário:", 1089, 4, 106, 140, 10
LTEXT "Colorido|Sólid&o", 1090, 150, 151, 48, 10
LTEXT "Ver&melho:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Verde:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "A&zul:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Mat&iz:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Sa&t:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
@ -182,6 +324,8 @@ FONT 8, "MS Shell Dlg"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Procurar"
@ -200,6 +344,28 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "A&juda", 1038, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Procurar"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Procurar:", -1, 4, 8, 42, 8
EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "Palavra &Inteira", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "&Maisculas/minusculas", 1041, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
GROUPBOX "Direcção", 1072, 107, 26, 68, 28
CONTROL "A&cima", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
CONTROL "A&baixo", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
DEFPUSHBUTTON "&Find Next", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "A&juda", 1038, 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -220,6 +386,29 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "A&juda", pshHelp, 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Substituir"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Procurar:", -1, 4, 9, 48, 8
EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Substituir Pa&ra:", -1, 4, 26, 48, 8
EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "Palavra &inteira", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "&Maisculas/minsculas", 1041, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP
DEFPUSHBUTTON "Procurar Próxima", IDOK, 174, 4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "&Substituir", psh1, 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Substituir &Todas", psh2, 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "A&juda", pshHelp, 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
@ -261,6 +450,51 @@ FONT 8, "MS Shell Dlg"
RTEXT "&até:", stc3, 100,124, 16,8
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Imprimir"
FONT 8, "MS Shell Dlg"
{
DEFPUSHBUTTON "OK", IDOK, 180,164, 50,14, WS_GROUP | BS_DEFPUSHBUTTON
PUSHBUTTON "Cancelar", IDCANCEL, 232,164, 50,14, WS_GROUP
PUSHBUTTON "&Ajuda", pshHelp, 50, 161, 50,14, WS_GROUP
GROUPBOX "Impressora", grp4, 8, 4, 272,84, WS_GROUP
CONTROL "Imprimir em &ficheiro", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
PUSHBUTTON "Propri&edades", psh2, 212, 17, 60,14, WS_GROUP
LTEXT "&Nome:", stc6, 16, 20, 36,8
COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Estado:", stc8, 16, 36, 36,10, SS_NOPREFIX
LTEXT "Estado 'Dummy'", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Tipo:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Tipo 'Dummy'", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Onde:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Dummy Location", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Comentário:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Comentário 'Dummy'", stc13, 52, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "Cópias", grp2, 160, 92, 120,64, WS_GROUP
LTEXT "Nmero de &cópias:", stc5, 168,108, 68, 8
ICON "", ico3, 162,124, 76,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "&Agrupar", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
EDITTEXT edt3, 240,106, 32,12, WS_GROUP | ES_NUMBER
GROUPBOX "Faixa de impressão", grp1, 8,92, 144,64, WS_GROUP
CONTROL "&Todos", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
CONTROL "Páginas", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
CONTROL "Selecção", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
EDITTEXT edt1, 74,122, 26,12, WS_GROUP | ES_NUMBER
EDITTEXT edt2, 118,122, 26,12, WS_GROUP | ES_NUMBER
RTEXT "&de:", stc2, 52,124, 20,8
RTEXT "&até", stc3, 100,124, 16,8
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
DS_CONTEXTHELP | DS_3DLOOK
@ -296,6 +530,46 @@ BEGIN
CONTROL "&Paisagem", rad2, "Button", BS_AUTORADIOBUTTON, 224, 126, 52, 12
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 288, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Print Setup"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK,180,156,50,14,WS_GROUP
PUSHBUTTON "Cancelar", IDCANCEL,232,156,50,14
/* PUSHBUTTON "Rede...", psh5, 284,156,50,14 */
GROUPBOX "Impressora", grp4, 8, 4, 272, 84, WS_GROUP
PUSHBUTTON "&Propriedades", psh2, 212, 17, 60, 14, WS_GROUP
LTEXT "&Nome:", stc6, 16, 20, 36, 8
COMBOBOX cmb1, 52, 18, 152, 152, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Estado:", stc8, 16, 36, 36, 10, SS_NOPREFIX
LTEXT "EStado 'Dummy'", stc12, 52, 36, 224, 10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Tipo:", stc7, 16, 48, 36, 10, SS_NOPREFIX
LTEXT "Tipo 'Dummy'", stc11, 52, 48, 224, 10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Localização:", stc10, 16, 60, 36, 10, SS_NOPREFIX
LTEXT "Localização 'Dummy'", stc14, 52, 60, 224, 10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Comentário", stc9, 16, 72, 36, 10, SS_NOPREFIX
LTEXT "Comentário 'Dummy'", stc13, 52, 72, 224, 10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "Papel", grp2, 8, 92, 164, 56, WS_GROUP
LTEXT "&Tamanho:", stc2, 16, 108, 36, 8
COMBOBOX cmb2, 52, 106, 112, 112, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "&Origem:", stc3, 16, 128, 36, 8
COMBOBOX cmb3, 52, 126, 112, 112, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
GROUPBOX "Orientação", grp1, 180, 92, 100, 56, WS_GROUP
ICON "", ico1, 195, 112, 18, 20, WS_GROUP
CONTROL "&Retrato", rad1, "Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 224, 106, 52, 12
CONTROL "&Paisagem", rad2, "Button", BS_AUTORADIOBUTTON, 224, 126, 52, 12
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Configurações de Página"
@ -326,6 +600,41 @@ BEGIN
PUSHBUTTON "Im&pressora...", psh3, 184, 220, 50, 14
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Configurações de Página"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
CONTROL "", rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
CONTROL "", rct3, "Static", SS_GRAYRECT, 84, 88, 80, 4
GROUPBOX "Papel", grp2, 8, 96, 224, 56, BS_GROUPBOX
LTEXT "&Tamanho:", stc2, 16, 112, 36, 8
COMBOBOX cmb2, 64, 110, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
LTEXT "&Bandeja:", stc3, 16, 132, 36, 8
COMBOBOX cmb3, 64, 130, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
GROUPBOX "Orientaçao", grp1, 8, 156, 64, 56, BS_GROUPBOX
AUTORADIOBUTTON "&Retrato", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
AUTORADIOBUTTON "&Paisagem", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
GROUPBOX "Bordas", grp4, 80, 156, 152, 56, BS_GROUPBOX
LTEXT "&Esquerda:", stc15, 88, 172, 21, 8
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
LTEXT "&Direita:", stc16, 159, 172, 27, 8
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
LTEXT "&Superior:", stc17, 88, 192, 21, 8
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
LTEXT "&Inferior:", stc18, 159, 192, 23, 8
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
PUSHBUTTON "Cancelar", IDCANCEL, 126, 220, 50, 14
PUSHBUTTON "Im&pressora...", psh3, 184, 220, 50, 14
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "Abrir"
@ -350,6 +659,35 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "&Ajuda", pshHelp,222,145,50,14
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "Abrir"
FONT 8, "MS Shell Dlg"
{
LTEXT "&Examinar:",IDC_LOOKINSTATIC,5,6,31,8, SS_NOTIFY
COMBOBOX IDC_LOOKIN,40,3,134,300,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
LTEXT "" , IDC_TOOLBARSTATIC, 172, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
LTEXT "&Nome do ficheiro:",IDC_FILENAMESTATIC,5,112,48,16, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,111,155,12,ES_AUTOHSCROLL
LTEXT "Ficheiros do &tipo:",IDC_FILETYPESTATIC,5,131,48,16, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,129,155,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Abrir como &apenas- leitura",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,148,74,10
DEFPUSHBUTTON "&Abrir", IDOK,222,110,50,14
PUSHBUTTON "Cancelar", IDCANCEL,222,128,50,14
PUSHBUTTON "&Ajuda", pshHelp,222,145,50,14
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE
{
IDS_ABOUTBOX "&Sobre FolderPicker Test"
@ -362,6 +700,23 @@ STRINGTABLE DISCARDABLE
IDS_MYCOMPUTER "Meu Computador"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
IDS_ABOUTBOX "&Acerca do FolderPicker Test"
IDS_DOCUMENTFOLDERS "Pastas de Documentos"
IDS_PERSONAL "Os Meus Documentos"
IDS_FAVORITES "Favoritos"
IDS_PATH "Localização do Sistema"
IDS_DESKTOP "Área de Trabalho"
IDS_FONTS "Tipos de Letra"
IDS_MYCOMPUTER "O Meu Computador"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE
{
IDS_SYSTEMFOLDERS "Pastas do Sistema"
@ -376,6 +731,25 @@ STRINGTABLE DISCARDABLE
IDS_FILENOTEXISTING "Arquivo não existe"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
IDS_SYSTEMFOLDERS "Pastas do Sistema"
IDS_LOCALHARDRIVES "Discos Rígidos Locais"
IDS_FILENOTFOUND "Ficheiro não encontrado"
IDS_VERIFYFILE "Por favor verifique se foi fornecido o nome correcto do ficheiro"
IDS_CREATEFILE "O ficheiro não existe\nGostaria de o criar"
IDS_OVERWRITEFILE "O ficheiro já existe.\nGostaria de o substituir?"
IDS_INVALID_FILENAME_TITLE "Caracter(es) inválidos na localização"
IDS_INVALID_FILENAME "Um nome de ficheiro não pode conter quaisquer dos seguintes caracteres: \n / : < > |"
IDS_PATHNOTEXISTING "A localização não existe"
IDS_FILENOTEXISTING "O ficheiro não existe"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE
{
IDS_UPFOLDER "Um Nível Acima"
@ -385,6 +759,20 @@ STRINGTABLE DISCARDABLE
IDS_TODESKTOP "Área de Trabalho"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
IDS_UPFOLDER "Um Nível Acima"
IDS_NEWFOLDER "Criar Nova Pasta"
IDS_LISTVIEW "Lista"
IDS_REPORTVIEW "Detalhes"
IDS_TODESKTOP "Área de Trabalho"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE
{
PD32_PRINT_TITLE "Imprimir"
@ -442,6 +830,68 @@ Please install one and retry."
PD32_PRINTER_STATUS_POWER_SAVE "Modo econômico; "
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
PD32_PRINT_TITLE "Imprimir"
PD32_VALUE_UREADABLE "Entrada Ilegível"
PD32_INVALID_PAGE_RANGE "Este valor não se encaixa na faixa de páginas\n\
Por favor entre um valor entre %d e %d."
PD32_FROM_NOT_ABOVE_TO "A entrada DE não pode exceder ATÉ"
PD32_MARGINS_OVERLAP "As margens estão fora das medidas \
do papel.\nPor favor reentre as margens."
PD32_NR_OF_COPIES_EMPTY "O número de cópias não pode ter valor vazio."
PD32_TOO_LARGE_COPIES "Esta grande quantidade de cópias não é suportada \
pela sua impressora.\nPor favor entre um valor entre 1 e %d."
PD32_PRINT_ERROR "Ocorreu um erro de impressão."
PD32_NO_DEFAULT_PRINTER "Não existe uma impressora predefinida."
PD32_CANT_FIND_PRINTER "Não é possível encontrar uma impressora."
PD32_OUT_OF_MEMORY "Memória insuficiente."
PD32_GENERIC_ERROR "Ocorreu algum erro."
PD32_DRIVER_UNKNOWN "Controlador de impressora desconhecido."
PD32_NO_DEVICES "Antes de realizar tarefas relacionadas com a impressora \
tais como configuração de páginas ou imprimir um documento, precisa instalar uma impressora. \
Por favor instale uma e tente novamente."
PD32_DEFAULT_PRINTER "Impressora Prdefinida; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "Existem %d documentos na fila"
PD32_MARGINS_IN_INCHES "Margens [polegadas]"
PD32_MARGINS_IN_MILIMETERS "Margens [mm]"
PD32_MILIMETERS "mm"
PD32_PRINTER_STATUS_READY "Pronto"
PD32_PRINTER_STATUS_PAUSED "Pausada; "
PD32_PRINTER_STATUS_ERROR "Erro; "
PD32_PRINTER_STATUS_PENDING_DELETION "Exclusão pendente; "
PD32_PRINTER_STATUS_PAPER_JAM "Papel atolado; "
PD32_PRINTER_STATUS_PAPER_OUT "Sem papel; "
PD32_PRINTER_STATUS_MANUAL_FEED "Alimentação manual; "
PD32_PRINTER_STATUS_PAPER_PROBLEM "Problemas com o papel; "
PD32_PRINTER_STATUS_OFFLINE "Impressora desligada; "
PD32_PRINTER_STATUS_IO_ACTIVE "E/S Activa; "
PD32_PRINTER_STATUS_BUSY "Ocupada; "
PD32_PRINTER_STATUS_PRINTING "A imprimir; "
PD32_PRINTER_STATUS_OUTPUT_BIN_FULL "A bandeja de saida encontra-se cheia; "
PD32_PRINTER_STATUS_NOT_AVAILABLE "Não disponível; "
PD32_PRINTER_STATUS_WAITING "A esperar; "
PD32_PRINTER_STATUS_PROCESSING "A processar; "
PD32_PRINTER_STATUS_INITIALIZING "A inicializar; "
PD32_PRINTER_STATUS_WARMING_UP "A aquecer; "
PD32_PRINTER_STATUS_TONER_LOW "Pouco toner; "
PD32_PRINTER_STATUS_NO_TONER "Sem toner; "
PD32_PRINTER_STATUS_PAGE_PUNT "Lançar página; "
PD32_PRINTER_STATUS_USER_INTERVENTION "Intervenção do utilizador; "
PD32_PRINTER_STATUS_OUT_OF_MEMORY "Memória insuficiente; "
PD32_PRINTER_STATUS_DOOR_OPEN "A impressora está aberta; "
PD32_PRINTER_STATUS_SERVER_UNKNOWN "Servidor de impressão desconhecido; "
PD32_PRINTER_STATUS_POWER_SAVE "Modo económico; "
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE /* Nomes de cores */
{
IDS_COLOR_BLACK "Preto"
@ -462,6 +912,31 @@ STRINGTABLE DISCARDABLE /* Nomes de cores */
IDS_COLOR_WHITE "Branco"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE /* Nomes de cores */
{
IDS_COLOR_BLACK "Preto"
IDS_COLOR_MAROON "Castanho"
IDS_COLOR_GREEN "Verde"
IDS_COLOR_OLIVE "Verde-oliva"
IDS_COLOR_NAVY "Azul-marinho"
IDS_COLOR_PURPLE "Roxo"
IDS_COLOR_TEAL "Azul-petróleo"
IDS_COLOR_GRAY "Cinza"
IDS_COLOR_SILVER "Prateado"
IDS_COLOR_RED "Vermelho"
IDS_COLOR_LIME "Verde-lima"
IDS_COLOR_YELLOW "Amarelo"
IDS_COLOR_BLUE "Azul"
IDS_COLOR_FUCHSIA "Fcsia"
IDS_COLOR_AQUA "Azul-piscina"
IDS_COLOR_WHITE "Branco"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "Selecione o tamanho da fonte entre %d e %d pontos."
@ -471,3 +946,15 @@ STRINGTABLE DISCARDABLE
IDS_SAVE_AS "Salvar como"
IDS_OPEN_FILE "Abrir Arquivo"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "Selecione o tamanho da fonte entre %d e %d pontos."
IDS_SAVE_BUTTON "&Gravar"
IDS_SAVE_IN "Gravar &em:"
IDS_SAVE "Gravar"
IDS_SAVE_AS "Gravar como"
IDS_OPEN_FILE "Abrir Ficheiro"
}

View file

@ -141,7 +141,7 @@ FONT 8, "MS Shell Dlg"
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Îáðàçåö",grp2,98,72,120,36,WS_GROUP
CTEXT "ÀàÁáAaBb",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "Scr&ipt (translate):",stc7 ,98,114,80,9
LTEXT "Íà&áîð ñèìâîëîâ:",stc7 ,98,114,80,9
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
}
@ -156,17 +156,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "Äî&ïîëíèòåëüíûå öâåòà:", 1089, 4, 106, 140, 10
LTEXT "Öâåò|Çà&ëèâêà", 1090, 150, 151, 48, 10
LTEXT "Êðàñ&íûé:", 726 /*1094*/,254,126,32,10
EDITTEXT 706, 288,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Çåëåíûé:",727/*1095*/,254,140,32,10
EDITTEXT 707, 288,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 288,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Çåë¸íûé:",727/*1095*/,254,140,32,10
EDITTEXT 707, 288,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Ñ&èíèé:",728 /*1096*/,264,154,24,10
EDITTEXT 708, 288,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 288,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Î&òòåíîê:" ,723 /*1091*/,202,126,30,10
EDITTEXT 703, 234,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 234,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Êîíòðàñò:" ,724 /*1092*/,199,140,34,10
EDITTEXT 704, 234,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 234,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&ßðêîñòü:" ,725 /*1093*/,202,154,30,10
EDITTEXT 705, 234,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 234,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
@ -210,7 +210,7 @@ FONT 8, "MS Shell Dlg"
LTEXT "Ç&àìåíèòü íà:", -1, 4, 26, 48, 8
EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
CHECKBOX "&Òîëüêî ñëîâî öåëèêîì", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
CHECKBOX "Ñ &ó÷åòîì ðåãèñòðà", 1041, 5, 62, 104, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "Ñ &ó÷¸òîì ðåãèñòðà", 1041, 5, 62, 104, 12, BS_AUTOCHECKBOX | WS_TABSTOP
DEFPUSHBUTTON "&Íàéòè äàëåå", IDOK, 174, 4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
PUSHBUTTON "&Çàìåíèòü", psh1 , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
@ -232,22 +232,22 @@ FONT 8, "MS Shell Dlg"
GROUPBOX "Ïðèíòåð", grp4, 8, 4, 272,84, WS_GROUP
CONTROL "Ïå÷àòü â ôàé&ë", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
PUSHBUTTON "&Ñâîéñòâà", psh2, 212, 17, 60,14, WS_GROUP
LTEXT "&Èìÿ:", stc6, 16, 20, 36,8
COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Ñòàòóñ:", stc8, 16, 36, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàí", stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òèï:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàí", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ìåñòî:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàíî", stc14, 60, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ïðèìå÷àíèå:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàíî", stc13, 60, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "&Èìÿ:", stc6, 16, 20, 46,8
COMBOBOX cmb4, 64, 18, 140,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Ñòàòóñ:", stc8, 16, 36, 46,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàí", stc12, 64, 36, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òèï:", stc7, 16, 48, 46,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàí", stc11, 64, 48, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ìåñòî:", stc10, 16, 60, 46,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàíî", stc14, 64, 60, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ïðèìå÷àíèå:", stc9, 16, 72, 46,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàíî", stc13, 64, 72, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "Êîïèè", grp2, 160, 92, 120,64, WS_GROUP
LTEXT "×èñëî &êîïèé:",stc5,168,108,68,8
ICON "", ico3, 162,124, 76,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "&Ðàçáèòü", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,230,130,40,12
EDITTEXT edt3, 240,106, 32,12, WS_GROUP | ES_NUMBER
ICON "", ico3, 162,124, 60,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "&Ðàçáèòü", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,230,130,42,12
EDITTEXT edt3, 230,106, 42,12, WS_GROUP | ES_NUMBER
GROUPBOX "Ïå÷àòàòü", grp1, 8,92, 144,64, WS_GROUP
CONTROL "&Âñå", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
@ -278,7 +278,7 @@ BEGIN
LTEXT "Òèï:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàí", stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ìåñòî:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàíî", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ýìóëèðîâàíî", stc14, 52, 60, 36,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Çàìåòêè:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Ýìóëèðîâàíû", stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
@ -339,7 +339,7 @@ FONT 8, "MS Shell Dlg"
LTEXT "Èìÿ &ôàéëà:",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL
LTEXT "Ôàéëû &òèïà",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
LTEXT "&Òèï ôàéëîâ:",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Òîëüêî äëÿ &÷òåíèÿ",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10
@ -399,14 +399,14 @@ STRINGTABLE DISCARDABLE
PD32_TOO_LARGE_COPIES "Òàêîå áîëüøîå êîëè÷åñòâî êîïèé íå \
ìîæåò áûòü íàïå÷àòàíî Âàøèì ïðèíòåðîì.\nÂâåäèòå çíà÷åíèå ìåæäó 1 è %d"
PD32_PRINT_ERROR "Ïðîèçîøëà îøèáêà ïðèíòåðà"
PD32_NO_DEFAULT_PRINTER "Íåò ïðèíòåðà, óñòàîâëåííîãî ïî óìîë÷àíèþ"
PD32_NO_DEFAULT_PRINTER "Íåò ïðèíòåðà, óñòàíîâëåííîãî ïî óìîë÷àíèþ"
PD32_CANT_FIND_PRINTER "Íå óäàëîñü íàéòè ïðèíòåð"
PD32_OUT_OF_MEMORY "Ìàëî ïàìÿòè"
PD32_GENERIC_ERROR "Ïðîèçîøëà(è) îøèáêà(è)"
PD32_DRIVER_UNKNOWN "Íåèçâåñòíûé äðàéâåð ïðèíòåðà"
PD32_NO_DEVICES "Before you can perform printer-related tasks \
such as page setup or printing a document, you need to install a printer. \
Please install one and retry."
PD32_NO_DEVICES "Îòñóòñòâóþò ïðèíòåðû â ñèñòåìå. \
Ïðîâåðüòå, ÷òî õîòÿ áû îäèí ïðèíòåð óñòàíîâëåí è ñèñòåìà ïå÷àòè çàïóùåíà. \
"
PD32_DEFAULT_PRINTER "Ïðèíòåð ïî óìîë÷àíèþ; "
PD32_NR_OF_DOCUMENTS_IN_QUEUE "%d äîêóìåíòîâ â î÷åðåäè"
@ -441,3 +441,33 @@ Please install one and retry."
PD32_PRINTER_STATUS_SERVER_UNKNOWN "Íåèçâåñòíûé ñåðâåð ïðèíòåðà; "
PD32_PRINTER_STATUS_POWER_SAVE "Ïèòàíèå â áåçîïàñíîì ðåæèìå; "
}
STRINGTABLE DISCARDABLE /* Color names */
{
IDS_COLOR_BLACK "׸ðíûé"
IDS_COLOR_MAROON "Ò¸ìíî-áîðäîâûé"
IDS_COLOR_GREEN "Çåë¸íûé"
IDS_COLOR_OLIVE "Îëèâêîâûé"
IDS_COLOR_NAVY "Ò¸ìíî-ñèíèé"
IDS_COLOR_PURPLE "Ïóðïóðíûé"
IDS_COLOR_TEAL "Ìîðñêîé âîëíû"
IDS_COLOR_GRAY "Ñåðûé"
IDS_COLOR_SILVER "Ñåðåáðÿíûé"
IDS_COLOR_RED "Êðàñíûé"
IDS_COLOR_LIME "Ëèìîííûé"
IDS_COLOR_YELLOW "Ƹëòûé"
IDS_COLOR_BLUE "Ñèíèé"
IDS_COLOR_FUCHSIA "ßðêî-ðîçîâûé"
IDS_COLOR_AQUA "Ãîëóáîé"
IDS_COLOR_WHITE "Áåëûé"
}
STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "Âûáåðèòå øðèôò ðàçìåðîì %d - %d ïóíêòîâ."
IDS_SAVE_BUTTON "&Ñîõðàíèòü"
IDS_SAVE_IN "Ñîõðàíèòü &â:"
IDS_SAVE "Ñîõðàíèòü"
IDS_SAVE_AS "Ñîõðàíèòü êàê"
IDS_OPEN_FILE "Îòêðûòü ôàéë"
}

View file

@ -20,7 +20,7 @@
* WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
*/
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
@ -154,17 +154,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Egendefinerade färger:", 1089, 4, 106, 140, 10
LTEXT "Enfärgat", 1090, 150, 151, 48, 10
LTEXT "&Röd:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Grön:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Blå:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Int:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Met:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116

View file

@ -1,6 +1,5 @@
/*
* Copyright 2004 Ilya Korniyko
* Copyright 2007 Artem Reznikov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -157,17 +156,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "Ä&îäàòêîâ³ êîëüîðè:", 1089, 4, 106, 140, 10
LTEXT "Êîë³ð|Çà&ëèâêà", 1090, 150, 151, 48, 10
LTEXT "&×åðâîíèé:", 726 /*1094*/,254,126,32,10
EDITTEXT 706, 288,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 288,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Çåëåíèé:",727/*1095*/,254,140,32,10
EDITTEXT 707, 288,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 288,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "Ñ&èí³é:",728 /*1096*/,264,154,24,10
EDITTEXT 708, 288,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 288,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "³ä&ò³íîê:" ,723 /*1091*/,202,126,30,10
EDITTEXT 703, 234,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 234,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Êîíòðàñò:" ,724 /*1092*/,199,140,34,10
EDITTEXT 704, 234,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 234,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&ßñêðàâ³ñòü:" ,725 /*1093*/,202,154,30,10
EDITTEXT 705, 234,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 234,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
@ -233,22 +232,22 @@ FONT 8, "MS Shell Dlg"
GROUPBOX "Ïðèíòåð", grp4, 8, 4, 272,84, WS_GROUP
CONTROL "Äðóê ó ôàé&ë", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
PUSHBUTTON "&Âëàñòèâîñò³", psh2, 212, 17, 60,14, WS_GROUP
LTEXT "&²ì'ÿ:", stc6, 16, 20, 36,8
COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Ñòàòóñ:", stc8, 16, 36, 36,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc12, 60, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òèï:", stc7, 16, 48, 36,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc11, 60, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "̳ñöå:", stc10, 16, 60, 36,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc14, 60, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ïðèì³òêà:", stc9, 16, 72, 36,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc13, 60, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "&²ì'ÿ:", stc6, 16, 20, 46,8
COMBOBOX cmb4, 64, 18, 140,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Ñòàòóñ:", stc8, 16, 36, 46,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc12, 64, 36, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Òèï:", stc7, 16, 48, 46,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc11, 64, 48, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "̳ñöå:", stc10, 16, 60, 46,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc14, 64, 60, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
LTEXT "Ïðèì³òêà:", stc9, 16, 72, 46,10, SS_NOPREFIX
LTEXT "Åìóëüîâàíî", stc13, 64, 72, 100,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
GROUPBOX "Êîﳿ", grp2, 160, 92, 120,64, WS_GROUP
LTEXT "×èñëî &êîï³é:",stc5,168,108,68,8
ICON "", ico3, 162,124, 76,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "&Ðîçáèòè", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,230,130,40,12
EDITTEXT edt3, 240,106, 32,12, WS_GROUP | ES_NUMBER
ICON "", ico3, 162,124, 60,24, WS_GROUP | SS_CENTERIMAGE
CONTROL "&Ðîçáèòè", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,230,130,42,12
EDITTEXT edt3, 230,106, 42,12, WS_GROUP | ES_NUMBER
GROUPBOX "Äðóêóâàòè", grp1, 8,92, 144,64, WS_GROUP
CONTROL "&Âñå", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
@ -256,7 +255,7 @@ FONT 8, "MS Shell Dlg"
CONTROL "&Âèä³ëåííÿ", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
EDITTEXT edt1, 85,122, 20,12, WS_GROUP | ES_NUMBER
EDITTEXT edt2, 120,122, 20,12, WS_GROUP | ES_NUMBER
RTEXT "&â³ä:", stc2, 70,124, 10,8
RTEXT "&â³ä:", stc2, 70,124, 12,8
RTEXT "&äî:", stc3, 106,124, 10,8
}
@ -295,36 +294,6 @@ BEGIN
CONTROL "Ë&àíäøàôò", rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
END
PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Ïàðàìåòðè ñòîð³íêè"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
CONTROL "", rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
CONTROL "", rct3, "Static", SS_GRAYRECT, 84, 88, 80, 4
GROUPBOX "Ïàï³ð", grp2, 8, 96, 224, 56, BS_GROUPBOX
LTEXT "&Ðîçì³ð:", stc2, 16, 112, 36, 8
COMBOBOX cmb2, 64, 110, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
LTEXT "Ïîäà&÷à:", stc3, 16, 132, 36, 8
COMBOBOX cmb3, 64, 130, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
GROUPBOX "Îð³ºíòàö³ÿ", grp1, 8, 156, 64, 56, BS_GROUPBOX
AUTORADIOBUTTON "&Êíèæêîâà", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
AUTORADIOBUTTON "&Àëüáîìíà", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
GROUPBOX "Ïîëÿ", grp4, 80, 156, 152, 56, BS_GROUPBOX
LTEXT "&ë³âå:", stc15, 88, 172, 21, 8
EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "&ïðàâå:", stc16, 159, 172, 27, 8
EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "&âåðõíº:", stc17, 88, 192, 21, 8
EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
LTEXT "&íèæíº:", stc18, 159, 192, 23, 8
EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
DEFPUSHBUTTON "OK", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
PUSHBUTTON "Ñêàñóâàòè", IDCANCEL, 126, 220, 50, 14
PUSHBUTTON "Ïð&èíòåð...", psh3, 184, 220, 48, 14
END
NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "³äêðèòè"
@ -461,13 +430,3 @@ STRINGTABLE DISCARDABLE /* Color names */
IDS_COLOR_AQUA "Àêâàìàðèí"
IDS_COLOR_WHITE "Á³ëèé"
}
STRINGTABLE DISCARDABLE
{
IDS_FONT_SIZE "Select a font size between %d and %d points."
IDS_SAVE_BUTTON "&Save"
IDS_SAVE_IN "Save &in:"
IDS_SAVE "Save"
IDS_SAVE_AS "Save as"
IDS_OPEN_FILE "Open File"
}

View file

@ -161,17 +161,17 @@ FONT 8, "MS Shell Dlg"
LTEXT "&Coleurs da vosse:", 1089, 4, 106, 140, 10
LTEXT "Coleur | &Uni", 1090, 150, 151, 48, 10
LTEXT "&Rodje:", 726 /*1094*/,249,126,24,10
EDITTEXT 706, 275,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Vert:",727/*1095*/,249,140,24,10
EDITTEXT 707, 275,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Bleu:",728 /*1096*/,249,154,24,10
EDITTEXT 708, 275,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Tinte:" ,723 /*1091*/,202,126,22,10
EDITTEXT 703, 226,124,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Sat.:" ,724 /*1092*/,202,140,22,10
EDITTEXT 704, 226,138,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
LTEXT "&Lum.:" ,725 /*1093*/,202,154,22,10
EDITTEXT 705, 226,152,18,12, WS_BORDER | WS_GROUP | WS_TABSTOP
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116 CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116

View file

@ -23,7 +23,20 @@
sometimes, especially when 2 instances of the
dialog are loaded at the same time */
#include <precomp.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "dlgs.h"
#include "wine/debug.h"
#include "cderr.h"
#include "cdlg.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
@ -75,7 +88,7 @@ typedef struct CCPRIVATE
int capturedGraph; /* control mouse captured */
RECT focusRect; /* rectangle last focused item */
HWND hwndFocus; /* handle last focused item */
} *LCCPRIV;
} CCPRIV, *LPCCPRIV;
/***********************************************************************
* CC_HSLtoRGB [internal]
@ -193,7 +206,7 @@ int CC_RGBtoHSL(char c, int r, int g, int b)
/***********************************************************************
* CC_DrawCurrentFocusRect [internal]
*/
static void CC_DrawCurrentFocusRect( LCCPRIV lpp )
static void CC_DrawCurrentFocusRect( const CCPRIV *lpp )
{
if (lpp->hwndFocus)
{
@ -206,7 +219,7 @@ static void CC_DrawCurrentFocusRect( LCCPRIV lpp )
/***********************************************************************
* CC_DrawFocusRect [internal]
*/
static void CC_DrawFocusRect( LCCPRIV lpp, HWND hwnd, int x, int y, int rows, int cols)
static void CC_DrawFocusRect( LPCCPRIV lpp, HWND hwnd, int x, int y, int rows, int cols)
{
RECT rect;
int dx, dy;
@ -235,7 +248,7 @@ static void CC_DrawFocusRect( LCCPRIV lpp, HWND hwnd, int x, int y, int rows, in
* CC_MouseCheckPredefColorArray [internal]
* returns 1 if one of the predefined colors is clicked
*/
static int CC_MouseCheckPredefColorArray( LCCPRIV lpp, HWND hDlg, int dlgitem, int rows, int cols,
static int CC_MouseCheckPredefColorArray( LPCCPRIV lpp, HWND hDlg, int dlgitem, int rows, int cols,
LPARAM lParam )
{
HWND hwnd;
@ -269,7 +282,7 @@ static int CC_MouseCheckPredefColorArray( LCCPRIV lpp, HWND hDlg, int dlgitem, i
* CC_MouseCheckUserColorArray [internal]
* return 1 if the user clicked a color
*/
static int CC_MouseCheckUserColorArray( LCCPRIV lpp, HWND hDlg, int dlgitem, int rows, int cols,
static int CC_MouseCheckUserColorArray( LPCCPRIV lpp, HWND hDlg, int dlgitem, int rows, int cols,
LPARAM lParam )
{
HWND hwnd;
@ -450,8 +463,9 @@ void CC_PaintTriangle( HWND hDlg, int y)
int height;
int oben;
RECT rect;
HBRUSH hbr;
HWND hwnd = GetDlgItem(hDlg, 0x2be);
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
if (IsWindowVisible( GetDlgItem(hDlg, 0x2c6))) /* if full size */
{
@ -470,7 +484,9 @@ void CC_PaintTriangle( HWND hDlg, int y)
points[2].y = points[0].y - w;
points[2].x = points[1].x = points[0].x + w;
FillRect(hDC, &lpp->old3angle, (HBRUSH)GetClassLongPtrW( hwnd, GCLP_HBRBACKGROUND));
hbr = (HBRUSH)GetClassLongPtrW( hwnd, GCLP_HBRBACKGROUND);
if (!hbr) hbr = GetSysColorBrush(COLOR_BTNFACE);
FillRect(hDC, &lpp->old3angle, hbr);
lpp->old3angle.left = points[0].x;
lpp->old3angle.right = points[1].x + 1;
lpp->old3angle.top = points[2].y - 1;
@ -489,7 +505,7 @@ void CC_PaintCross( HWND hDlg, int x, int y)
HDC hDC;
int w = GetDialogBaseUnits();
HWND hwnd = GetDlgItem(hDlg, 0x2c6);
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
RECT rect;
POINT point, p;
HPEN hPen;
@ -534,7 +550,7 @@ static void CC_PrepareColorGraph( HWND hDlg )
{
int sdif, hdif, xdif, ydif, r, g, b, hue, sat;
HWND hwnd = GetDlgItem(hDlg, 0x2c6);
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
HBRUSH hbrush;
HDC hdc ;
RECT rect, client;
@ -577,7 +593,7 @@ static void CC_PrepareColorGraph( HWND hDlg )
static void CC_PaintColorGraph( HWND hDlg )
{
HWND hwnd = GetDlgItem( hDlg, 0x2c6 );
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
HDC hDC;
RECT rect;
if (IsWindowVisible(hwnd)) /* if full size */
@ -637,7 +653,7 @@ static void CC_PaintLumBar( HWND hDlg, int hue, int sat )
void CC_EditSetRGB( HWND hDlg, COLORREF cr )
{
char buffer[10];
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
int r = GetRValue(cr);
int g = GetGValue(cr);
int b = GetBValue(cr);
@ -660,7 +676,7 @@ void CC_EditSetRGB( HWND hDlg, COLORREF cr )
void CC_EditSetHSL( HWND hDlg, int h, int s, int l )
{
char buffer[10];
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
if (IsWindowVisible( GetDlgItem(hDlg, 0x2c6) )) /* if full size */
{
@ -679,10 +695,10 @@ void CC_EditSetHSL( HWND hDlg, int h, int s, int l )
/***********************************************************************
* CC_SwitchToFullSize [internal]
*/
void CC_SwitchToFullSize( HWND hDlg, COLORREF result, LPRECT lprect )
void CC_SwitchToFullSize( HWND hDlg, COLORREF result, LPCRECT lprect )
{
int i;
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
EnableWindow( GetDlgItem(hDlg, 0x2cf), FALSE);
CC_PrepareColorGraph(hDlg);
@ -718,7 +734,7 @@ static void CC_PaintPredefColorArray( HWND hDlg, int rows, int cols)
HDC hdc;
HBRUSH hBrush;
int dx, dy, i, j, k;
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
GetClientRect(hwnd, &rect);
dx = rect.right / cols;
@ -727,7 +743,9 @@ static void CC_PaintPredefColorArray( HWND hDlg, int rows, int cols)
hdc = GetDC(hwnd);
GetClientRect(hwnd, &rect);
FillRect(hdc, &rect, (HBRUSH)GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND));
hBrush = (HBRUSH)GetClassLongPtrW( hwnd, GCLP_HBRBACKGROUND);
if (!hBrush) hBrush = GetSysColorBrush(COLOR_BTNFACE);
FillRect(hdc, &rect, hBrush);
for ( j = 0; j < rows; j++ )
{
for ( i = 0; i < cols; i++ )
@ -753,14 +771,14 @@ static void CC_PaintPredefColorArray( HWND hDlg, int rows, int cols)
* CC_PaintUserColorArray [internal]
* Paint the 16 user-selected colors
*/
void CC_PaintUserColorArray( HWND hDlg, int rows, int cols, COLORREF* lpcr )
void CC_PaintUserColorArray( HWND hDlg, int rows, int cols, const COLORREF *lpcr )
{
HWND hwnd = GetDlgItem(hDlg, 0x2d1);
RECT rect;
HDC hdc;
HBRUSH hBrush;
int dx, dy, i, j, k;
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
GetClientRect(hwnd, &rect);
@ -771,7 +789,9 @@ void CC_PaintUserColorArray( HWND hDlg, int rows, int cols, COLORREF* lpcr )
hdc = GetDC(hwnd);
if (hdc)
{
FillRect(hdc, &rect, (HBRUSH)GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND) );
hBrush = (HBRUSH)GetClassLongPtrW( hwnd, GCLP_HBRBACKGROUND);
if (!hBrush) hBrush = GetSysColorBrush(COLOR_BTNFACE);
FillRect( hdc, &rect, hBrush );
for (j = 0; j < rows; j++)
{
for (i = 0; i < cols; i++)
@ -800,7 +820,7 @@ void CC_PaintUserColorArray( HWND hDlg, int rows, int cols, COLORREF* lpcr )
/***********************************************************************
* CC_HookCallChk [internal]
*/
BOOL CC_HookCallChk( LPCHOOSECOLORW lpcc )
BOOL CC_HookCallChk( const CHOOSECOLORW *lpcc )
{
if (lpcc)
if(lpcc->Flags & CC_ENABLEHOOK)
@ -819,7 +839,7 @@ static LONG CC_WMInitDialog( HWND hDlg, WPARAM wParam, LPARAM lParam )
HWND hwnd;
RECT rect;
POINT point;
LCCPRIV lpp;
LPCCPRIV lpp;
TRACE("WM_INITDIALOG lParam=%08lX\n", lParam);
lpp = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(struct CCPRIVATE) );
@ -926,8 +946,8 @@ LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode,
UINT cokmsg;
HDC hdc;
COLORREF *cr;
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
TRACE("CC_WMCommand wParam=%x lParam=%lx\n", wParam, lParam);
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
TRACE("CC_WMCommand wParam=%lx lParam=%lx\n", wParam, lParam);
switch (LOWORD(wParam))
{
case 0x2c2: /* edit notify RGB */
@ -1048,7 +1068,7 @@ LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode,
LRESULT CC_WMPaint( HWND hDlg, WPARAM wParam, LPARAM lParam )
{
PAINTSTRUCT ps;
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
BeginPaint(hDlg, &ps);
/* we have to paint dialog children except text and buttons */
@ -1069,7 +1089,7 @@ LRESULT CC_WMPaint( HWND hDlg, WPARAM wParam, LPARAM lParam )
*/
LRESULT CC_WMLButtonUp( HWND hDlg, WPARAM wParam, LPARAM lParam )
{
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
if (lpp->capturedGraph)
{
lpp->capturedGraph = 0;
@ -1085,7 +1105,7 @@ LRESULT CC_WMLButtonUp( HWND hDlg, WPARAM wParam, LPARAM lParam )
*/
LRESULT CC_WMMouseMove( HWND hDlg, LPARAM lParam )
{
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
int r, g, b;
if (lpp->capturedGraph)
@ -1123,7 +1143,7 @@ LRESULT CC_WMMouseMove( HWND hDlg, LPARAM lParam )
*/
LRESULT CC_WMLButtonDown( HWND hDlg, WPARAM wParam, LPARAM lParam )
{
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
int r, g, b, i;
i = 0;
@ -1182,7 +1202,7 @@ static INT_PTR CALLBACK ColorDlgProc( HWND hDlg, UINT message,
{
int res;
LCCPRIV lpp = (LCCPRIV) GetPropW( hDlg, szColourDialogProp );
LPCCPRIV lpp = (LPCCPRIV) GetPropW( hDlg, szColourDialogProp );
if (message != WM_INITDIALOG)
{
if (!lpp)
@ -1315,7 +1335,9 @@ BOOL WINAPI ChooseColorW( LPCHOOSECOLORW lpChCol )
BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
{
LPWSTR template_name = NULL;
BOOL ret;
LPCHOOSECOLORW lpcc = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(CHOOSECOLORW));
lpcc->lStructSize = sizeof(*lpcc);
lpcc->hwndOwner = lpChCol->hwndOwner;
@ -1328,10 +1350,11 @@ BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
if ((lpcc->Flags & CC_ENABLETEMPLATE) && (lpChCol->lpTemplateName)) {
if (HIWORD(lpChCol->lpTemplateName)) {
INT len = MultiByteToWideChar( CP_ACP, 0, lpChCol->lpTemplateName, -1, NULL, 0);
lpcc->lpTemplateName = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) );
MultiByteToWideChar( CP_ACP, 0, lpChCol->lpTemplateName, -1, (LPWSTR)lpcc->lpTemplateName, len );
template_name = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) );
MultiByteToWideChar( CP_ACP, 0, lpChCol->lpTemplateName, -1, template_name, len );
lpcc->lpTemplateName = template_name;
} else {
lpcc->lpTemplateName = (LPWSTR)lpChCol->lpTemplateName;
lpcc->lpTemplateName = (LPCWSTR)lpChCol->lpTemplateName;
}
}
@ -1339,7 +1362,7 @@ BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
if (ret)
lpChCol->rgbResult = lpcc->rgbResult;
if (HIWORD(lpcc->lpTemplateName)) HeapFree(GetProcessHeap(), 0, (LPSTR)lpcc->lpTemplateName);
HeapFree(GetProcessHeap(), 0, template_name);
HeapFree(GetProcessHeap(), 0, lpcc);
return ret;
}

View file

@ -197,7 +197,7 @@ static LRESULT CC_WMCommand16( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD not
HDC hdc;
COLORREF *cr;
LCCPRIV lpp = (LCCPRIV)GetWindowLongPtrW(hDlg, DWLP_USER);
TRACE("CC_WMCommand wParam=%x lParam=%lx\n", wParam, lParam);
TRACE("CC_WMCommand wParam=%lx lParam=%lx\n", wParam, lParam);
switch (wParam)
{
case 0x2c2: /* edit notify RGB */
@ -400,7 +400,7 @@ BOOL16 WINAPI ChooseColor16( LPCHOOSECOLOR16 lpChCol )
HANDLE16 hDlgTmpl16 = 0, hResource16 = 0;
HGLOBAL16 hGlobal16 = 0;
BOOL16 bRet = FALSE;
LPCVOID template;
LPVOID template;
FARPROC16 ptr;
TRACE("ChooseColor\n");
@ -447,7 +447,7 @@ BOOL16 WINAPI ChooseColor16( LPCHOOSECOLOR16 lpChCol )
if (!hGlobal16)
{
COMDLG32_SetCommDlgExtendedError(CDERR_MEMALLOCFAILURE);
ERR("alloc failure for %ld bytes\n", size);
ERR("alloc failure for %d bytes\n", size);
return FALSE;
}
template = GlobalLock16(hGlobal16);
@ -458,7 +458,7 @@ BOOL16 WINAPI ChooseColor16( LPCHOOSECOLOR16 lpChCol )
GlobalFree16(hGlobal16);
return FALSE;
}
ConvertDialog32To16((LPVOID)template32, size, (LPVOID)template);
ConvertDialog32To16(template32, size, template);
hDlgTmpl16 = hGlobal16;
}

View file

@ -1,34 +1,33 @@
<module name="comdlg32" type="win32dll" baseaddress="${BASEADDRESS_COMDLG32}" installbase="system32" installname="comdlg32.dll" allowwarnings="true" usewrc="false">
<module name="comdlg32" type="win32dll" baseaddress="${BASEADDRESS_COMDLG32}" installbase="system32" installname="comdlg32.dll" allowwarnings="true">
<importlibrary definition="comdlg32.spec.def" />
<include base="comdlg32">.</include>
<include base="ReactOS">include/reactos/wine</include>
<define name="__REACTOS__" />
<define name="__WINESRC__" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
<define name="WINVER">0x501</define>
<library>wine</library>
<library>uuid</library>
<library>ntdll</library>
<library>kernel32</library>
<library>advapi32</library>
<library>gdi32</library>
<library>user32</library>
<library>comctl32</library>
<library>shell32</library>
<library>shlwapi</library>
<library>comctl32</library>
<library>winspool</library>
<library>user32</library>
<library>gdi32</library>
<library>advapi32</library>
<library>kernel32</library>
<library>ntdll</library>
<library>ole32</library>
<library>uuid</library>
<file>cdlg32.c</file>
<file>colordlg.c</file>
<file>filedlg.c</file>
<file>filedlg31.c</file>
<file>filedlgbrowser.c</file>
<file>filetitle.c</file>
<file>finddlg32.c</file>
<file>fontdlg.c</file>
<file>printdlg.c</file>
<file>rsrc.rc</file>
<file>comdlg32.spec</file>
<pch>precomp.h</pch>
</module>

View file

@ -1,439 +1,310 @@
Index: colordlg.c
===================================================================
--- colordlg.c (revision 25649)
+++ colordlg.c (working copy)
@@ -23,20 +23,7 @@
sometimes, especially when 2 instances of the
dialog are loaded at the same time */
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "commdlg.h"
-#include "dlgs.h"
-#include "wine/debug.h"
-#include "cderr.h"
-#include "cdlg.h"
+#include <precomp.h>
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
Index: filedlgbrowser.c
===================================================================
--- filedlgbrowser.c (revision 25649)
+++ filedlgbrowser.c (working copy)
@@ -19,29 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
+#include <precomp.h>
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include "windef.h"
-#include "winbase.h"
-#include "winnls.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "winreg.h"
-
-#define NO_SHLWAPI_STREAM
-#include "shlwapi.h"
-#include "filedlgbrowser.h"
-#include "cdlg.h"
-#include "shlguid.h"
-#include "servprov.h"
-#include "wine/debug.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
typedef struct
Index: precomp.h
===================================================================
--- precomp.h (revision 0)
+++ precomp.h (revision 0)
@@ -0,0 +1,76 @@
+#ifndef PRECOMP_H__
+#define PRECOMP_H__
+
+#include <ctype.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <stdio.h>
+#include <string.h>
+
+#define COBJMACROS
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+#define NO_SHLWAPI_STREAM
+#define COM_NO_WINDOWS_H
+#define _COMDLG32_
+
+#if defined (_MSC_VER)
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <winuser.h>
+#include <commdlg.h>
+#include <shellapi.h>
+#include <shlguid.h>
+#include <shlobj.h>
+#include <shlwapi.h>
+#include <guiddef.h>
+#include <dlgs.h>
+#include <cderr.h>
+#endif
+
+#include "wine/windef.h"
+#include "winbase.h"
+#include "wine/wingdi.h"
+#include "wine/winuser.h"
+#include "wine/commdlg.h"
+#include "wine/shellapi.h"
+
+#if !defined (_MSC_VER)
+#include "psdk/shlguid.h"
+#include "psdk/shlobj.h"
+#endif
+
+#include "wine/shlguid.h"
+#include "wine/shlobj.h"
+
+#if !defined (_MSC_VER)
+#include "psdk/shlguid.h"
+#include "psdk/shlwapi.h"
+#include "wine/shlwapi.h"
+#endif
+
+#include "wine/winbase16.h"
+#include "wine/winuser16.h"
+#include "wine/guiddef.h"
+#include "wine/dlgs.h"
+#include "wine/debug.h"
+#include "wine/unicode.h"
+
+#include <cderr.h>
+#include <cdlg.h>
+#include <winspool.h>
+#include <winerror.h>
+#include <winnls.h>
+#include <winreg.h>
+#include <winternl.h>
+
+//local headers
+#include "cdlg.h"
+#include "printdlg.h"
+#include "filedlgbrowser.h"
+#include "cdlg.h"
+#include "servprov.h"
+#include "filedlg31.h"
+
+#endif
Property changes on: precomp.h
___________________________________________________________________
Name: svn:eol-style
+ native
Index: finddlg32.c
===================================================================
--- finddlg32.c (revision 25649)
+++ finddlg32.c (working copy)
@@ -19,23 +19,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
-#include <string.h>
-#include "windef.h"
-#include "winbase.h"
-#include "winnls.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "commdlg.h"
-#include "cderr.h"
-#include "dlgs.h"
-#include "wine/debug.h"
+#include <precomp.h>
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
-#include "cdlg.h"
-
-
/*-----------------------------------------------------------------------*/
static UINT FindReplaceMessage;
Index: cdlg.h
===================================================================
--- cdlg.h (revision 25649)
+++ cdlg.h (working copy)
@@ -21,9 +21,7 @@
#ifndef _WINE_DLL_CDLG_H
#define _WINE_DLL_CDLG_H
-#define COM_NO_WINDOWS_H
-#include "dlgs.h"
-#include "wownt32.h"
+#include <wownt32.h>
/* Common dialogs implementation globals */
#define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */
@@ -155,15 +153,6 @@
#define IDS_FAKEDOCTEXT 1300
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "winnls.h"
-#include "commctrl.h"
-#include "shlobj.h"
-#include "shellapi.h"
-
/* ITEMIDLIST */
extern LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILClone) (LPCITEMIDLIST);
Index: cdlg32.c
===================================================================
--- cdlg32.c (revision 25649)
+++ cdlg32.c (working copy)
@@ -19,21 +19,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
+#include <precomp.h>
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "commdlg.h"
-#include "cderr.h"
-#include "wine/debug.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
-#include "cdlg.h"
-
-
HINSTANCE COMDLG32_hInstance = 0;
static DWORD COMDLG32_TlsIndex = TLS_OUT_OF_INDEXES;
Index: printdlg.c
===================================================================
--- printdlg.c (revision 25649)
+++ printdlg.c (revision 25650)
@@ -20,32 +20,11 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
--- printdlg.c (revision 23123)
+++ printdlg.c (working copy)
@@ -347,7 +347,7 @@
lpdm->dmCollate =
(IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED);
if (lpdm->dmFields & DM_COPIES)
- lpdm->dmCopies = GetDlgItemInt(hDlg, edt3, NULL, FALSE);
+ lpdm->u.s.dmCopies = GetDlgItemInt(hDlg, edt3, NULL, FALSE);
} else {
if (IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED)
lppd->Flags |= PD_COLLATE;
@@ -425,7 +425,7 @@
lpdm->dmCollate =
(IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED);
if (lpdm->dmFields & DM_COPIES)
- lpdm->dmCopies = GetDlgItemInt(hDlg, edt3, NULL, FALSE);
+ lpdm->u.s.dmCopies = GetDlgItemInt(hDlg, edt3, NULL, FALSE);
} else {
if (IsDlgButtonChecked(hDlg, chx2) == BST_CHECKED)
lppd->Flags |= PD_COLLATE;
@@ -590,9 +590,9 @@
Sel, 0);
if (dm) {
if (nIDComboBox == cmb2)
- dm->u1.s1.dmPaperSize = oldWord;
+ dm->u.s.dmPaperSize = oldWord;
else
- dm->dmDefaultSource = oldWord;
+ dm->u.s.dmDefaultSource = oldWord;
}
}
else {
@@ -602,9 +602,9 @@
*/
if (dm) {
if (nIDComboBox == cmb2)
- oldWord = dm->u1.s1.dmPaperSize;
+ oldWord = dm->u.s.dmPaperSize;
else
- oldWord = dm->dmDefaultSource;
+ oldWord = dm->u.s.dmDefaultSource;
}
}
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "winspool.h"
-#include "winerror.h"
+#include <precomp.h>
@@ -700,9 +700,9 @@
Sel, 0);
if (dm) {
if (nIDComboBox == cmb2)
- dm->u1.s1.dmPaperSize = oldWord;
+ dm->u.s.dmPaperSize = oldWord;
else
- dm->dmDefaultSource = oldWord;
+ dm->u.s.dmDefaultSource = oldWord;
}
}
else {
@@ -712,9 +712,9 @@
*/
if (dm) {
if (nIDComboBox == cmb2)
- oldWord = dm->u1.s1.dmPaperSize;
+ oldWord = dm->u.s.dmPaperSize;
else
- oldWord = dm->dmDefaultSource;
+ oldWord = dm->u.s.dmDefaultSource;
}
}
-#include "wine/debug.h"
-
-#include "commdlg.h"
-#include "dlgs.h"
-#include "cderr.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
@@ -964,7 +964,7 @@
if (lppd->hDevMode == 0)
copies = lppd->nCopies;
else
- copies = lpdm->dmCopies;
+ copies = lpdm->u.s.dmCopies;
if(copies == 0) copies = 1;
else if(copies < 0) copies = MAX_COPIES;
SetDlgItemInt(hDlg, edt3, copies, FALSE);
@@ -986,7 +986,7 @@
ShowWindow(GetDlgItem(hDlg, chx1), SW_HIDE);
-#include "cdlg.h"
-#include "printdlg.h"
-
/* Yes these constants are the same, but we're just copying win98 */
#define UPDOWN_ID 0x270f
#define MAX_COPIES 9999
Index: fontdlg.c
===================================================================
--- fontdlg.c (revision 25649)
+++ fontdlg.c (working copy)
@@ -19,20 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
} else { /* PD_PRINTSETUP */
- BOOL bPortrait = (lpdm->u1.s1.dmOrientation == DMORIENT_PORTRAIT);
+ BOOL bPortrait = (lpdm->u.s.dmOrientation == DMORIENT_PORTRAIT);
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
-#include "windef.h"
-#include "winbase.h"
-#include "winnls.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "commdlg.h"
-#include "dlgs.h"
-#include "wine/debug.h"
-#include "cderr.h"
+#include <precomp.h>
PRINTDLG_SetUpPaperComboBoxA(hDlg, cmb2,
PrintStructures->lpPrinterInfo->pPrinterName,
@@ -1113,7 +1113,7 @@
if (lppd->hDevMode == 0)
copies = lppd->nCopies;
else
- copies = lpdm->dmCopies;
+ copies = lpdm->u.s.dmCopies;
if(copies == 0) copies = 1;
else if(copies < 0) copies = MAX_COPIES;
SetDlgItemInt(hDlg, edt3, copies, FALSE);
@@ -1135,7 +1135,7 @@
ShowWindow(GetDlgItem(hDlg, chx1), SW_HIDE);
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
} else { /* PD_PRINTSETUP */
- BOOL bPortrait = (lpdm->u1.s1.dmOrientation == DMORIENT_PORTRAIT);
+ BOOL bPortrait = (lpdm->u.s.dmOrientation == DMORIENT_PORTRAIT);
Index: filedlg.c
===================================================================
--- filedlg.c (revision 25649)
+++ filedlg.c (working copy)
@@ -46,40 +46,11 @@
*
*/
PRINTDLG_SetUpPaperComboBoxW(hDlg, cmb2,
PrintStructures->lpPrinterInfo->pPrinterName,
@@ -1509,7 +1509,7 @@
case rad1: /* Paperorientation */
if (lppd->Flags & PD_PRINTSETUP)
{
- lpdm->u1.s1.dmOrientation = DMORIENT_PORTRAIT;
+ lpdm->u.s.dmOrientation = DMORIENT_PORTRAIT;
SendDlgItemMessageA(hDlg, ico1, STM_SETIMAGE, (WPARAM) IMAGE_ICON,
(LPARAM)(PrintStructures->hPortraitIcon));
}
@@ -1518,7 +1518,7 @@
case rad2: /* Paperorientation */
if (lppd->Flags & PD_PRINTSETUP)
{
- lpdm->u1.s1.dmOrientation = DMORIENT_LANDSCAPE;
+ lpdm->u.s.dmOrientation = DMORIENT_LANDSCAPE;
SendDlgItemMessageA(hDlg, ico1, STM_SETIMAGE, (WPARAM) IMAGE_ICON,
(LPARAM)(PrintStructures->hLandscapeIcon));
}
@@ -1542,7 +1542,7 @@
{
DWORD Sel = SendDlgItemMessageA(hDlg, cmb2, CB_GETCURSEL, 0, 0);
if(Sel != CB_ERR)
- lpdm->u1.s1.dmPaperSize = SendDlgItemMessageA(hDlg, cmb2,
+ lpdm->u.s.dmPaperSize = SendDlgItemMessageA(hDlg, cmb2,
CB_GETITEMDATA,
Sel, 0);
}
@@ -1552,7 +1552,7 @@
{
DWORD Sel = SendDlgItemMessageA(hDlg, cmb3, CB_GETCURSEL, 0, 0);
if(Sel != CB_ERR)
- lpdm->dmDefaultSource = SendDlgItemMessageA(hDlg, cmb3,
+ lpdm->u.s.dmDefaultSource = SendDlgItemMessageA(hDlg, cmb3,
CB_GETITEMDATA, Sel,
0);
}
@@ -1563,8 +1563,8 @@
case rad1: /* orientation */
case rad2:
if (IsDlgButtonChecked(hDlg, rad1) == BST_CHECKED) {
- if(lpdm->u1.s1.dmOrientation != DMORIENT_PORTRAIT) {
- lpdm->u1.s1.dmOrientation = DMORIENT_PORTRAIT;
+ if(lpdm->u.s.dmOrientation != DMORIENT_PORTRAIT) {
+ lpdm->u.s.dmOrientation = DMORIENT_PORTRAIT;
SendDlgItemMessageA(hDlg, stc10, STM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)PrintStructures->hPortraitIcon);
@@ -1573,8 +1573,8 @@
(LPARAM)PrintStructures->hPortraitIcon);
}
} else {
- if(lpdm->u1.s1.dmOrientation != DMORIENT_LANDSCAPE) {
- lpdm->u1.s1.dmOrientation = DMORIENT_LANDSCAPE;
+ if(lpdm->u.s.dmOrientation != DMORIENT_LANDSCAPE) {
+ lpdm->u.s.dmOrientation = DMORIENT_LANDSCAPE;
SendDlgItemMessageA(hDlg, stc10, STM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)PrintStructures->hLandscapeIcon);
@@ -1673,7 +1673,7 @@
case rad1: /* Paperorientation */
if (lppd->Flags & PD_PRINTSETUP)
{
- lpdm->u1.s1.dmOrientation = DMORIENT_PORTRAIT;
+ lpdm->u.s.dmOrientation = DMORIENT_PORTRAIT;
SendDlgItemMessageW(hDlg, ico1, STM_SETIMAGE, (WPARAM) IMAGE_ICON,
(LPARAM)(PrintStructures->hPortraitIcon));
}
@@ -1682,7 +1682,7 @@
case rad2: /* Paperorientation */
if (lppd->Flags & PD_PRINTSETUP)
{
- lpdm->u1.s1.dmOrientation = DMORIENT_LANDSCAPE;
+ lpdm->u.s.dmOrientation = DMORIENT_LANDSCAPE;
SendDlgItemMessageW(hDlg, ico1, STM_SETIMAGE, (WPARAM) IMAGE_ICON,
(LPARAM)(PrintStructures->hLandscapeIcon));
}
@@ -1706,7 +1706,7 @@
{
DWORD Sel = SendDlgItemMessageW(hDlg, cmb2, CB_GETCURSEL, 0, 0);
if(Sel != CB_ERR)
- lpdm->u1.s1.dmPaperSize = SendDlgItemMessageW(hDlg, cmb2,
+ lpdm->u.s.dmPaperSize = SendDlgItemMessageW(hDlg, cmb2,
CB_GETITEMDATA,
Sel, 0);
}
@@ -1716,7 +1716,7 @@
{
DWORD Sel = SendDlgItemMessageW(hDlg, cmb3, CB_GETCURSEL, 0, 0);
if(Sel != CB_ERR)
- lpdm->dmDefaultSource = SendDlgItemMessageW(hDlg, cmb3,
+ lpdm->u.s.dmDefaultSource = SendDlgItemMessageW(hDlg, cmb3,
CB_GETITEMDATA, Sel,
0);
}
@@ -1727,8 +1727,8 @@
case rad1: /* orientation */
case rad2:
if (IsDlgButtonChecked(hDlg, rad1) == BST_CHECKED) {
- if(lpdm->u1.s1.dmOrientation != DMORIENT_PORTRAIT) {
- lpdm->u1.s1.dmOrientation = DMORIENT_PORTRAIT;
+ if(lpdm->u.s.dmOrientation != DMORIENT_PORTRAIT) {
+ lpdm->u.s.dmOrientation = DMORIENT_PORTRAIT;
SendDlgItemMessageW(hDlg, stc10, STM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)PrintStructures->hPortraitIcon);
@@ -1737,8 +1737,8 @@
(LPARAM)PrintStructures->hPortraitIcon);
}
} else {
- if(lpdm->u1.s1.dmOrientation != DMORIENT_LANDSCAPE) {
- lpdm->u1.s1.dmOrientation = DMORIENT_LANDSCAPE;
+ if(lpdm->u.s.dmOrientation != DMORIENT_LANDSCAPE) {
+ lpdm->u.s.dmOrientation = DMORIENT_LANDSCAPE;
SendDlgItemMessageW(hDlg, stc10, STM_SETIMAGE,
(WPARAM)IMAGE_ICON,
(LPARAM)PrintStructures->hLandscapeIcon);
@@ -2499,15 +2499,15 @@
-#include "config.h"
-#include "wine/port.h"
+//#include "config.h"
+//#include "wine/port.h"
/* Save paper orientation into device context */
if(pda->curdlg.ptPaperSize.x > pda->curdlg.ptPaperSize.y)
- dm->u1.s1.dmOrientation = DMORIENT_LANDSCAPE;
+ dm->u.s.dmOrientation = DMORIENT_LANDSCAPE;
else
- dm->u1.s1.dmOrientation = DMORIENT_PORTRAIT;
+ dm->u.s.dmOrientation = DMORIENT_PORTRAIT;
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
+#include <precomp.h>
/* Save paper size into the device context */
paperword = SendDlgItemMessageA(hDlg,cmb2,CB_GETITEMDATA,
SendDlgItemMessageA(hDlg, cmb2, CB_GETCURSEL, 0, 0), 0);
if (paperword != CB_ERR)
- dm->u1.s1.dmPaperSize = paperword;
+ dm->u.s.dmPaperSize = paperword;
else
FIXME("could not get dialog text for papersize cmbbox?\n");
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include "windef.h"
-#include "winbase.h"
-#include "winreg.h"
-#include "winternl.h"
-#include "winnls.h"
-#include "wine/unicode.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "winreg.h"
-#include "commdlg.h"
-#include "dlgs.h"
-#include "cdlg.h"
-#include "filedlg31.h"
-#include "wine/debug.h"
-#include "cderr.h"
-#include "shellapi.h"
-#include "shlguid.h"
-#include "shlobj.h"
-#include "filedlgbrowser.h"
-#include "shlwapi.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
#define UNIMPLEMENTED_FLAGS \
Index: comdlg32.rbuild
===================================================================
--- comdlg32.rbuild (revision 25649)
+++ comdlg32.rbuild (working copy)
@@ -30,4 +30,5 @@
<file>printdlg.c</file>
<file>rsrc.rc</file>
<file>comdlg32.spec</file>
+ <pch>precomp.h</pch>
</module>
Index: filedlg31.c
===================================================================
--- filedlg31.c (revision 25649)
+++ filedlg31.c (working copy)
@@ -18,33 +18,11 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <ctype.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <string.h>
-#include "windef.h"
-#include "winbase.h"
-#include "winnls.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "wine/unicode.h"
-#include "wine/debug.h"
-#include "cderr.h"
-#include "winreg.h"
-#include "winternl.h"
-#include "winuser.h"
-#include "commdlg.h"
-#include "cderr.h"
-#include "winreg.h"
-#include "winternl.h"
-#include "shlwapi.h"
+#include <precomp.h>
+
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
-#include "cdlg.h"
-#include "filedlg31.h"
-
#define BUFFILE 512
#define BUFFILEALLOC 512 * sizeof(WCHAR)
Index: filetitle.c
===================================================================
--- filetitle.c (revision 25649)
+++ filetitle.c (working copy)
@@ -19,22 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
-#include <string.h>
+#include <precomp.h>
-#include "windef.h"
-#include "winbase.h"
-#include "winnls.h"
-#include "winreg.h"
-#include "winternl.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "commdlg.h"
-#include "cdlg.h"
-#include "cdlg16.h"
-#include "wine/unicode.h"
-#include "wine/debug.h"
-
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
/***********************************************************************
@@ -49,11 +35,11 @@
LPWSTR lpWTitle;
RtlCreateUnicodeStringFromAsciiz(&strWFile, lpFile);
- lpWTitle = RtlAllocateHeap( GetProcessHeap(), 0, cbBuf*sizeof(WCHAR));
+ lpWTitle = HeapAlloc( GetProcessHeap(), 0, cbBuf*sizeof(WCHAR));
ret = GetFileTitleW(strWFile.Buffer, lpWTitle, cbBuf);
if (!ret) WideCharToMultiByte( CP_ACP, 0, lpWTitle, -1, lpTitle, cbBuf, NULL, NULL );
RtlFreeUnicodeString( &strWFile );
- RtlFreeHeap( GetProcessHeap(), 0, lpWTitle );
+ HeapFree( GetProcessHeap(), 0, lpWTitle );
return ret;
}
@@ -2515,7 +2515,7 @@
paperword = SendDlgItemMessageA(hDlg,cmb1,CB_GETITEMDATA,
SendDlgItemMessageA(hDlg, cmb1, CB_GETCURSEL, 0, 0), 0);
if (paperword != CB_ERR)
- dm->dmDefaultSource = paperword;
+ dm->u.s.dmDefaultSource = paperword;
else
FIXME("could not get dialog text for papersize cmbbox?\n");
@@ -2809,7 +2809,7 @@
case cmb3:
if(msg == CBN_SELCHANGE){
DEVMODEA *dm = GlobalLock(pda->pdlg.hDevMode);
- dm->dmDefaultSource = SendDlgItemMessageA(hDlg, cmb3,CB_GETITEMDATA,
+ dm->u.s.dmDefaultSource = SendDlgItemMessageA(hDlg, cmb3,CB_GETITEMDATA,
SendDlgItemMessageA(hDlg, cmb3, CB_GETCURSEL, 0, 0), 0);
GlobalUnlock(pda->pdlg.hDevMode);
}
@@ -2832,10 +2832,10 @@
DM_IN_BUFFER | DM_OUT_BUFFER | DM_IN_PROMPT);
ClosePrinter(hPrinter);
/* Changing paper */
- PRINTDLG_PaperSizeA(&(pda->pdlg), dm->u1.s1.dmPaperSize, &(pda->curdlg.ptPaperSize));
+ PRINTDLG_PaperSizeA(&(pda->pdlg), dm->u.s.dmPaperSize, &(pda->curdlg.ptPaperSize));
pda->curdlg.ptPaperSize.x = _c_10mm2size(pda->dlga, pda->curdlg.ptPaperSize.x);
pda->curdlg.ptPaperSize.y = _c_10mm2size(pda->dlga, pda->curdlg.ptPaperSize.y);
- if (dm->u1.s1.dmOrientation == DMORIENT_LANDSCAPE){
+ if (dm->u.s.dmOrientation == DMORIENT_LANDSCAPE){
DWORD tmp = pda->curdlg.ptPaperSize.x;
pda->curdlg.ptPaperSize.x = pda->curdlg.ptPaperSize.y;
pda->curdlg.ptPaperSize.y = tmp;
@@ -2849,7 +2849,7 @@
count = SendDlgItemMessageA(hDlg, cmb2, CB_GETCOUNT, 0, 0);
if(count != CB_ERR){
for(i=0; i<count; ++i){
- if(SendDlgItemMessageA(hDlg, cmb2, CB_GETITEMDATA, i, 0) == dm->u1.s1.dmPaperSize) {
+ if(SendDlgItemMessageA(hDlg, cmb2, CB_GETITEMDATA, i, 0) == dm->u.s.dmPaperSize) {
SendDlgItemMessageA(hDlg, cmb2, CB_SETCURSEL, i, 0);
break;
}
@@ -3153,7 +3153,7 @@
}
/* Set orientation radiobutton properly */
dm = GlobalLock(pda->dlga->hDevMode);
- if (dm->u1.s1.dmOrientation == DMORIENT_LANDSCAPE)
+ if (dm->u.s.dmOrientation == DMORIENT_LANDSCAPE)
CheckRadioButton(hDlg, rad1, rad2, rad2);
else /* this is default if papersize is not set */
CheckRadioButton(hDlg, rad1, rad2, rad1);
@@ -3198,8 +3198,8 @@
PRINTDLG_PS_ChangePrinterA(hDlg, pda);
dm = GlobalLock(pda->pdlg.hDevMode);
if(dm){
- dm->dmDefaultSource = 15; /*FIXME: Automatic select. Does it always 15 at start? */
- PRINTDLG_PaperSizeA(&(pda->pdlg), dm->u1.s1.dmPaperSize, &pda->curdlg.ptPaperSize);
+ dm->u.s.dmDefaultSource = 15; /*FIXME: Automatic select. Does it always 15 at start? */
+ PRINTDLG_PaperSizeA(&(pda->pdlg), dm->u.s.dmPaperSize, &pda->curdlg.ptPaperSize);
GlobalUnlock(pda->pdlg.hDevMode);
pda->curdlg.ptPaperSize.x = _c_10mm2size(pda->dlga, pda->curdlg.ptPaperSize.x);
pda->curdlg.ptPaperSize.y = _c_10mm2size(pda->dlga, pda->curdlg.ptPaperSize.y);
@@ -3401,7 +3401,7 @@
DEVMODEA *dm;
dm = GlobalLock(pdlg.hDevMode);
- PRINTDLG_PaperSizeA(&pdlg, dm->u1.s1.dmPaperSize, &setupdlg->ptPaperSize);
+ PRINTDLG_PaperSizeA(&pdlg, dm->u.s.dmPaperSize, &setupdlg->ptPaperSize);
GlobalUnlock(pdlg.hDevMode);
setupdlg->ptPaperSize.x=_c_10mm2size(setupdlg,setupdlg->ptPaperSize.x);
setupdlg->ptPaperSize.y=_c_10mm2size(setupdlg,setupdlg->ptPaperSize.y);

File diff suppressed because it is too large Load diff

View file

@ -46,7 +46,7 @@ typedef struct tagFD16_PRIVATE
* FD16_MapOfnStruct16 [internal]
* map a 16 bits structure to an Unicode one
*/
static void FD16_MapOfnStruct16(LPOPENFILENAME16 ofn16, LPOPENFILENAMEW ofnW, BOOL open)
static void FD16_MapOfnStruct16(const OPENFILENAME16 *ofn16, LPOPENFILENAMEW ofnW, BOOL open)
{
OPENFILENAMEA ofnA;
/* first convert to linear pointers */
@ -85,11 +85,11 @@ static void FD16_MapOfnStruct16(LPOPENFILENAME16 ofn16, LPOPENFILENAMEW ofnW, BO
* by a 16 bits application
*
*/
static BOOL FD16_GetTemplate(PFD31_DATA lfs)
static BOOL FD16_GetTemplate(const FD31_DATA *lfs)
{
PFD16_PRIVATE priv = (PFD16_PRIVATE) lfs->private1632;
LPOPENFILENAME16 ofn16 = priv->ofn16;
LPCVOID template;
LPVOID template;
HGLOBAL16 hGlobal16 = 0;
if (ofn16->Flags & OFN_ENABLETEMPLATEHANDLE)
@ -135,7 +135,7 @@ static BOOL FD16_GetTemplate(PFD31_DATA lfs)
if (!hGlobal16)
{
COMDLG32_SetCommDlgExtendedError(CDERR_MEMALLOCFAILURE);
ERR("alloc failure for %ld bytes\n", size);
ERR("alloc failure for %d bytes\n", size);
return FALSE;
}
template = GlobalLock16(hGlobal16);
@ -146,7 +146,7 @@ static BOOL FD16_GetTemplate(PFD31_DATA lfs)
GlobalFree16(hGlobal16);
return FALSE;
}
ConvertDialog32To16((LPVOID)template32, size, (LPVOID)template);
ConvertDialog32To16(template32, size, template);
priv->hDlgTmpl16 = hGlobal16;
priv->hGlobal16 = hGlobal16;
}
@ -183,7 +183,7 @@ static BOOL CALLBACK FD16_Init(LPARAM lParam, PFD31_DATA lfs, DWORD data)
*
* called from the common 16/32 code to call the appropriate hook
*/
static BOOL CALLBACK FD16_CallWindowProc(PFD31_DATA lfs, UINT wMsg, WPARAM wParam,
static BOOL CALLBACK FD16_CallWindowProc(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
LPARAM lParam)
{
PFD16_PRIVATE priv = (PFD16_PRIVATE) lfs->private1632;
@ -202,7 +202,7 @@ static BOOL CALLBACK FD16_CallWindowProc(PFD31_DATA lfs, UINT wMsg, WPARAM wPara
* FD31_UpdateResult [internal]
* update the real client structures
*/
static void CALLBACK FD16_UpdateResult(PFD31_DATA lfs)
static void CALLBACK FD16_UpdateResult(const FD31_DATA *lfs)
{
PFD16_PRIVATE priv = (PFD16_PRIVATE) lfs->private1632;
LPOPENFILENAMEW ofnW = lfs->ofnW;
@ -238,7 +238,7 @@ static void CALLBACK FD16_UpdateResult(PFD31_DATA lfs)
* FD16_UpdateFileTitle [internal]
* update the real client structures
*/
static void CALLBACK FD16_UpdateFileTitle(PFD31_DATA lfs)
static void CALLBACK FD16_UpdateFileTitle(const FD31_DATA *lfs)
{
PFD16_PRIVATE priv = (PFD16_PRIVATE) lfs->private1632;
LPOPENFILENAMEW ofnW = lfs->ofnW;
@ -257,7 +257,7 @@ static void CALLBACK FD16_UpdateFileTitle(PFD31_DATA lfs)
* FD16_SendLbGetCurSel [internal]
* retrieve selected listbox item
*/
static LRESULT CALLBACK FD16_SendLbGetCurSel(PFD31_DATA lfs)
static LRESULT CALLBACK FD16_SendLbGetCurSel(const FD31_DATA *lfs)
{
return SendDlgItemMessageW(lfs->hwnd, lst1, LB_GETCURSEL16, 0, 0);
}
@ -267,7 +267,7 @@ static LRESULT CALLBACK FD16_SendLbGetCurSel(PFD31_DATA lfs)
* FD16_Destroy [internal]
* called from the common 16/32 code to cleanup 32 bit data
*/
static void CALLBACK FD16_Destroy(PFD31_DATA lfs)
static void CALLBACK FD16_Destroy(const FD31_DATA *lfs)
{
PFD16_PRIVATE priv = (PFD16_PRIVATE) lfs->private1632;
@ -299,7 +299,7 @@ static void FD16_SetupCallbacks(PFD31_CALLBACKS callbacks)
* FD16_MapDrawItemStruct [internal]
* map a 16 bits drawitem struct to 32
*/
static void FD16_MapDrawItemStruct(LPDRAWITEMSTRUCT16 lpdis16, LPDRAWITEMSTRUCT lpdis)
static void FD16_MapDrawItemStruct(const DRAWITEMSTRUCT16 *lpdis16, LPDRAWITEMSTRUCT lpdis)
{
lpdis->CtlType = lpdis16->CtlType;
lpdis->CtlID = lpdis16->CtlID;
@ -513,3 +513,12 @@ BOOL16 WINAPI GetSaveFileName16(
TRACE("return lpstrFile='%s' !\n", (char *)MapSL(lpofn->lpstrFile));
return bRet;
}
/***********************************************************************
* GetFileTitle (COMMDLG.27)
*/
short WINAPI GetFileTitle16(LPCSTR lpFile, LPSTR lpTitle, UINT16 cbBuf)
{
return GetFileTitleA(lpFile, lpTitle, cbBuf);
}

View file

@ -18,11 +18,28 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <precomp.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "winreg.h"
#include "winternl.h"
#include "commdlg.h"
#include "shlwapi.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
#include "cdlg.h"
#include "filedlg31.h"
#define BUFFILE 512
#define BUFFILEALLOC 512 * sizeof(WCHAR)
@ -89,7 +106,7 @@ static void FD31_StripEditControl(HWND hwnd)
*
* Call the appropriate hook
*/
BOOL FD31_CallWindowProc(PFD31_DATA lfs, UINT wMsg, WPARAM wParam,
BOOL FD31_CallWindowProc(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
LPARAM lParam)
{
return lfs->callbacks->CWP(lfs, wMsg, wParam, lParam);
@ -98,7 +115,7 @@ BOOL FD31_CallWindowProc(PFD31_DATA lfs, UINT wMsg, WPARAM wParam,
/***********************************************************************
* FD31_ScanDir [internal]
*/
static BOOL FD31_ScanDir(HWND hWnd, LPWSTR newPath)
static BOOL FD31_ScanDir(HWND hWnd, LPCWSTR newPath)
{
WCHAR buffer[BUFFILE];
HWND hdlg, hdlgDir;
@ -149,7 +166,7 @@ static BOOL FD31_ScanDir(HWND hWnd, LPWSTR newPath)
* FD31_GetFileType [internal]
*/
static LPWSTR FD31_GetFileType(LPWSTR cfptr, LPWSTR fptr, WORD index)
static LPCWSTR FD31_GetFileType(LPCWSTR cfptr, LPCWSTR fptr, const WORD index)
{
int n, i;
i = 0;
@ -169,14 +186,14 @@ static LPWSTR FD31_GetFileType(LPWSTR cfptr, LPWSTR fptr, WORD index)
return fptr;
fptr += lstrlenW(fptr) + 1;
}
return (LPWSTR) FILE_star; /* FIXME */
return FILE_star; /* FIXME */
}
/***********************************************************************
* FD31_WMDrawItem [internal]
*/
LONG FD31_WMDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam,
int savedlg, LPDRAWITEMSTRUCT lpdis)
int savedlg, const DRAWITEMSTRUCT *lpdis)
{
WCHAR *str;
HICON hIcon;
@ -281,7 +298,7 @@ LONG FD31_WMDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam,
* FD31_UpdateResult [internal]
* update the displayed file name (with path)
*/
static void FD31_UpdateResult(PFD31_DATA lfs, WCHAR *tmpstr)
static void FD31_UpdateResult(const FD31_DATA *lfs, const WCHAR *tmpstr)
{
int lenstr2;
LPOPENFILENAMEW ofnW = lfs->ofnW;
@ -319,7 +336,7 @@ static void FD31_UpdateResult(PFD31_DATA lfs, WCHAR *tmpstr)
* FD31_UpdateFileTitle [internal]
* update the displayed file name (without path)
*/
static void FD31_UpdateFileTitle(PFD31_DATA lfs)
static void FD31_UpdateFileTitle(const FD31_DATA *lfs)
{
LONG lRet;
LPOPENFILENAMEW ofnW = lfs->ofnW;
@ -335,7 +352,7 @@ static void FD31_UpdateFileTitle(PFD31_DATA lfs)
/***********************************************************************
* FD31_DirListDblClick [internal]
*/
static LRESULT FD31_DirListDblClick( PFD31_DATA lfs )
static LRESULT FD31_DirListDblClick( const FD31_DATA *lfs )
{
LONG lRet;
HWND hWnd = lfs->hwnd;
@ -373,7 +390,7 @@ static LRESULT FD31_DirListDblClick( PFD31_DATA lfs )
* FD31_FileListSelect [internal]
* called when a new item is picked in the file list
*/
static LRESULT FD31_FileListSelect( PFD31_DATA lfs )
static LRESULT FD31_FileListSelect( const FD31_DATA *lfs )
{
LONG lRet;
HWND hWnd = lfs->hwnd;
@ -406,7 +423,7 @@ static LRESULT FD31_FileListSelect( PFD31_DATA lfs )
* before accepting the file name, test if it includes wild cards
* tries to scan the directory and returns TRUE if no error.
*/
static LRESULT FD31_TestPath( PFD31_DATA lfs, LPWSTR path )
static LRESULT FD31_TestPath( const FD31_DATA *lfs, LPWSTR path )
{
HWND hWnd = lfs->hwnd;
LPWSTR pBeginFileName, pstr2;
@ -475,7 +492,7 @@ static LRESULT FD31_TestPath( PFD31_DATA lfs, LPWSTR path )
* FD31_Validate [internal]
* called on: click Ok button, Enter in edit, DoubleClick in file list
*/
static LRESULT FD31_Validate( PFD31_DATA lfs, LPWSTR path, UINT control, INT itemIndex,
static LRESULT FD31_Validate( const FD31_DATA *lfs, LPCWSTR path, UINT control, INT itemIndex,
BOOL internalUse )
{
LONG lRet;
@ -539,7 +556,7 @@ static LRESULT FD31_Validate( PFD31_DATA lfs, LPWSTR path, UINT control, INT ite
* FD31_DiskChange [internal]
* called when a new item is picked in the disk selection combo
*/
static LRESULT FD31_DiskChange( PFD31_DATA lfs )
static LRESULT FD31_DiskChange( const FD31_DATA *lfs )
{
LONG lRet;
HWND hWnd = lfs->hwnd;
@ -563,7 +580,7 @@ static LRESULT FD31_DiskChange( PFD31_DATA lfs )
* FD31_FileTypeChange [internal]
* called when a new item is picked in the file type combo
*/
static LRESULT FD31_FileTypeChange( PFD31_DATA lfs )
static LRESULT FD31_FileTypeChange( const FD31_DATA *lfs )
{
LONG lRet;
LPWSTR pstr;
@ -582,7 +599,7 @@ static LRESULT FD31_FileTypeChange( PFD31_DATA lfs )
* FD31_WMCommand [internal]
*/
LRESULT FD31_WMCommand(HWND hWnd, LPARAM lParam, UINT notification,
UINT control, PFD31_DATA lfs )
UINT control, const FD31_DATA *lfs )
{
switch (control)
{
@ -678,7 +695,7 @@ static LPWSTR FD31_DupToW(LPCSTR str, DWORD size)
* FD31_MapOfnStructA [internal]
* map a 32 bits Ansi structure to an Unicode one
*/
void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL open)
void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open)
{
UNICODE_STRING usBuffer;
@ -706,12 +723,14 @@ void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL o
ofnW->lpstrTitle = usBuffer.Buffer;
} else {
WCHAR buf[16];
LPWSTR title_tmp;
int len;
LoadStringW(COMDLG32_hInstance, open ? IDS_OPEN_FILE : IDS_SAVE_AS,
buf, sizeof(buf)/sizeof(WCHAR));
len = lstrlenW(buf)+1;
ofnW->lpstrTitle = HeapAlloc(GetProcessHeap(), 0, len*sizeof(WCHAR));
memcpy((void*)ofnW->lpstrTitle, buf, len*sizeof(WCHAR));
title_tmp = HeapAlloc(GetProcessHeap(), 0, len*sizeof(WCHAR));
memcpy(title_tmp, buf, len * sizeof(WCHAR));
ofnW->lpstrTitle = title_tmp;
}
ofnW->Flags = ofnA->Flags;
ofnW->nFileOffset = ofnA->nFileOffset;
@ -725,7 +744,7 @@ void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL o
ofnW->lpTemplateName = usBuffer.Buffer;
}
else /* numbered resource */
ofnW->lpTemplateName = (LPWSTR) ofnA->lpTemplateName;
ofnW->lpTemplateName = (LPCWSTR) ofnA->lpTemplateName;
}
}
@ -734,7 +753,7 @@ void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL o
* FD31_FreeOfnW [internal]
* Undo all allocations done by FD31_MapOfnStructA
*/
void FD31_FreeOfnW(LPOPENFILENAMEW ofnW)
void FD31_FreeOfnW(OPENFILENAMEW *ofnW)
{
HeapFree(GetProcessHeap(), 0, (LPWSTR) ofnW->lpstrFilter);
HeapFree(GetProcessHeap(), 0, ofnW->lpstrCustomFilter);
@ -808,7 +827,7 @@ LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam)
lfs->hwnd = hWnd;
ofn = lfs->ofnW;
TRACE("flags=%lx initialdir=%s\n", ofn->Flags, debugstr_w(ofn->lpstrInitialDir));
TRACE("flags=%x initialdir=%s\n", ofn->Flags, debugstr_w(ofn->lpstrInitialDir));
SetWindowTextW( hWnd, ofn->lpstrTitle );
/* read custom filter information */
@ -853,8 +872,8 @@ LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam)
ofn->nFilterIndex = 1;
SendDlgItemMessageW(hWnd, cmb1, CB_SETCURSEL, ofn->nFilterIndex - 1, 0);
lstrcpynW(tmpstr, FD31_GetFileType(ofn->lpstrCustomFilter,
(LPWSTR)ofn->lpstrFilter, ofn->nFilterIndex - 1),BUFFILE);
TRACE("nFilterIndex = %ld, SetText of edt1 to %s\n",
ofn->lpstrFilter, ofn->nFilterIndex - 1),BUFFILE);
TRACE("nFilterIndex = %d, SetText of edt1 to %s\n",
ofn->nFilterIndex, debugstr_w(tmpstr));
SetDlgItemTextW( hWnd, edt1, tmpstr );
/* get drive list */

View file

@ -22,20 +22,20 @@
#define FD31_OFN_PROP "FILEDLG_OFN"
/* Forward declare */
typedef struct tagFD31_DATA *PFD31_DATA;
typedef struct tagFD31_DATA FD31_DATA, *PFD31_DATA;
typedef struct tagFD31_CALLBACKS
{
BOOL (CALLBACK *Init)(LPARAM lParam, PFD31_DATA lfs, DWORD data);
BOOL (CALLBACK *CWP)(PFD31_DATA lfs, UINT wMsg, WPARAM wParam,
LPARAM lParam); /* CWP instead of CallWindowProc to avoid macro expansion */
void (CALLBACK *UpdateResult)(PFD31_DATA lfs);
void (CALLBACK *UpdateFileTitle)(PFD31_DATA lfs);
LRESULT (CALLBACK *SendLbGetCurSel)(PFD31_DATA lfs);
void (CALLBACK *Destroy)(PFD31_DATA lfs);
BOOL (CALLBACK *CWP)(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
LPARAM lParam); /* CWP instead of CallWindowProc to avoid macro expansion */
void (CALLBACK *UpdateResult)(const FD31_DATA *lfs);
void (CALLBACK *UpdateFileTitle)(const FD31_DATA *lfs);
LRESULT (CALLBACK *SendLbGetCurSel)(const FD31_DATA *lfs);
void (CALLBACK *Destroy)(const FD31_DATA *lfs);
} FD31_CALLBACKS, *PFD31_CALLBACKS;
typedef struct tagFD31_DATA
struct tagFD31_DATA
{
HWND hwnd; /* file dialog window handle */
BOOL hook; /* TRUE if the dialog is hooked */
@ -48,21 +48,21 @@ typedef struct tagFD31_DATA
a W copy for A/16 API */
LPVOID private1632; /* 16/32 bit caller private data */
PFD31_CALLBACKS callbacks; /* callbacks to handle 16/32 bit differences */
} FD31_DATA;
};
extern BOOL FD31_Init(void);
extern PFD31_DATA FD31_AllocPrivate(LPARAM lParam, UINT dlgType,
PFD31_CALLBACKS callbacks, DWORD data);
extern void FD31_DestroyPrivate(PFD31_DATA lfs);
extern void FD31_MapOfnStructA(LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL open);
extern void FD31_FreeOfnW(LPOPENFILENAMEW ofnW);
extern BOOL FD31_CallWindowProc(PFD31_DATA lfs, UINT wMsg, WPARAM wParam,
extern void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open);
extern void FD31_FreeOfnW(OPENFILENAMEW *ofnW);
extern BOOL FD31_CallWindowProc(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
LPARAM lParam);
extern LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
extern LONG FD31_WMDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam,
int savedlg, LPDRAWITEMSTRUCT lpdis);
int savedlg, const DRAWITEMSTRUCT *lpdis);
extern LRESULT FD31_WMCommand(HWND hWnd, LPARAM lParam, UINT notification,
UINT control, PFD31_DATA lfs);
UINT control, const FD31_DATA *lfs);
extern int FD31_GetFldrHeight(void);
#endif /* _WINE_DLL_FILEDLG31_H */

View file

@ -19,7 +19,28 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <precomp.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "winreg.h"
#define NO_SHLWAPI_STREAM
#include "shlwapi.h"
#include "filedlgbrowser.h"
#include "cdlg.h"
#include "shlguid.h"
#include "servprov.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
@ -55,20 +76,7 @@ static const IServiceProviderVtbl IShellBrowserImpl_IServiceProvider_Vtbl;
* Local Prototypes
*/
static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv);
/**************************************************************************
* External Prototypes
*/
extern const char *FileOpenDlgInfosStr;
extern IShellFolder* GetShellFolderFromPidl(LPITEMIDLIST pidlAbs);
extern LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl);
extern LPITEMIDLIST GetPidlFromName(IShellFolder *psf,LPCSTR lpcstrFileName);
extern int FILEDLG95_LOOKIN_SelectItem(HWND hwnd,LPITEMIDLIST pidl);
extern LRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, const IShellView *ppshv);
/*
* Helper functions
@ -117,7 +125,7 @@ static void COMDLG32_DumpSBSPFlags(UINT uflags)
}
}
static void COMDLG32_UpdateCurrentDir(FileOpenDlgInfos *fodInfos)
static void COMDLG32_UpdateCurrentDir(const FileOpenDlgInfos *fodInfos)
{
LPSHELLFOLDER psfDesktop;
STRRET strret;
@ -143,7 +151,7 @@ static void COMDLG32_UpdateCurrentDir(FileOpenDlgInfos *fodInfos)
/* copied from shell32 to avoid linking to it */
static HRESULT COMDLG32_StrRetToStrNW (LPVOID dest, DWORD len, LPSTRRET src, LPCITEMIDLIST pidl)
{
TRACE("dest=%p len=0x%lx strret=%p pidl=%p stub\n",dest,len,src,pidl);
TRACE("dest=%p len=0x%x strret=%p pidl=%p stub\n",dest,len,src,pidl);
switch (src->uType)
{
@ -254,7 +262,7 @@ static ULONG WINAPI IShellBrowserImpl_AddRef(IShellBrowser * iface)
IShellBrowserImpl *This = (IShellBrowserImpl *)iface;
ULONG ref = InterlockedIncrement(&This->ref);
TRACE("(%p,%lu)\n", This, ref - 1);
TRACE("(%p,%u)\n", This, ref - 1);
return ref;
}
@ -267,7 +275,7 @@ static ULONG WINAPI IShellBrowserImpl_Release(IShellBrowser * iface)
IShellBrowserImpl *This = (IShellBrowserImpl *)iface;
ULONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p,%lu)\n", This, ref + 1);
TRACE("(%p,%u)\n", This, ref + 1);
if (!ref)
{
@ -368,7 +376,7 @@ static HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
}
/* create an absolute pidl */
pidlTmp = COMDLG32_PIDL_ILCombine(fodInfos->ShellInfos.pidlAbsCurrent,
(LPITEMIDLIST)pidl);
(LPCITEMIDLIST)pidl);
}
else if(wFlags & SBSP_PARENT)
{
@ -380,7 +388,7 @@ static HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
else /* SBSP_ABSOLUTE is 0x0000 */
{
/* An absolute pidl (relative from the desktop) */
pidlTmp = COMDLG32_PIDL_ILClone((LPITEMIDLIST)pidl);
pidlTmp = COMDLG32_PIDL_ILClone((LPCITEMIDLIST)pidl);
psfTmp = GetShellFolderFromPidl(pidlTmp);
}
@ -467,7 +475,7 @@ static HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
return hRes;
error:
ERR("Failed with error 0x%08lx\n", hRes);
ERR("Failed with error 0x%08x\n", hRes);
return hRes;
}
@ -512,7 +520,7 @@ static HRESULT WINAPI IShellBrowserImpl_GetViewStateStream(IShellBrowser *iface,
{
IShellBrowserImpl *This = (IShellBrowserImpl *)iface;
FIXME("(%p 0x%08lx %p)\n", This, grfMode, ppStrm);
FIXME("(%p 0x%08x %p)\n", This, grfMode, ppStrm);
/* Feature not implemented */
return E_NOTIMPL;
@ -601,7 +609,7 @@ static HRESULT WINAPI IShellBrowserImpl_SendControlMsg(IShellBrowser *iface,
IShellBrowserImpl *This = (IShellBrowserImpl *)iface;
LRESULT lres;
TRACE("(%p)->(0x%08x 0x%08x 0x%08x 0x%08lx %p)\n", This, id, uMsg, wParam, lParam, pret);
TRACE("(%p)->(0x%08x 0x%08x 0x%08lx 0x%08lx %p)\n", This, id, uMsg, wParam, lParam, pret);
switch (id)
{
@ -822,7 +830,11 @@ static HRESULT WINAPI IShellBrowserImpl_ICommDlgBrowser_OnStateChange(ICommDlgBr
{
FileOpenDlgInfos *fodInfos = (FileOpenDlgInfos *) GetPropA(This->hwndOwner,FileOpenDlgInfosStr);
if(fodInfos->DlgInfos.dwDlgProp & FODPROP_SAVEDLG)
SetDlgItemTextA(fodInfos->ShellInfos.hwndOwner,IDOK,"&Save");
{
WCHAR szSave[16];
LoadStringW(COMDLG32_hInstance, IDS_SAVE_BUTTON, szSave, sizeof(szSave)/sizeof(WCHAR));
SetDlgItemTextW(fodInfos->ShellInfos.hwndOwner, IDOK, szSave);
}
}
break;
case CDBOSC_SELCHANGE:
@ -883,7 +895,7 @@ static HRESULT WINAPI IShellBrowserImpl_ICommDlgBrowser_IncludeObject(ICommDlgBr
/**************************************************************************
* IShellBrowserImpl_ICommDlgBrowser_OnSelChange
*/
static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv)
static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, const IShellView *ppshv)
{
FileOpenDlgInfos *fodInfos;

View file

@ -26,7 +26,6 @@
#include <stdarg.h>
#endif
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
@ -157,4 +156,15 @@ BOOL IsPidlFolder (LPSHELLFOLDER psf, LPCITEMIDLIST pidl);
/* Functions used by the EDIT box */
void FILEDLG95_FILENAME_FillFromSelection (HWND hwnd);
/**************************************************************************
* External Prototypes
*/
extern const char FileOpenDlgInfosStr[];
extern IShellFolder* GetShellFolderFromPidl(LPITEMIDLIST pidlAbs);
extern LPITEMIDLIST GetParentPidl(LPITEMIDLIST pidl);
extern int FILEDLG95_LOOKIN_SelectItem(HWND hwnd,LPITEMIDLIST pidl);
extern LRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
#endif /*SHBROWSER_H*/

View file

@ -1,112 +0,0 @@
/*
* COMMDLG - File Dialogs
*
* Copyright 1994 Martin Ayotte
* Copyright 1996 Albrecht Kleine
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <precomp.h>
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
/***********************************************************************
* GetFileTitleA (COMDLG32.@)
*
* See GetFileTitleW.
*/
short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, WORD cbBuf)
{
int ret;
UNICODE_STRING strWFile;
LPWSTR lpWTitle;
RtlCreateUnicodeStringFromAsciiz(&strWFile, lpFile);
lpWTitle = HeapAlloc( GetProcessHeap(), 0, cbBuf*sizeof(WCHAR));
ret = GetFileTitleW(strWFile.Buffer, lpWTitle, cbBuf);
if (!ret) WideCharToMultiByte( CP_ACP, 0, lpWTitle, -1, lpTitle, cbBuf, NULL, NULL );
RtlFreeUnicodeString( &strWFile );
HeapFree( GetProcessHeap(), 0, lpWTitle );
return ret;
}
/***********************************************************************
* GetFileTitleW (COMDLG32.@)
*
* Get the name of a file.
*
* PARAMS
* lpFile [I] name and location of file
* lpTitle [O] returned file name
* cbBuf [I] buffer size of lpTitle
*
* RETURNS
* Success: zero
* Failure: negative number.
*/
short WINAPI GetFileTitleW(LPCWSTR lpFile, LPWSTR lpTitle, WORD cbBuf)
{
int i, len;
static const WCHAR brkpoint[] = {'*','[',']',0};
TRACE("(%p %p %d);\n", lpFile, lpTitle, cbBuf);
if(lpFile == NULL || lpTitle == NULL)
return -1;
len = strlenW(lpFile);
if (len == 0)
return -1;
if(strpbrkW(lpFile, brkpoint))
return -1;
len--;
if(lpFile[len] == '/' || lpFile[len] == '\\' || lpFile[len] == ':')
return -1;
for(i = len; i >= 0; i--)
{
if (lpFile[i] == '/' || lpFile[i] == '\\' || lpFile[i] == ':')
{
i++;
break;
}
}
if(i == -1)
i++;
TRACE("---> '%s'\n", debugstr_w(&lpFile[i]));
len = strlenW(lpFile+i)+1;
if(cbBuf < len)
return len;
strcpyW(lpTitle, &lpFile[i]);
return 0;
}
/***********************************************************************
* GetFileTitle (COMMDLG.27)
*/
short WINAPI GetFileTitle16(LPCSTR lpFile, LPSTR lpTitle, UINT16 cbBuf)
{
return GetFileTitleA(lpFile, lpTitle, cbBuf);
}

View file

@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <ctype.h>
@ -126,7 +126,7 @@ static BOOL FINDDLG_Get16BitsTemplate(LFRPRIVATE lfr)
if (!hGlobal16)
{
COMDLG32_SetCommDlgExtendedError(CDERR_MEMALLOCFAILURE);
ERR("alloc failure for %ld bytes\n", size);
ERR("alloc failure for %d bytes\n", size);
return FALSE;
}
lfr->template = GlobalLock16(hGlobal16);
@ -137,7 +137,7 @@ static BOOL FINDDLG_Get16BitsTemplate(LFRPRIVATE lfr)
GlobalFree16(hGlobal16);
return FALSE;
}
ConvertDialog32To16((LPVOID)template32, size, (LPVOID)lfr->template);
ConvertDialog32To16(template32, size, (LPVOID)lfr->template);
lfr->hDlgTmpl16 = hGlobal16;
lfr->hGlobal16 = hGlobal16;
}
@ -228,7 +228,7 @@ HWND16 WINAPI ReplaceText16( SEGPTR find )
* FINDDLG_WMInitDialog [internal]
*/
static LRESULT FINDDLG_WMInitDialog(HWND hWnd, LPARAM lParam, LPDWORD lpFlags,
LPSTR lpstrFindWhat, BOOL fUnicode)
LPCSTR lpstrFindWhat, BOOL fUnicode)
{
SetWindowLongPtrW(hWnd, DWLP_USER, lParam);
*lpFlags &= ~(FR_FINDNEXT | FR_REPLACE | FR_REPLACEALL | FR_DIALOGTERM);
@ -237,7 +237,7 @@ static LRESULT FINDDLG_WMInitDialog(HWND hWnd, LPARAM lParam, LPDWORD lpFlags,
* FindNext (IDOK) button. Only after typing some text, the button should be
* enabled.
*/
if (fUnicode) SetDlgItemTextW(hWnd, edt1, (LPWSTR)lpstrFindWhat);
if (fUnicode) SetDlgItemTextW(hWnd, edt1, (LPCWSTR)lpstrFindWhat);
else SetDlgItemTextA(hWnd, edt1, lpstrFindWhat);
CheckRadioButton(hWnd, rad1, rad2, (*lpFlags & FR_DOWN) ? rad2 : rad1);
if (*lpFlags & (FR_HIDEUPDOWN | FR_NOUPDOWN)) {
@ -341,8 +341,8 @@ BOOL16 CALLBACK FindTextDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam,
* REPLACEDLG_WMInitDialog [internal]
*/
static LRESULT REPLACEDLG_WMInitDialog(HWND hWnd, LPARAM lParam,
LPDWORD lpFlags, LPSTR lpstrFindWhat,
LPSTR lpstrReplaceWith, BOOL fUnicode)
LPDWORD lpFlags, LPCSTR lpstrFindWhat,
LPCSTR lpstrReplaceWith, BOOL fUnicode)
{
SetWindowLongPtrW(hWnd, DWLP_USER, lParam);
*lpFlags &= ~(FR_FINDNEXT | FR_REPLACE | FR_REPLACEALL | FR_DIALOGTERM);
@ -353,8 +353,8 @@ static LRESULT REPLACEDLG_WMInitDialog(HWND hWnd, LPARAM lParam,
*/
if (fUnicode)
{
SetDlgItemTextW(hWnd, edt1, (LPWSTR)lpstrFindWhat);
SetDlgItemTextW(hWnd, edt2, (LPWSTR)lpstrReplaceWith);
SetDlgItemTextW(hWnd, edt1, (LPCWSTR)lpstrFindWhat);
SetDlgItemTextW(hWnd, edt2, (LPCWSTR)lpstrReplaceWith);
} else
{
SetDlgItemTextA(hWnd, edt1, lpstrFindWhat);

View file

@ -19,10 +19,23 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <precomp.h>
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "cderr.h"
#include "dlgs.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
#include "cdlg.h"
/*-----------------------------------------------------------------------*/
static UINT FindReplaceMessage;
@ -286,8 +299,8 @@ static INT_PTR CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPA
* FALSE: Failure
*/
static BOOL COMDLG32_FR_CheckPartial(
LPFINDREPLACEA pfr, /* [in] Find structure */
BOOL Replace /* [in] True if called as replace */
const FINDREPLACEA *pfr, /* [in] Find structure */
BOOL Replace /* [in] True if called as replace */
) {
if(!pfr)
{
@ -361,7 +374,7 @@ static HWND COMDLG32_FR_DoFindReplace(
DWORD error;
LPDLGTEMPLATEW rcs;
TRACE("hInst=%p, Flags=%08lx\n", pdata->fr.hInstance, pdata->fr.Flags);
TRACE("hInst=%p, Flags=%08x\n", pdata->fr.hInstance, pdata->fr.Flags);
if(!(pdata->fr.Flags & FR_ENABLETEMPLATEHANDLE))
{

View file

@ -19,7 +19,20 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <precomp.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "dlgs.h"
#include "wine/debug.h"
#include "cderr.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
@ -34,8 +47,8 @@ static const WCHAR chooseFontW[] = {'C','H','O','O','S','E','_','F','O','N','T',
static HIMAGELIST himlTT = 0;
#define TTBITMAP_XSIZE 20 /* x-size of the bitmaps */
INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* There is a table here of all charsets, and the sample text for each.
* There is a second table that translates a charset into an index into
@ -75,7 +88,7 @@ static const WCHAR stIso88594[]={'A','a','B','b',0}; /* ISO-8859-4 */
static const WCHAR stIso885910[]={'A','a','B','b',0}; /* ISO-8859-10 */
static const WCHAR stCeltic[]={'A','a','B','b',0};/* Celtic */
static const WCHAR *sample_lang_text[]={
static const WCHAR * const sample_lang_text[]={
stWestern,stSymbol,stShiftJis,stHangul,stGB2312,
stBIG5,stGreek,stTurkish,stHebrew,stArabic,
stBaltic,stVietname,stCyrillic,stEastEur,stThai,
@ -274,7 +287,7 @@ static const COLORREF textcolors[TEXT_COLORS]=
/***********************************************************************
* CFn_HookCallChk32 [internal]
*/
static BOOL CFn_HookCallChk32(LPCHOOSEFONTW lpcf)
static BOOL CFn_HookCallChk32(const CHOOSEFONTW *lpcf)
{
if (lpcf)
if(lpcf->Flags & CF_ENABLEHOOK)
@ -287,7 +300,7 @@ static BOOL CFn_HookCallChk32(LPCHOOSEFONTW lpcf)
* AddFontFamily [internal]
*/
INT AddFontFamily(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM,
UINT nFontType, LPCHOOSEFONTW lpcf, HWND hwnd, LPCFn_ENUMSTRUCT e)
UINT nFontType, const CHOOSEFONTW *lpcf, HWND hwnd, LPCFn_ENUMSTRUCT e)
{
int i;
WORD w;
@ -328,7 +341,7 @@ static INT WINAPI FontFamilyEnumProc(const ENUMLOGFONTEXW *lpElfex,
{
LPCFn_ENUMSTRUCT e;
e=(LPCFn_ENUMSTRUCT)lParam;
return AddFontFamily( lpElfex, (NEWTEXTMETRICEXW *) metrics,
return AddFontFamily( lpElfex, (const NEWTEXTMETRICEXW *) metrics,
dwFontType, e->lpcf32w, e->hWnd1, e);
}
@ -373,13 +386,14 @@ static int SetFontStylesToCombo2(HWND hwnd, HDC hdc, const LOGFONTW *lplf)
hf=SelectObject(hdc,hf);
DeleteObject(hf);
/* font successful created ? */
if (tm.tmWeight==fontstyles[i].weight &&
if (((fontstyles[i].weight == FW_NORMAL && tm.tmWeight <= FW_MEDIUM) ||
(fontstyles[i].weight == FW_BOLD && tm.tmWeight > FW_MEDIUM)) &&
((tm.tmItalic != 0)==fontstyles[i].italic))
{
j=SendMessageW(hwnd,CB_ADDSTRING,0,(LPARAM)fontstyles[i].stname );
if (j==CB_ERR) return 1;
j=SendMessageW(hwnd, CB_SETITEMDATA, j,
MAKELONG(fontstyles[i].weight,fontstyles[i].italic));
MAKELONG(tm.tmWeight,fontstyles[i].italic));
if (j==CB_ERR) return 1;
}
}
@ -389,7 +403,7 @@ static int SetFontStylesToCombo2(HWND hwnd, HDC hdc, const LOGFONTW *lplf)
/*************************************************************************
* AddFontSizeToCombo3 [internal]
*/
static int AddFontSizeToCombo3(HWND hwnd, UINT h, LPCHOOSEFONTW lpcf)
static int AddFontSizeToCombo3(HWND hwnd, UINT h, const CHOOSEFONTW *lpcf)
{
int j;
WCHAR buffer[20];
@ -413,7 +427,7 @@ static int AddFontSizeToCombo3(HWND hwnd, UINT h, LPCHOOSEFONTW lpcf)
/*************************************************************************
* SetFontSizesToCombo3 [internal]
*/
static int SetFontSizesToCombo3(HWND hwnd, LPCHOOSEFONTW lpcf)
static int SetFontSizesToCombo3(HWND hwnd, const CHOOSEFONTW *lpcf)
{
static const BYTE sizes[]={6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72};
int i;
@ -426,7 +440,7 @@ static int SetFontSizesToCombo3(HWND hwnd, LPCHOOSEFONTW lpcf)
/*************************************************************************
* CFn_GetDC [internal]
*/
static inline HDC CFn_GetDC(LPCHOOSEFONTW lpcf)
static inline HDC CFn_GetDC(const CHOOSEFONTW *lpcf)
{
HDC ret = ((lpcf->Flags & CF_PRINTERFONTS) && lpcf->hDC) ?
lpcf->hDC :
@ -438,7 +452,7 @@ static inline HDC CFn_GetDC(LPCHOOSEFONTW lpcf)
/*************************************************************************
* CFn_ReleaseDC [internal]
*/
static inline void CFn_ReleaseDC(LPCHOOSEFONTW lpcf, HDC hdc)
static inline void CFn_ReleaseDC(const CHOOSEFONTW *lpcf, HDC hdc)
{
if(!((lpcf->Flags & CF_PRINTERFONTS) && lpcf->hDC))
ReleaseDC(0, hdc);
@ -448,7 +462,7 @@ static inline void CFn_ReleaseDC(LPCHOOSEFONTW lpcf, HDC hdc)
* AddFontStyle [internal]
*/
INT AddFontStyle( const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM,
UINT nFontType, LPCHOOSEFONTW lpcf, HWND hcmb2, HWND hcmb3,
UINT nFontType, const CHOOSEFONTW *lpcf, HWND hcmb2, HWND hcmb3,
HWND hDlg, BOOL iswin16)
{
int i;
@ -457,7 +471,7 @@ INT AddFontStyle( const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM,
HDC hdc;
TRACE("(nFontType=%d)\n",nFontType);
TRACE(" %s h=%ld w=%ld e=%ld o=%ld wg=%ld i=%d u=%d s=%d"
TRACE(" %s h=%d w=%d e=%d o=%d wg=%d i=%d u=%d s=%d"
" ch=%d op=%d cp=%d q=%d pf=%xh\n",
debugstr_w(lplf->lfFaceName),lplf->lfHeight,lplf->lfWidth,
lplf->lfEscapement,lplf->lfOrientation,
@ -607,6 +621,8 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
ShowWindow(GetDlgItem(hDlg,pshHelp),SW_HIDE);
if (!(lpcf->Flags & CF_APPLY))
ShowWindow(GetDlgItem(hDlg,psh3),SW_HIDE);
if (lpcf->Flags & CF_NOSCRIPTSEL)
EnableWindow(GetDlgItem(hDlg,cmb5),FALSE);
if (lpcf->Flags & CF_EFFECTS)
{
for (i=0;i<TEXT_COLORS;i++)
@ -695,6 +711,15 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
SendDlgItemMessageW(hDlg,cmb1,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb1, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb1));
SendDlgItemMessageW(hDlg,cmb2,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb2, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb1));
SendDlgItemMessageW(hDlg,cmb3,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb3, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb3));
SendDlgItemMessageW(hDlg,cmb5,CB_SETCURSEL,0,0);
SendMessageW(hDlg, WM_COMMAND, MAKEWPARAM(cmb5, CBN_SELCHANGE),
(LPARAM)GetDlgItem(hDlg,cmb5));
}
if ((lpcf->Flags & CF_USESTYLE) && lpcf->lpszStyle)
{
@ -855,7 +880,7 @@ LRESULT CFn_WMCommand(HWND hDlg, WPARAM wParam, LPARAM lParam,
HDC hdc;
LPLOGFONTW lpxx=lpcf->lpLogFont;
TRACE("WM_COMMAND wParam=%08lX lParam=%08lX\n", (LONG)wParam, lParam);
TRACE("WM_COMMAND wParam=%08X lParam=%08lX\n", (LONG)wParam, lParam);
switch (LOWORD(wParam))
{
case cmb1:
@ -1052,7 +1077,7 @@ static LRESULT CFn_WMDestroy(HWND hwnd, WPARAM wParam, LPARAM lParam, LPCHOOSEFO
return TRUE;
}
LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSEFONTW *lpcf)
{
WINDOWINFO info;
@ -1068,7 +1093,7 @@ LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, LPCHOOSEFONTW lpcf)
MapWindowPoints( 0, hDlg, (LPPOINT) &info.rcWindow, 2);
hdc = BeginPaint( hDlg, &ps );
TRACE("erase %d, rect=(%ld,%ld)-(%ld,%ld)\n", ps.fErase,
TRACE("erase %d, rect=(%d,%d)-(%d,%d)\n", ps.fErase,
ps.rcPaint.left, ps.rcPaint.top,
ps.rcPaint.right, ps.rcPaint.bottom);

View file

@ -32,7 +32,6 @@
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "commdlg.h"
#include "dlgs.h"
#include "wine/debug.h"
#include "cderr.h"
@ -44,7 +43,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
static const WCHAR strWineFontData16[] =
{'_','_','W','I','N','E','_','F','O','N','T','D','L','G','D','A','T','A','1','6',0};
static void FONT_LogFont16To32W( const LPLOGFONT16 font16, LPLOGFONTW font32 )
static void FONT_LogFont16To32W( const LOGFONT16 *font16, LPLOGFONTW font32 )
{
font32->lfHeight = font16->lfHeight;
font32->lfWidth = font16->lfWidth;
@ -72,15 +71,17 @@ static void FONT_Metrics16To32W( const TEXTMETRIC16 *pm16,
pnm32w->ntmTm.tmExternalLeading = pm16->tmExternalLeading;
}
static void CFn_CHOOSEFONT16to32W(LPCHOOSEFONT16 chf16, LPCHOOSEFONTW chf32w)
static void CFn_CHOOSEFONT16to32W(const CHOOSEFONT16 *chf16, LPCHOOSEFONTW chf32w)
{
int len;
if (chf16->Flags & CF_ENABLETEMPLATE)
{
LPWSTR name32w;
len = MultiByteToWideChar( CP_ACP, 0, MapSL(chf16->lpTemplateName), -1, NULL, 0);
chf32w->lpTemplateName = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
MultiByteToWideChar( CP_ACP, 0, MapSL(chf16->lpTemplateName),
-1, (LPWSTR)chf32w->lpTemplateName, len);
name32w = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
MultiByteToWideChar( CP_ACP, 0, MapSL(chf16->lpTemplateName), -1, name32w, len);
chf32w->lpTemplateName = name32w;
}
if (chf16->Flags & CF_USESTYLE)
{
@ -106,7 +107,7 @@ static void CFn_CHOOSEFONT16to32W(LPCHOOSEFONT16 chf16, LPCHOOSEFONTW chf32w)
/***********************************************************************
* CFn_HookCallChk [internal]
*/
static BOOL CFn_HookCallChk(LPCHOOSEFONT16 lpcf)
static BOOL CFn_HookCallChk(const CHOOSEFONT16 *lpcf)
{
if (lpcf)
if(lpcf->Flags & CF_ENABLEHOOK)
@ -164,22 +165,23 @@ INT16 WINAPI FontStyleEnumProc16( SEGPTR logfont, SEGPTR metrics,
BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
{
HINSTANCE16 hInst;
HANDLE16 hDlgTmpl16 = 0, hResource16 = 0;
HANDLE16 hDlgTmpl16 = 0;
HGLOBAL16 hGlobal16 = 0;
BOOL16 bRet = FALSE;
LPCVOID template;
LPVOID template;
FARPROC16 ptr;
CHOOSEFONTW cf32w;
LOGFONTW lf32w;
LOGFONT16 *font16;
SEGPTR lpTemplateName;
TRACE("ChooseFont\n");
if (!lpChFont) return FALSE;
cf32w.lpLogFont=&lf32w;
CFn_CHOOSEFONT16to32W(lpChFont, &cf32w);
TRACE("ChooseFont\n");
if (!lpChFont) return FALSE;
if (TRACE_ON(commdlg))
_dump_cf_flags(lpChFont->Flags);
@ -230,7 +232,7 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
if (!hGlobal16)
{
COMDLG32_SetCommDlgExtendedError(CDERR_MEMALLOCFAILURE);
ERR("alloc failure for %ld bytes\n", size);
ERR("alloc failure for %d bytes\n", size);
return FALSE;
}
template = GlobalLock16(hGlobal16);
@ -241,7 +243,7 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
GlobalFree16(hGlobal16);
return FALSE;
}
ConvertDialog32To16((LPVOID)template32, size, (LPVOID)template);
ConvertDialog32To16(template32, size, template);
hDlgTmpl16 = hGlobal16;
}
@ -254,7 +256,6 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
hInst = GetWindowLongPtrA(HWND_32(lpChFont->hwndOwner), GWLP_HINSTANCE);
bRet = DialogBoxIndirectParam16(hInst, hDlgTmpl16, lpChFont->hwndOwner,
(DLGPROC16) ptr, (DWORD)lpChFont);
if (hResource16) FreeResource16(hDlgTmpl16);
if (hGlobal16)
{
GlobalUnlock16(hGlobal16);

View file

@ -1,67 +0,0 @@
#ifndef PRECOMP_H__
#define PRECOMP_H__
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define NO_SHLWAPI_STREAM
#define COM_NO_WINDOWS_H
#define _COMDLG32_
//#if defined (_MSC_VER)
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <commdlg.h>
#include <shellapi.h>
#include <shlguid.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <guiddef.h>
#include <dlgs.h>
#include <cderr.h>
//#endif
#if !defined (_MSC_VER)
#include "psdk/shlguid.h"
#include "psdk/shlobj.h"
#endif
#include "shlguid.h"
#include "shlobj.h"
#if !defined (_MSC_VER)
#include "psdk/shlguid.h"
#include "psdk/shlwapi.h"
#endif
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "wine/dlgs.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include <cderr.h>
#include <cdlg.h>
#include <winspool.h>
#include <winerror.h>
#include <winnls.h>
#include <winreg.h>
#include <winternl.h>
//local headers
#include "cdlg.h"
#include "printdlg.h"
#include "filedlgbrowser.h"
#include "cdlg.h"
#include "servprov.h"
#include "filedlg31.h"
#endif

View file

@ -20,17 +20,38 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <precomp.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winspool.h"
#include "winerror.h"
#include "wine/debug.h"
#include "commdlg.h"
#include "dlgs.h"
#include "cderr.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
#include "cdlg.h"
#include "printdlg.h"
/* Yes these constants are the same, but we're just copying win98 */
#define UPDOWN_ID 0x270f
#define MAX_COPIES 9999
/* Debugging info */
static struct pd_flags psd_flags[] = {
static const struct pd_flags psd_flags[] = {
{PSD_MINMARGINS,"PSD_MINMARGINS"},
{PSD_MARGINS,"PSD_MARGINS"},
{PSD_INTHOUSANDTHSOFINCHES,"PSD_INTHOUSANDTHSOFINCHES"},
@ -164,8 +185,8 @@ static INT PRINTDLG_SetUpPrinterListComboW(HWND hDlg, UINT id, LPCWSTR name)
*
* (NB. when we handle unicode the offsets will be in wchars).
*/
static BOOL PRINTDLG_CreateDevNames(HGLOBAL *hmem, char* DeviceDriverName,
char* DeviceName, char* OutputPort)
static BOOL PRINTDLG_CreateDevNames(HGLOBAL *hmem, const char* DeviceDriverName,
const char* DeviceName, const char* OutputPort)
{
long size;
char* pDevNamesSpace;
@ -376,7 +397,10 @@ static BOOL PRINTDLG_UpdatePrintDlgW(HWND hDlg,
}
lppd->nFromPage = nFromPage;
lppd->nToPage = nToPage;
lppd->Flags |= PD_PAGENUMS;
}
else
lppd->Flags &= ~PD_PAGENUMS;
if (IsDlgButtonChecked(hDlg, chx1) == BST_CHECKED) {/* Print to file */
static WCHAR file[] = {'F','I','L','E',':',0};
@ -649,8 +673,8 @@ static BOOL PRINTDLG_SetUpPaperComboBoxA(HWND hDlg,
static BOOL PRINTDLG_SetUpPaperComboBoxW(HWND hDlg,
int nIDComboBox,
WCHAR* PrinterName,
WCHAR* PortName,
const WCHAR* PrinterName,
const WCHAR* PortName,
LPDEVMODEW dm)
{
int i;
@ -761,7 +785,7 @@ static BOOL PRINTDLG_SetUpPaperComboBoxW(HWND hDlg,
/***********************************************************************
* PRINTDLG_UpdatePrinterInfoTexts [internal]
*/
static void PRINTDLG_UpdatePrinterInfoTextsA(HWND hDlg, LPPRINTER_INFO_2A pi)
static void PRINTDLG_UpdatePrinterInfoTextsA(HWND hDlg, const PRINTER_INFO_2A *pi)
{
char StatusMsg[256];
char ResourceString[256];
@ -797,7 +821,7 @@ static void PRINTDLG_UpdatePrinterInfoTextsA(HWND hDlg, LPPRINTER_INFO_2A pi)
return;
}
static void PRINTDLG_UpdatePrinterInfoTextsW(HWND hDlg, LPPRINTER_INFO_2W pi)
static void PRINTDLG_UpdatePrinterInfoTextsW(HWND hDlg, const PRINTER_INFO_2W *pi)
{
WCHAR StatusMsg[256];
WCHAR ResourceString[256];
@ -1833,7 +1857,7 @@ static INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
* PRINTDLG_GetDlgTemplate
*
*/
static HGLOBAL PRINTDLG_GetDlgTemplateA(PRINTDLGA *lppd)
static HGLOBAL PRINTDLG_GetDlgTemplateA(const PRINTDLGA *lppd)
{
HRSRC hResInfo;
HGLOBAL hDlgTmpl;
@ -1867,7 +1891,7 @@ static HGLOBAL PRINTDLG_GetDlgTemplateA(PRINTDLGA *lppd)
return hDlgTmpl;
}
static HGLOBAL PRINTDLG_GetDlgTemplateW(PRINTDLGW *lppd)
static HGLOBAL PRINTDLG_GetDlgTemplateW(const PRINTDLGW *lppd)
{
HRSRC hResInfo;
HGLOBAL hDlgTmpl;
@ -1970,19 +1994,26 @@ static BOOL PRINTDLG_CreateDCW(LPPRINTDLGW lppd)
BOOL WINAPI PrintDlgA(LPPRINTDLGA lppd)
{
BOOL bRet = FALSE;
LPVOID ptr;
HINSTANCE hInst = (HINSTANCE)GetWindowLongPtrA( lppd->hwndOwner, GWLP_HINSTANCE );
LPVOID ptr;
HINSTANCE hInst;
if (!lppd)
{
COMDLG32_SetCommDlgExtendedError(CDERR_INITIALIZATION);
return FALSE;
}
hInst = (HINSTANCE)GetWindowLongPtrA( lppd->hwndOwner, GWLP_HINSTANCE );
if(TRACE_ON(commdlg)) {
char flagstr[1000] = "";
struct pd_flags *pflag = pd_flags;
const struct pd_flags *pflag = pd_flags;
for( ; pflag->name; pflag++) {
if(lppd->Flags & pflag->flag)
strcat(flagstr, pflag->name);
}
TRACE("(%p): hwndOwner = %p, hDevMode = %p, hDevNames = %p\n"
"pp. %d-%d, min p %d, max p %d, copies %d, hinst %p\n"
"flags %08lx (%s)\n",
"pp. %d-%d, min p %d, max p %d, copies %d, hinst %p\n"
"flags %08x (%s)\n",
lppd, lppd->hwndOwner, lppd->hDevMode, lppd->hDevNames,
lppd->nFromPage, lppd->nToPage, lppd->nMinPage, lppd->nMaxPage,
lppd->nCopies, lppd->hInstance, lppd->Flags, flagstr);
@ -2018,7 +2049,7 @@ BOOL WINAPI PrintDlgA(LPPRINTDLGA lppd)
GetPrinterDriverA(hprn, NULL, 3, NULL, 0, &needed);
dbuf = HeapAlloc(GetProcessHeap(),0,needed);
if (!GetPrinterDriverA(hprn, NULL, 3, (LPBYTE)dbuf, needed, &needed)) {
ERR("GetPrinterDriverA failed, le %ld, fix your config for printer %s!\n",GetLastError(),pbuf->pPrinterName);
ERR("GetPrinterDriverA failed, le %d, fix your config for printer %s!\n",GetLastError(),pbuf->pPrinterName);
COMDLG32_SetCommDlgExtendedError(PDERR_RETDEFFAILURE);
return FALSE;
}
@ -2107,24 +2138,29 @@ BOOL WINAPI PrintDlgA(LPPRINTDLGA lppd)
*
* See PrintDlgA.
*/
BOOL WINAPI PrintDlgW(
LPPRINTDLGW lppd /* [in/out] ptr to PRINTDLG32 struct */
)
BOOL WINAPI PrintDlgW(LPPRINTDLGW lppd)
{
BOOL bRet = FALSE;
LPVOID ptr;
HINSTANCE hInst = (HINSTANCE)GetWindowLongPtrW( lppd->hwndOwner, GWLP_HINSTANCE );
LPVOID ptr;
HINSTANCE hInst;
if (!lppd)
{
COMDLG32_SetCommDlgExtendedError(CDERR_INITIALIZATION);
return FALSE;
}
hInst = (HINSTANCE)GetWindowLongPtrW( lppd->hwndOwner, GWLP_HINSTANCE );
if(TRACE_ON(commdlg)) {
char flagstr[1000] = "";
struct pd_flags *pflag = pd_flags;
const struct pd_flags *pflag = pd_flags;
for( ; pflag->name; pflag++) {
if(lppd->Flags & pflag->flag)
strcat(flagstr, pflag->name);
}
TRACE("(%p): hwndOwner = %p, hDevMode = %p, hDevNames = %p\n"
"pp. %d-%d, min p %d, max p %d, copies %d, hinst %p\n"
"flags %08lx (%s)\n",
"pp. %d-%d, min p %d, max p %d, copies %d, hinst %p\n"
"flags %08x (%s)\n",
lppd, lppd->hwndOwner, lppd->hDevMode, lppd->hDevNames,
lppd->nFromPage, lppd->nToPage, lppd->nMinPage, lppd->nMaxPage,
lppd->nCopies, lppd->hInstance, lppd->Flags, flagstr);
@ -2160,7 +2196,7 @@ BOOL WINAPI PrintDlgW(
GetPrinterDriverW(hprn, NULL, 3, NULL, 0, &needed);
dbuf = HeapAlloc(GetProcessHeap(),0,sizeof(WCHAR)*needed);
if (!GetPrinterDriverW(hprn, NULL, 3, (LPBYTE)dbuf, needed, &needed)) {
ERR("GetPrinterDriverA failed, le %ld, fix your config for printer %s!\n",GetLastError(),debugstr_w(pbuf->pPrinterName));
ERR("GetPrinterDriverA failed, le %d, fix your config for printer %s!\n",GetLastError(),debugstr_w(pbuf->pPrinterName));
COMDLG32_SetCommDlgExtendedError(PDERR_RETDEFFAILURE);
return FALSE;
}
@ -2265,7 +2301,7 @@ BOOL WINAPI PrintDlgW(
* PageSetupDlg
* rad1 - portrait
* rad2 - landscape
* cmb1 - printer select (not in standart dialog template)
* cmb1 - printer select (not in standard dialog template)
* cmb2 - paper size
* cmb3 - source (tray?)
* edt4 - border left
@ -2279,7 +2315,7 @@ typedef struct {
LPPAGESETUPDLGA dlga; /* Handler to user defined struct */
PRINTDLGA pdlg;
HWND hDlg; /* Page Setup dialog handler */
PAGESETUPDLGA curdlg; /* Struct means cerrent dialog state */
PAGESETUPDLGA curdlg; /* Stores the current dialog state */
RECT rtDrawRect; /* Drawing rect for page */
} PageSetupDataA;
@ -2289,7 +2325,7 @@ typedef struct {
} PageSetupDataW;
static HGLOBAL PRINTDLG_GetPGSTemplateA(PAGESETUPDLGA *lppd)
static HGLOBAL PRINTDLG_GetPGSTemplateA(const PAGESETUPDLGA *lppd)
{
HRSRC hResInfo;
HGLOBAL hDlgTmpl;
@ -2307,7 +2343,7 @@ static HGLOBAL PRINTDLG_GetPGSTemplateA(PAGESETUPDLGA *lppd)
return hDlgTmpl;
}
static HGLOBAL PRINTDLG_GetPGSTemplateW(PAGESETUPDLGW *lppd)
static HGLOBAL PRINTDLG_GetPGSTemplateW(const PAGESETUPDLGW *lppd)
{
HRSRC hResInfo;
HGLOBAL hDlgTmpl;
@ -2354,15 +2390,15 @@ static void
_c_size2strA(PageSetupDataA *pda,DWORD size,LPSTR strout) {
strcpy(strout,"<undef>");
if (pda->dlga->Flags & PSD_INHUNDREDTHSOFMILLIMETERS) {
sprintf(strout,"%ld",(size)/100);
sprintf(strout,"%d",(size)/100);
return;
}
if (pda->dlga->Flags & PSD_INTHOUSANDTHSOFINCHES) {
sprintf(strout,"%ldin",(size)/1000);
sprintf(strout,"%din",(size)/1000);
return;
}
pda->dlga->Flags |= PSD_INHUNDREDTHSOFMILLIMETERS;
sprintf(strout,"%ld",(size)/100);
sprintf(strout,"%d",(size)/100);
return;
}
static void
@ -2385,7 +2421,7 @@ _c_size2strW(PageSetupDataW *pda,DWORD size,LPWSTR strout) {
}
static DWORD
_c_str2sizeA(PAGESETUPDLGA *dlga,LPCSTR strin) {
_c_str2sizeA(const PAGESETUPDLGA *dlga, LPCSTR strin) {
float val;
char rest[200];
@ -2425,13 +2461,13 @@ _c_str2sizeA(PAGESETUPDLGA *dlga,LPCSTR strin) {
static DWORD
_c_str2sizeW(PAGESETUPDLGW *dlga, LPCWSTR strin) {
_c_str2sizeW(const PAGESETUPDLGW *dlga, LPCWSTR strin) {
char buf[200];
/* this W -> A transition is OK */
/* we need a unicode version of sscanf to avoid it */
WideCharToMultiByte(CP_ACP, 0, strin, -1, buf, sizeof(buf), NULL, NULL);
return _c_str2sizeA((PAGESETUPDLGA *)dlga, buf);
return _c_str2sizeA((const PAGESETUPDLGA *)dlga, buf);
}
@ -2443,8 +2479,8 @@ _c_str2sizeW(PAGESETUPDLGW *dlga, LPCWSTR strin) {
*
* PARAMS
* hDlg [in] main window dialog HANDLE
* pda [in/out] ptr to PageSetupDataA structere
*
* pda [in/out] ptr to PageSetupDataA structure
*
* RETURNS
* TRUE
*/
@ -2649,7 +2685,7 @@ PRINTDLG_PS_ChangePrinterW(HWND hDlg, PageSetupDataW *pda) {
* always - TRUE
*/
static BOOL
PRINTDLG_PS_ChangePaperPrev(PageSetupDataA *pda)
PRINTDLG_PS_ChangePaperPrev(const PageSetupDataA *pda)
{
LONG width, height, x, y;
RECT rtTmp;
@ -2663,7 +2699,7 @@ PRINTDLG_PS_ChangePaperPrev(PageSetupDataA *pda)
}
x = (pda->rtDrawRect.right + pda->rtDrawRect.left - width) / 2;
y = (pda->rtDrawRect.bottom + pda->rtDrawRect.top - height) / 2;
TRACE("rtDrawRect(%ld, %ld, %ld, %ld) x=%ld, y=%ld, w=%ld, h=%ld",
TRACE("rtDrawRect(%d, %d, %d, %d) x=%d, y=%d, w=%d, h=%d\n",
pda->rtDrawRect.left, pda->rtDrawRect.top, pda->rtDrawRect.right, pda->rtDrawRect.bottom,
x, y, width, height);
@ -2707,7 +2743,7 @@ PRINTDLG_PS_WMCommandA(
WORD id = LOWORD(wParam);
char buf[200];
TRACE("loword (lparam) %d, wparam 0x%x, lparam %08lx\n",
TRACE("loword (lparam) %d, wparam 0x%lx, lparam %08lx\n",
LOWORD(lParam),wParam,lParam);
switch (id) {
case IDOK:
@ -2845,7 +2881,7 @@ static BOOL
PRINTDLG_PS_WMCommandW(
HWND hDlg, WPARAM wParam, LPARAM lParam, PageSetupDataW *pda
) {
TRACE("loword (lparam) %d, wparam 0x%x, lparam %08lx\n",
TRACE("loword (lparam) %d, wparam 0x%lx, lparam %08lx\n",
LOWORD(lParam),wParam,lParam);
switch (LOWORD(wParam)) {
case IDOK:
@ -2877,7 +2913,8 @@ PRINTDLG_PS_WMCommandW(
*/
static UINT_PTR
PRINTDLG_DefaultPagePaintHook(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam, PageSetupDataA *pda)
PRINTDLG_DefaultPagePaintHook(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam,
const PageSetupDataA *pda)
{
LPRECT lprc = (LPRECT) lParam;
HDC hdc = (HDC) wParam;
@ -3086,7 +3123,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
memcpy(&pda->curdlg, pda->dlga, sizeof(pda->curdlg));
hDrawWnd = GetDlgItem(hDlg, rct1);
TRACE("set property to %p", pda);
TRACE("set property to %p\n", pda);
SetPropA(hDlg, "__WINE_PAGESETUPDLGDATA", pda);
SetPropA(hDrawWnd, "__WINE_PAGESETUPDLGDATA", pda);
GetWindowRect(hDrawWnd, &pda->rtDrawRect); /* Calculating rect in client coordinates where paper draws */
@ -3172,7 +3209,7 @@ PRINTDLG_PageDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
pda->curdlg.ptPaperSize.x = tmp;
}
} else
WARN("GlobalLock(pda->pdlg.hDevMode) fail? hDevMode=%p", pda->pdlg.hDevMode);
WARN("GlobalLock(pda->pdlg.hDevMode) fail? hDevMode=%p\n", pda->pdlg.hDevMode);
/* Drawing paper prev */
PRINTDLG_PS_ChangePaperPrev(pda);
return TRUE;
@ -3311,7 +3348,7 @@ BOOL WINAPI PageSetupDlgA(LPPAGESETUPDLGA setupdlg) {
/* TRACE */
if(TRACE_ON(commdlg)) {
char flagstr[1000] = "";
struct pd_flags *pflag = psd_flags;
const struct pd_flags *pflag = psd_flags;
for( ; pflag->name; pflag++) {
if(setupdlg->Flags & pflag->flag) {
strcat(flagstr, pflag->name);
@ -3319,7 +3356,7 @@ BOOL WINAPI PageSetupDlgA(LPPAGESETUPDLGA setupdlg) {
}
}
TRACE("(%p): hwndOwner = %p, hDevMode = %p, hDevNames = %p\n"
"hinst %p, flags %08lx (%s)\n",
"hinst %p, flags %08x (%s)\n",
setupdlg, setupdlg->hwndOwner, setupdlg->hDevMode,
setupdlg->hDevNames,
setupdlg->hInstance, setupdlg->Flags, flagstr);
@ -3413,7 +3450,7 @@ BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW setupdlg) {
FIXME("Unicode implementation is not done yet\n");
if(TRACE_ON(commdlg)) {
char flagstr[1000] = "";
struct pd_flags *pflag = psd_flags;
const struct pd_flags *pflag = psd_flags;
for( ; pflag->name; pflag++) {
if(setupdlg->Flags & pflag->flag) {
strcat(flagstr, pflag->name);
@ -3421,7 +3458,7 @@ BOOL WINAPI PageSetupDlgW(LPPAGESETUPDLGW setupdlg) {
}
}
TRACE("(%p): hwndOwner = %p, hDevMode = %p, hDevNames = %p\n"
"hinst %p, flags %08lx (%s)\n",
"hinst %p, flags %08x (%s)\n",
setupdlg, setupdlg->hwndOwner, setupdlg->hDevMode,
setupdlg->hDevNames,
setupdlg->hInstance, setupdlg->Flags, flagstr);

View file

@ -59,7 +59,7 @@ typedef struct
} PRINT_PTRW;
/* Debugging info */
static struct pd_flags {
static const struct pd_flags {
DWORD flag;
LPCSTR name;
} pd_flags[] = {

View file

@ -40,7 +40,6 @@
#include "wine/debug.h"
#include "cderr.h"
#include "winspool.h"
#include "winerror.h"
WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
@ -56,8 +55,8 @@ typedef struct
/* Internal Functions */
static BOOL PRINTDLG_CreateDevNames16(HGLOBAL16 *hmem, char* DeviceDriverName,
char* DeviceName, char* OutputPort)
static BOOL PRINTDLG_CreateDevNames16(HGLOBAL16 *hmem, const char* DeviceDriverName,
const char* DeviceName, const char* OutputPort)
{
long size;
char* pDevNamesSpace;
@ -249,7 +248,7 @@ static HGLOBAL16 PRINTDLG_Get16TemplateFrom32(LPCSTR PrintResourceName)
if (!hGlobal16)
{
COMDLG32_SetCommDlgExtendedError(CDERR_MEMALLOCFAILURE);
ERR("alloc failure for %ld bytes\n", size);
ERR("alloc failure for %d bytes\n", size);
return 0;
}
template = GlobalLock16(hGlobal16);
@ -260,7 +259,7 @@ static HGLOBAL16 PRINTDLG_Get16TemplateFrom32(LPCSTR PrintResourceName)
GlobalFree16(hGlobal16);
return 0;
}
ConvertDialog32To16((LPVOID)template32, size, (LPVOID)template);
ConvertDialog32To16(template32, size, template);
GlobalUnlock16(hGlobal16);
return hGlobal16;
}
@ -291,7 +290,7 @@ static BOOL PRINTDLG_CreateDC16(LPPRINTDLG16 lppd)
* PRINTDLG_GetDlgTemplate
*
*/
static HGLOBAL16 PRINTDLG_GetDlgTemplate16(PRINTDLG16 *lppd)
static HGLOBAL16 PRINTDLG_GetDlgTemplate16(const PRINTDLG16 *lppd)
{
HGLOBAL16 hDlgTmpl, hResInfo;
@ -349,21 +348,21 @@ BOOL16 WINAPI PrintDlg16(
if(TRACE_ON(commdlg)) {
char flagstr[1000] = "";
struct pd_flags *pflag = pd_flags;
const struct pd_flags *pflag = pd_flags;
for( ; pflag->name; pflag++) {
if(lppd->Flags & pflag->flag)
strcat(flagstr, pflag->name);
}
TRACE("(%p): hwndOwner = %08x, hDevMode = %08x, hDevNames = %08x\n"
"pp. %d-%d, min p %d, max p %d, copies %d, hinst %08x\n"
"flags %08lx (%s)\n",
"pp. %d-%d, min p %d, max p %d, copies %d, hinst %08x\n"
"flags %08x (%s)\n",
lppd, lppd->hwndOwner, lppd->hDevMode, lppd->hDevNames,
lppd->nFromPage, lppd->nToPage, lppd->nMinPage, lppd->nMaxPage,
lppd->nCopies, lppd->hInstance, lppd->Flags, flagstr);
}
if(lppd->lStructSize != sizeof(PRINTDLG16)) {
ERR("structure size %ld\n",lppd->lStructSize);
ERR("structure size %d\n",lppd->lStructSize);
COMDLG32_SetCommDlgExtendedError(CDERR_STRUCTSIZE);
return FALSE;
}
@ -391,7 +390,7 @@ BOOL16 WINAPI PrintDlg16(
GetPrinterDriverA(hprn, NULL, 3, NULL, 0, &needed);
dbuf = HeapAlloc(GetProcessHeap(),0,needed);
if (!GetPrinterDriverA(hprn, NULL, 3, (LPBYTE)dbuf, needed, &needed)) {
ERR("GetPrinterDriverA failed for %s, le %ld, fix your config!\n",
ERR("GetPrinterDriverA failed for %s, le %d, fix your config!\n",
pbuf->pPrinterName,GetLastError());
HeapFree(GetProcessHeap(), 0, dbuf);
COMDLG32_SetCommDlgExtendedError(PDERR_RETDEFFAILURE);