Francois Gouget
27010a04ea
wordpad: Fix the case of the 'Del' accelerator key.
2012-01-23 16:07:23 +01:00
Francois Gouget
d125f35629
wordpad: Add a full stop at the end of error messages for consistency.
2012-01-23 16:07:09 +01:00
Alexandre Julliard
da35622b83
makefiles: Disable use of Unicode macros globally for all the programs.
2012-01-20 13:14:16 +01:00
Alexandre Julliard
f2fe53d6ab
wordpad: Avoid Unicode macros.
2012-01-20 12:07:24 +01:00
Alexandre Julliard
d9d4a06ca7
wordpad: Merge accelerators into the main resource file.
2011-12-19 20:15:54 +01:00
Alexandre Julliard
c4ed97d70b
wordpad: Convert dialogs to po files.
2011-11-01 11:52:09 +01:00
Michael Stefaniuc
3e59606a3c
wordpad: Don't compare with TRUE.
2011-10-03 09:43:31 -05:00
Francois Gouget
a37201c422
wordpad: Use a lowercase extension in a file filter.
2011-09-26 12:34:03 +02:00
Francois Gouget
6ecbe07be9
wordpad: Specify a message context for 'cm', 'in' and 'pt'.
2011-09-05 11:33:18 +02:00
Francois Gouget
c992ca277d
Assorted spelling fixes.
2011-08-24 19:07:46 +02:00
Francois Gouget
8a2ea06589
wordpad: Fix ellipsis usage in the menu labels.
2011-04-28 18:09:03 +02:00
Francois Gouget
3ec2b59f80
wordpad: Fix the background color menu label.
2011-03-16 14:14:23 +01:00
Igor Paliychuk
a24e8c8f0b
wordpad: Improve translations.
2011-02-14 13:33:35 +01:00
Alexandre Julliard
baeb0d971f
po: Unify the spelling of some menu entries across programs.
2011-01-14 18:26:22 +01:00
Alexandre Julliard
88daff74dc
wordpad: Convert menu and string table resources to po files.
2011-01-11 16:05:47 +01:00
Hwang YunSong
302415c3db
wordpad: Update Korean resource.
2011-01-10 12:41:35 +01:00
Cheer Xiao
5ee61dd51d
wordpad: Update Simplified Chinese translation.
2010-11-15 14:54:34 +01:00
André Hentschel
347049bca8
wordpad: Replace obsolete styles.
2010-11-03 11:08:55 +01:00
Yaron Shahrabani
e084c6cfee
wordpad: Added Hebrew translation.
2010-10-22 12:04:57 +02:00
Cheer Xiao
cdfdb7a633
wordpad: Update simplified Chinese translation.
2010-09-29 11:33:33 +02:00
Luca Bennati
112f7db179
wordpad: Update Italian translation.
2010-09-23 17:50:11 +02:00
Alexandre Julliard
bd9852cd6f
makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions.
2010-09-19 12:40:12 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Davide Pizzetti
a271097472
wordpad: Italian translation update.
2010-08-20 13:21:29 +02:00
Dylan Smith
d8a05c37d9
wordpad: Allow objects & images to be added with native riched20.
...
Native riched20.dll seems to need an IRichEditOleCallback object in
order to get a buffer to store the image (using the GetNewStorage
method).
2010-07-22 16:11:37 +02:00
Michael Stefaniuc
07bb27b692
wordpad: Remove the ignored common resource attributes.
2010-07-22 11:41:37 +02:00
Alexandre Julliard
6fb39dfe4a
programs: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:37 +02:00
Dylan Smith
c37cdce905
wordpad: Save and load word wrap registry options.
2010-07-20 13:13:04 +02:00
Dylan Smith
9de8357965
wordpad: Avoid filling overlapping rectangles in print preview.
...
This reduces the amount of flicker seen from redrawing the window.
2010-07-20 13:13:04 +02:00
Dylan Smith
0cd3ee3d91
wordpad: Remove sized print preview page buffer.
...
This extra buffer only saves the result of the StretchBlt operatation,
which isn't worth doing since a BitBlt will still be needed from the buffer
to the screen. This causes noticable delay on resizing since a new sized
bitmap needs to be created, the old bitmap needs to be destroyed, and then
both a StretchBlt and a Bitblt is needed to actually repaint the window.
2010-07-20 13:13:04 +02:00
Dylan Smith
6c9edce1a8
wordpad: Reduce unnecessary flicker from extra background erasing.
2010-07-20 13:13:04 +02:00
Dylan Smith
dd789d50f2
wordpad: Search finished message box should be modal.
2010-07-20 13:13:04 +02:00
Dylan Smith
fbd30765f0
wordpad: Find dialogs intialize find field with selection.
...
If there is a selection that doesn't span multiple paragraphs, then the
selection text initializes the find field in native wordpad, otherwise the
last search is used to initialize the field. I added an extra buffer,
since closing the find dialog before doing a search will preserve the last
search state.
2010-07-20 13:13:04 +02:00
Dylan Smith
72f735b25e
wordpad: Fix behaviour of find/replace dialog.
...
Pressing replace should only replace a selected match, and afterwards it
should find the next match. Searches should always start from the start of
the selection, even if the selection is moved in between searches. Searches
wrap at the end of text, and should keep track of whether it has wrapped
from previous searches to determine if it reached the end position.
2010-07-20 13:13:04 +02:00
Michael Stefaniuc
8b4986a0c3
wordpad: Fix the errors in the Chinese (Traditional) resources.
2010-07-13 17:04:16 +02:00
Cheer Xiao
61cb8ff21a
wordpad: Update simplified Chinese translation.
2010-07-13 16:28:13 +02:00
Michael Stefaniuc
7745ccc2ff
wordpad: Remove a stray and incomplete Portuguese (Neutral) resource.
2010-07-13 11:05:51 +02:00
Michael Stefaniuc
90e30f0739
wordpad: Fix an error in a Russian resource.
2010-07-13 11:05:47 +02:00
Alexander Nicolaysen Sørnes
f12a846d63
wordpad: Update Norwegian Bokmål translation.
2010-07-06 19:28:27 +02:00
Michael Stefaniuc
58c0f2de16
wordpad: Add the Romanian translation.
...
Translation by Claudia Cotună, reviewed by Alexandru Băluț.
2010-07-06 11:18:21 +02:00
Alexander Nicolaysen Sørnes
6cf3823a8c
wordpad: Update Norwegian Bokmål translation.
2010-06-30 16:19:32 +02:00
David Hedberg
ba7b2813cb
wordpad: Small update to the Swedish translation.
2010-06-29 10:54:50 +02:00
Igor Paliychuk
40c30b3452
wordpad: Ukrainian translation update.
2010-06-28 11:43:22 +02:00
Dylan Smith
0c50285e3e
wordpad: Use correct resource ID for tab stops dialog.
...
Fixes regression from commit 55f024afe1
.
2010-06-25 10:25:38 +02:00
Francois Gouget
a413afa3e5
wordpad: Make print_preview() and preview_page_hittest() static.
2010-06-24 10:35:08 +02:00
Dylan Smith
63b04e4abf
wordpad: Remove untranslated resources from the Chinese translation.
2010-06-24 10:31:31 +02:00
Gustavo Henrique Milaré
49c685e43a
wordpad: Fix Portuguese translation.
2010-06-24 10:30:50 +02:00
Gustavo Henrique Milaré
3fbe5d1e04
wordpad: Update Portuguese translation.
2010-06-23 15:31:25 +02:00
Michael Stefaniuc
8b0f3e1cf6
wordpad: Remove untranslated resources from the Turkish translation.
2010-06-21 11:47:00 +02:00
Michael Stefaniuc
fdf38b72d5
wordpad: "Fix" an error in the Norvegian translation.
2010-06-21 11:46:57 +02:00
Vitaly Lipatov
b974852ce1
Update Russian translations.
2010-06-18 16:22:07 +02:00
Michael Stefaniuc
fa2b3b1af2
wordpad: "Fix" two errors in the Chinese translations.
...
By removing two stale copies of an English STRINGTABLE resource.
2010-06-17 11:47:26 +02:00
Michael Stefaniuc
31f8cbd513
wordpad: Remove untranslated resources from the Hungarian translation.
2010-06-17 11:47:21 +02:00
Dylan Smith
250855bfb0
wordpad: Fix failing GetDlgItem that forced screen repaint.
...
The rebar is the parent of the ruler, not the top level window, so
GetDlgItem was returning NULL when the window is resized. As a result the
screen was being invalidated and repainted instead of the ruler.
2010-06-15 18:29:07 +02:00
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