Ricardo Filipe
f5fba7563e
wordpad: Update Portuguese Portugal translation.
2010-06-12 12:07:40 +02:00
Dylan Smith
975dd904ef
wordpad: Provide buffer for replace with text.
2010-06-11 11:38:53 +02:00
Dylan Smith
d10ce5df26
wordpad: Native RegisterClassExW requires cbSize to be set.
2010-06-11 11:37:02 +02:00
Sven Baars
5f933967b7
wordpad: Fix Dutch translation.
2010-06-07 13:41:37 +02:00
Akihiro Sagawa
572950b23f
wordpad: Update Japanese translation.
2010-06-07 13:41:01 +02:00
Łukasz Wojniłowicz
d13cc63168
wordpad: Update the Polish translation.
2010-06-07 12:54:26 +02:00
Hwang YunSong
75cb09fdab
wordpad: Update Korean resource.
2010-06-02 16:01:53 +02:00
Paul Vriens
96a6e75897
wordpad: Update the Danish translation and convert to UTF-8.
...
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-02 10:53:05 +02:00
Luca Bennati
01c72bece8
wordpad: Update Italian translation.
2010-05-31 12:14:28 +02:00
Gerald Pfeifer
f26b4f68e7
wordpad: Remove variable bottom which is not really used from print.
2010-05-26 10:19:03 +02:00
Joel Holdsworth
00ff0db708
wordpad: Replaced formatbar.bmp with a Tango compliant tool strip.
2010-05-17 12:42:33 +02:00
Joel Holdsworth
4ac898d7cf
wordpad: Replaced toolbar.bmp with a Tango compliant tool strip.
2010-05-17 12:42:33 +02:00
Matej Špindler
ebdf7edfcc
wordpad: Update Slovenian translation.
2010-05-17 12:42:31 +02:00
Frédéric Delanoy
1fcf509336
wordpad: Update French translation.
2010-05-13 19:44:49 +02:00
André Hentschel
af84fc4d1b
wordpad: Update German translation.
2010-05-12 13:44:16 +02:00
Sven Baars
32b821d057
wordpad: Update Dutch translation.
2010-05-12 13:44:11 +02:00
Aurimas Fišeras
246aa6385a
wordpad: Update Lithuanian translation.
2010-05-12 13:44:06 +02:00
Katayama Hirofumi MZ
c92691e1f5
wordpad: Add units (in/inch/pt).
2010-05-11 11:26:36 +02:00
Sven Baars
51e653b567
wordpad: Fix Dutch translation.
2010-05-08 13:12:40 +02:00
Gerald Pfeifer
2488c8a545
wordpad: Remove variable i which is not really used from OnCommand.
2010-04-26 07:00:53 -05:00
Davide Pizzetti
f54fd9ac86
wordpad: Italian translation update.
2010-04-21 11:07:45 +02:00
Paul Vriens
26e93215a4
wordpad: Update/fix Dutch translation.
2010-04-20 17:46:36 +02:00
Gerald Pfeifer
62871e0b71
wordpad: Remove variable hwndPreview which is not really used from init_preview.
2010-04-20 16:22:34 +02:00
Alexandre Julliard
b2e7e5c353
wordpad: Set the window small icon, and get rid of old icons.
2010-04-19 20:13:34 +02:00
Joel Holdsworth
2e1eb89679
wordpad: Replaced program icon with a Tango compliant icon.
2010-04-16 14:13:19 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Hwang YunSong
5c5f37a6c7
wordpad: Update Korean translation.
2010-03-02 11:14:19 +01:00
Anders Jonsson
61a56d3492
wordpad: Update Swedish translation.
2010-03-02 11:12:10 +01:00
Detlef Riekenberg
b6439286b6
wordpad: Update German print preview translation.
2010-02-26 13:02:09 +01:00
Aurimas Fišeras
2e91ca1759
wordpad: Update Lithuanian translation.
2010-02-26 13:02:05 +01:00
Dylan Smith
bb58537e95
wordpad: Show page numbers in statusbar for print preview.
2010-02-25 12:11:13 +01:00
Dylan Smith
3355be3e5d
wordpad: Number of preview pages to show when unzoomed is persistent.
...
Either one or two pages may be shown in print preview when zoomed out.
This value is stored in the registry in native wordpad, and preserved
while opening and closing the print preview. Zooming in will only show one
page, but the pages shown value must be saved because it will return to the
preview pages shown value after unzooming completely. If two pages should
be shown when there is only one page of text, then a second blank page is
shown.
2010-02-24 15:12:30 +01:00
Dylan Smith
adc2c9547e
wordpad: Added zoom cursor for print preview.
...
In print preview you can zoom in by left clicking on one of the pages. The
zoom cursor is displayed whenever the mouse is over the page to indicate to
the user that they can zoom in. When fully zoomed in it will zoom out when
this is done again. When clicking on the second page, it will zoom into
that page.
2010-02-24 15:12:30 +01:00
Dylan Smith
3264450c35
wordpad: Avoid forward declarations in print.c.
2010-02-22 12:08:28 +01:00
Dylan Smith
20dea9a890
wordpad: Don't waste time getting the number of preview pages.
...
For print preview it will take more time to wait for the whole text to be
wrapped for EM_FORMATRANGE than to wait for just the first page. Trying to
get the total number of pages will cause the whole test to be wrapped.
Instead all that is needed is to just determine if a page is the last page,
which can be determined by it's page end offset compared to the text length.
2010-02-22 12:08:20 +01:00
Dylan Smith
f235c48cae
wordpad: Avoid unnecessary deletion of hdcSized.
2010-02-22 12:08:11 +01:00
Dylan Smith
8f19111325
wordpad: Cache text length.
2010-02-22 12:08:06 +01:00
Dylan Smith
7a9f72863d
wordpad: Update bitmaps outside of WM_PAINT.
...
This avoids having to delete the device context and the bitmap selected
into it just to update the bitmap, since it was setting preview.hdc to
NULL to indicate that these bitmaps needed to be updated. This patch
also helps make WM_PAINT messages get processed faster by moving this out
of the code for handling WM_PAINT.
2010-02-22 12:07:59 +01:00
Dylan Smith
a75bf390d7
wordpad: Use pages_shown variables to indicate pages shown.
...
Previously hdc2 needed to be deleted and set to NULL to indicate that only
one page should be shown. I have avoided this using a new variable for
the preview structure.
The device context were also being deleted without deleting the bitmaps
created for them and selected into them, so this patch also gets these
bitmaps and deletes them with their device context.
2010-02-22 12:07:49 +01:00
Dylan Smith
b278101580
wordpad: Get preview page character boundaries with number of pages.
...
Rather than making seperate calls to EM_FORMATRANGE to get the number of
pages and the character boundaries, it would be easiest to get both
together. The time to process EM_FORMATRANGE seems like it would take a
lot longer than the time needed to cache the character page boundaries.
2010-02-22 12:07:33 +01:00
Dylan Smith
7451facf2f
wordpad: Added missing calls to DeleteDC and ReleaseDC.
2010-02-22 12:07:22 +01:00
Dylan Smith
2397171cf3
wordpad: Added text colour toolbar button.
2010-02-18 12:42:46 +01:00
Dylan Smith
003e7e9675
wordpad: Avoid making monochrome bitmaps for print preview.
...
Previewly monochrome bitmaps were being created by CreateCompatibleBitmap
because the hdc passed into that call came from CreateCompatibleDC which is
initialized with a single pixel monochrome bitmap.
2010-02-18 12:18:26 +01:00
Dylan Smith
7aba35c608
wordpad: Fixed quick print so that it doesn't print blank pages.
2010-02-10 11:35:01 +01:00
Vladimir Pankratov
5af24c31ec
wordpad: Update Russian translation.
2010-02-08 17:14:44 +01:00
Frédéric Delanoy
f6aaddbd3b
wordpad: Update French translation.
2010-02-02 11:47:20 +01:00
Frédéric Delanoy
51a6153672
wordpad: Fix typo in keyboard shortcut.
2010-02-02 11:47:20 +01:00
Igor Paliychuk
c0c5ab16e1
wordpad: Update Ukrainian translations.
2010-02-01 12:08:54 +01:00
Luca Bennati
9f7c68fd92
wordpad: Add Italian translation.
2010-02-01 12:03:30 +01:00
André Hentschel
0c470a3362
wordpad: Fix German translation.
2010-02-01 12:00:22 +01:00
Anders Jonsson
18b918d0c4
wordpad: Update Swedish translation.
2010-02-01 11:59:46 +01:00
Aurimas Fišeras
6b64799c18
wordpad: Update Lithuanian translation.
2010-02-01 11:59:43 +01:00
Dylan Smith
0c46da86bf
wordpad: Implement zooming in for print preview.
...
The preview is now drawn onto it's own window rather directly onto
the client area of the top level window. This is done to allow for
scrollbars, since the page won't usually fit in the window when zoomed in.
Refactoring was needed as a result of this, and in order to provide more
granularity for updates to avoid EM_FORMATRANGE messages being sent when
the page the same page is being displayed.
2010-01-29 14:59:02 +01:00
Dylan Smith
aaabd9f2f3
wordpad: Fixed spacing calculations for print preview.
2010-01-29 14:59:02 +01:00
Igor Paliychuk
05450498d0
wordpad: Add Ukrainian translations.
2010-01-29 13:30:04 +01:00
Dylan Smith
ad52ae67a5
wordpad: Don't render the text when getting the number of pages.
...
EM_FORMATRANGE will render the text if wParam is non-zero, and there
is no reason to actually render the text when just getting the number
of pages.
2010-01-27 18:46:06 +01:00
Dylan Smith
fc473e0f63
wordpad: Reset rc.bottom between calls to EM_FORMATRANGE.
...
EM_FORMATRANGE will set rc.bottom within the FORMATRANGE struct to be the
bottom of the area actually printed to, so this must be reset between calls
to make sure that the page boundaries are consistent between the pages.
2010-01-27 18:46:06 +01:00
Alexandre Julliard
55f024afe1
wordpad: Use the main module instance instead of getting it from the window.
2009-12-28 14:20:37 +01:00
Michael Stefaniuc
cdaba88592
wordpad: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:14 +01:00
Austin English
0b7903c46c
wordpad: Only allow one find/replace window.
2009-11-23 13:09:13 +01:00
Andrey Turkin
64d488065a
programs: Update Russian translations.
2009-10-20 13:46:42 +02:00
Dylan Smith
19c6edd497
wordpad: Use smaller cbSize for REBARBANDINFOW for compatibility.
...
The cbSize field for the REBARBANDINFOW structure was previously set to
the sizeof(REBARBANDINFOW), however, new fields were added to this
structure for newer version of windows. Testing in Windows XP (or with
comctl32.dll from Windows XP) I found this larger size was rejected
causing the rebar to not be displayed in wordpad.
2009-08-17 13:57:50 +02:00
Dylan Smith
0c862dea00
wordpad: Use richedit class string macro from public headers.
2009-08-10 17:10:39 +02:00
Hwang YunSong
15ff2246b8
wordpad: Updated Korean resource.
2009-08-03 16:01:02 +02:00
Vladimir Pankratov
60dcd6365e
wordpad: Convert the Russian resources to UTF-8.
2009-07-23 11:22:44 +02:00
Paul Vriens
a607df2b69
wordpad: Align resources with the English ones.
2009-07-21 14:23:32 +02:00
Ricardo Filipe
87d5d882b3
wordpad: Update Portuguese translation and convert to UTF8.
2009-07-17 14:28:11 +02:00
Michael Stefaniuc
0c110597db
wordpad: Change some string resource ids to logically group the strings in separate STRINGTABLEs.
2009-07-17 11:22:07 +02:00
Huw Davies
6df07402c0
wordpad: Add English neutral translations.
2009-07-08 20:15:03 +02:00
Frédéric Delanoy
adea830ad7
wordpad: Fix French translation & UI display.
2009-07-07 11:00:09 +02:00
Alexander Nicolaysen Sørnes
0bb5ab6355
wordpad: Update Norwegian Bokmål translation.
2009-07-03 14:28:45 +02:00
Michael Stefaniuc
eaa31f33d6
wordpad: Build language resource files separately.
...
Do not include them from an other rc file.
2009-07-02 11:44:07 +02:00
Aric Stewart
f30387197c
wordpad: Update Japanese resource.
2009-07-01 15:29:48 +02:00
Aurimas Fišeras
41853ebc45
wordpad: Add Lithuanian translation.
2009-06-29 12:25:55 +02:00
Matej Spindler
ab750ba204
wordpad: Update Slovenian translation.
2009-06-26 11:59:47 +02:00
Jonathan Ernst
367816c0ff
wordpad: Updated French translation.
2009-06-09 17:01:13 +02:00
André Hentschel
563542ed07
wordpad: Add German translation.
2009-06-08 12:42:12 +02:00
Rein Klazes
9e8f2a7024
programs: Make some of the open file dialogs of a few programs resizable.
2009-05-06 12:20:10 +02:00
Michael Stefaniuc
410c00fae4
wordpad: "Fix" the Turkish translation.
...
Remove the untranslated and incomplete STRINGTABLE.
2009-04-21 13:16:19 +02:00
Frans Kool
38d9989fba
wordpad: Fixed Dutch translations.
2009-04-16 11:28:17 -05:00
Michael Stefaniuc
645486e8c2
wordpad: Replace long with LONG.
2009-04-07 11:21:45 +02:00
Anders Jonsson
bd1a69220a
wordpad: Update Swedish translation.
2009-03-27 11:23:28 +01:00
Hwang YunSong(황윤성)
9b309b0142
wordpad: Updated Korean resource.
2009-03-02 12:30:30 +01:00
Dylan Smith
8e8c02a71f
wordpad: Sort tab stops by numeric value rather than as string.
...
The bug could be seen by inserting tabs stops 1cm, 2cm, & 10cm. The
10cm tab stop would be inserted before 2cm since the comparison isn't
based on the numeric value.
2009-02-26 12:10:51 +01:00
Dylan Smith
0292135a92
wordpad: Show error when user tries to add more than max tab stops.
...
Previously there was no such error, and if more than MAX_TAB_STOPS were
added, then some of the tab stops would be silently discarded.
2009-02-26 12:10:38 +01:00
Anders Jonsson
fed3c945f0
wordpad: Add Swedish translation.
2009-01-20 15:17:25 +01:00
Michael Stefaniuc
688bdb645f
wordpad: Remove superfluous pointer casts.
2009-01-19 12:46:42 +01:00
Dmitry Timoshkov
1793f55f35
wordpad: Use "-1" as a "don't care value", fix dialog id duplicates.
2009-01-14 12:22:10 +01:00
Dylan Smith
35680c83d1
wordpad: Use unicode version of CBEM_GETITEM message.
2009-01-09 14:06:13 +01:00
Dylan Smith
02c7d192b0
wordpad: Use winelib's sprintfW for floating point formatting.
...
This fixes a regression introduced by commit
ef23ef9335
.
2009-01-09 14:06:13 +01:00
Jonathan Ernst
bd91afcea4
wordpad: Updated French translation.
2008-12-17 13:52:39 +01:00
ByeongSik Jeon
5f3287d79f
*Ko.rc: Update Korean resource.
...
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon
1b0297a7f9
*Zh.rc: Update the Chinese resource font name to "MS Shell Dlg".
2008-12-11 12:20:48 +01:00
Rico Schüller
bd923fd307
wordpad: Fix German translation.
2008-12-10 10:48:49 +01:00
Rok Mandeljc
d551d73c1d
wordpad: Updated Slovenian translation.
2008-12-08 12:01:33 +01:00
Hwang YunSong(황윤성)
f927b89f3d
wordpad: Updated Korean resource.
2008-11-24 14:41:29 +01:00
Hirofumi Katayama
1b8f4b9e48
wordpad: Update resources for date and time dialog.
2008-11-17 13:15:17 +01:00
Hirofumi Katayama
7984e70697
wordpad: Accept double-click in date and time dialog.
2008-11-12 11:49:11 +01:00
Andrey Turkin
783b855f42
wordpad: Do not pass resource ids to MessageBox.
2008-10-23 12:45:08 +02:00
Ricardo Filipe
511226c8ac
wordpad: Added Portuguese translation.
2008-10-22 13:54:54 +02:00
Hwang YunSong(황윤성)
07badc790a
wordpad: Updated Korean resource.
2008-10-20 14:36:58 +02:00
Frans Kool
730d23046d
wordpad: Corrected Dutch translations.
2008-10-15 16:45:14 +02:00
Andrey Turkin
71c01bb974
wordpad: Do not try to close uninitialized handles.
2008-10-15 12:21:59 +02:00
Dylan Smith
f124a586d4
wordpad: Added option to disable word wrap.
2008-10-14 13:41:55 +02:00
Andrey Turkin
dfb64699bf
wordpad: Do not leak a handle on error path.
2008-10-13 11:55:29 +02:00
Andrey Turkin
ef23ef9335
wordpad: Use inches instead of cm in calculations.
2008-10-13 11:55:24 +02:00
Muneyuki Noguchi
613685f6d1
wordpad: Convert Japanese resource to UTF-8.
2008-10-13 11:40:30 +02:00
Andrey Turkin
fbfb165d56
wordpad: Fix some compile-time warnings.
2008-10-10 14:13:07 +02:00
Andrey Turkin
c53b772394
wordpad: Convert some ANSI calls to Unicode.
2008-10-10 14:12:43 +02:00
Andrey Turkin
566dcd78fe
wordpad: Fix some unicode bugs.
2008-10-10 14:12:32 +02:00
Muneyuki Noguchi
595dc28620
wordpad: Use "MS Shell Dlg" 9 in Japanese resources.
2008-09-25 13:27:58 +02:00
Gerald Pfeifer
95613fbdd2
wordpad: Shed off unused parameters from on_fontlist_modified, OnCreate, OnUser, OnNotify, and OnInitPopupMenu.
2008-09-09 11:46:14 +02:00
Michael Stefaniuc
ba94f959db
worpad: Fix the German translation.
2008-09-08 12:47:20 +02:00
Michael Stefaniuc
5f8ab11751
wordpad: Change the encoding of the German resource file to utf-8.
2008-09-08 12:47:20 +02:00
Michael Stefaniuc
d94a90273e
wordpad: Fix the Hungarian translation by removing an untranslated and incomplete STRINGTABLE.
2008-09-08 12:47:20 +02:00
Katayama Hirofumi MZ
13359ce22b
wordpad: Added Japanese resource.
2008-09-02 21:34:55 +02:00
Hongbo Ni
1e4704195e
wordpad: Add simplified and traditional Chinese resources.
2008-09-02 11:57:55 +02:00
David Adam
2ca1fe29b8
wordpad: Update the French translation.
2008-08-21 13:26:56 +02:00
Gerald Pfeifer
412cd04cfc
wordpad: Remove unused parameter for preview_command().
2008-07-23 11:20:50 +02:00
Frans Kool
c91eb084ce
wordpad: Added missing Dutch translations.
2008-07-21 14:37:13 +02:00
Alexander Nicolaysen Sørnes
b69592416c
wordpad: Show error if file open fails.
2008-07-18 11:05:50 +02:00
Frans Kool
4c31603eb6
wordpad: Fixed and added Dutch translations.
2008-07-16 17:53:50 +02:00
Alexander Nicolaysen Sørnes
bd2734d9c6
wordpad: Show error message if saving fails.
2008-07-14 12:25:24 +02:00
Dylan Smith
e3efa88c45
richedit: Cannot undo setting of default character format.
...
This also reverts commit 2b52dd845097f16076c0185b02a003f63898dcab:
wordpad: Empty the richedit undo buffer on creation.
The reverted commit I created to fix an issue that only applied to Wine,
but it just masked the issue which was in richedit controls. The
default character format was set in two places while wordpad was
starting up, and caused wordpad to have two undo items at startup.
2008-07-14 12:22:44 +02:00
Dylan Smith
fcaa599181
wordpad: Properly save window rect on closing Min/Maximized windows.
...
Previously the window size and position was obtained in such a way that
when the window is closed while minimized, it would be hidden when the
program is started again. Closing a maximized window would save the
size of the maximized window and use it as the normal/restored size when
the program is started again.
2008-07-04 20:24:54 +02:00
Dmitry Timoshkov
da88293338
wordpad: Pass correct parameters to WM_SIZE message handler.
2008-06-27 12:32:21 +02:00
Dylan Smith
8769e706cc
wordpad: Fixed a bug in setting the recent file list in the registry.
2008-06-20 12:34:57 +02:00
Dylan Smith
d0927f63aa
wordpad: Fixed bugs that prevented setting alignment through dialog.
...
The combobox to select the alignment in the paragraph format dialog
did not have enough height to display the dropdown list. Also, code was
missing to set the alignment when OK button is pressed. This patch fixes
these issues.
2008-06-20 12:34:39 +02:00
Dylan Smith
7fe5d6ad60
wordpad: Fixed calculations for the paragraph format dialog.
2008-06-20 12:32:52 +02:00
Dylan Smith
2ee7bcc13c
wordpad: Apply changes on dropdown selection for comboboxes on toolbar.
...
The changes were previously being applied only when the combobox's edit
control lost focus notifying an end edit event. In addition, the
selection of an item from the dropdown list should also cause the
changes to be applied. New functions were created to handle the
duplication in expected behaviour for these two events.
2008-06-20 12:32:30 +02:00
Dylan Smith
6fab4754d7
wordpad: Fixed the font size validation for the toolbar's combobox.
2008-06-20 12:30:47 +02:00
Dylan Smith
536edd7bfc
wordpad: Added style to the richedit control to not hide selection.
...
When run with the native richedit control the selection will be hidden
when focus is lost without the ES_NOHIDESEL style applied to the
richedit control. This can be annoying in native windows when focus is
on a combobox in the toolbar, because it won't show what text will be
changed. This patch adds the ES_NOHIDESEL style to be consistent with
native wordpad.
2008-06-20 12:29:39 +02:00
Francois Gouget
d81fb8e027
Remove spaces before '...' in the Danish resources.
2008-06-16 15:52:21 +02:00
Matthias Kupfer
0e074d6dd6
wordpad: Small typo fix for German translation.
2008-06-16 15:51:46 +02:00
Michael Stefaniuc
76a80d24ae
wordpad: Fix the Turkish translation.
2008-06-06 10:28:02 +02:00
Francois Gouget
39cb432b68
Fix the resources to remove extraneous spaces in '...'.
2008-06-05 15:53:05 +02:00
Francois Gouget
b4bf3553c4
wordpad: Remove extraneous spaces in '...'.
2008-06-02 14:13:50 +02:00
Dylan Smith
76f2a0f333
wordpad: Added a null terminator needed for a unicode string.
2008-05-28 11:30:27 +02:00
Dylan Smith
4a9adfa04c
wordpad: Removed spaces between dots in ellipses for english menu text.
2008-05-28 11:30:06 +02:00
Alexandre Julliard
0e3eda3425
programs: Use the Wine import libraries when compiling with MinGW.
2008-05-26 19:26:06 +02:00
Dylan Smith
2b52dd8450
wordpad: Empty the richedit undo buffer on creation.
2008-05-08 11:10:49 +02:00
Jens Albretsen
19f452a5a9
wordpad: Added Danish translation.
2008-05-05 13:35:56 +02:00
Eric Pouech
2cf1925eb4
wordpad: Open the filename passed on command line if any.
2008-04-28 13:27:51 +02:00
Tomasz Nowiński
df90b52627
Fixed typos in the Polish translations.
2008-04-21 20:34:47 +02:00
Alexandre Julliard
2004d2b2f6
wordpad: Don't pass an invalid DC to CreateCompatibleDC.
2008-04-14 12:05:57 +02:00
Dmitry Timoshkov
2c8476a078
wordpad: Fix Win64 warnings.
2008-04-09 16:27:20 +02:00
Hwang YunSong(황윤성)
4611dc0a4b
wordpad: Updated Korean resource.
2008-04-09 12:19:58 +02:00
Rok Mandeljc
c8c89e682d
wordpad: Added Slovenian translation.
2008-04-08 11:56:17 +02:00
Alexandre Julliard
a54ac90000
wordpad: Display the larger icon in the about box.
2008-04-02 20:05:33 +02:00
Herve Chanal
a4e01d67b5
wordpad: A nicer icon.
2008-04-02 20:05:20 +02:00