Commit Graph

365 Commits

Author SHA1 Message Date
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
Michael Stefaniuc a1cec6b619 wordpad: Update the German translation. 2008-03-31 12:14:16 +02:00
Vitaliy Margolen 5b690b0885 Update Russian translations. 2008-03-28 09:53:44 +01:00
Michael Stefaniuc 1bdd2ab628 wordpad: Remove bogus ';' after the if statement. 2008-03-27 17:47:53 +01:00
Alexander Nicolaysen Sørnes 1ea82f7cd4 wordpad: Add support for previewing two pages side-by-side. 2008-03-27 11:05:45 +01:00
Eric Pouech 704de609e6 wordpad: Don't try to use information that hasn't been initialized yet. 2008-03-24 12:12:26 +01:00
Peter Oberndorfer d8b2f161b0 wordpad: Use correct prototype for dialog functions. 2008-03-04 11:18:53 +01:00
Mikołaj Zalewski e2e2066200 wordpad: Always use RB_GETBARHEIGHT. 2008-02-28 10:50:45 +01:00
Mikołaj Zalewski a8fd0e0d69 wordpad: File > New now opens a dialog so there should be an ellipsis at the end. 2008-02-15 09:55:50 +01:00
Mikołaj Zalewski 0027353107 wordpad: Update Polish translation. 2008-02-15 09:55:46 +01:00
Marcus Meissner fa6937f4a5 wordpad: Remove condition that never triggers. 2008-02-04 11:13:26 +01:00
Andrey Esin cec519c753 wordpad: Corrections in Russian translation. 2008-01-16 12:16:13 +01:00
Andrej Sinicyn 4278c3fe84 wordpad: Update German strings and correct shortcuts to match XP wordpad. 2008-01-15 14:36:22 +01:00
Andrey Esin 44923ffb2b wordpad: Adding to Russian translation. 2008-01-15 14:35:48 +01:00
Alexander Nicolaysen Sørnes 9a1b626481 wordpad: Add basic ruler. 2008-01-14 15:31:37 +01:00
Alexander Nicolaysen Sørnes e1e147da4d wordpad: Fix width when text break = margins. 2008-01-14 15:31:37 +01:00
Andrey Esin fd78ab799b wordpad: Russian translation. 2008-01-08 12:55:09 +01:00
Alexander Nicolaysen Sørnes fb5d0bfee1 wordpad: Draw margin lines in print preview. 2008-01-08 12:54:34 +01:00
Alexandre Julliard c7278c21bd wordpad: Fix invalid pointer usage. 2007-12-12 22:32:38 +01:00
Alexander Nicolaysen Sørnes 7f03c2f5bd wordpad: Move registry functions to a separate file. 2007-12-12 13:49:07 +01:00
Alexandre Julliard 2702da6977 wordpad: Fix a compiler warning. 2007-12-10 15:15:42 +01:00
Jonathan Ernst 9efa4daa4c wordpad: Updated French translation. 2007-12-05 12:21:47 +01:00
Alexander Nicolaysen Sørnes a1378190a5 wordpad: Move printing functions to a separate file. 2007-11-20 14:58:03 +01:00
Alexander Nicolaysen Sørnes 62d90a60ca wordpad: Fix print preview bar. 2007-11-20 14:56:19 +01:00
Alexander Nicolaysen Sørnes 04aefe8647 wordpad: Refer to main menu using IDM_MAINMENU. 2007-11-20 14:56:11 +01:00
Jonathan Ernst c3ff4ddcff wordpad: Updated French translation. 2007-11-15 12:48:40 +01:00
Hwang YunSong(황윤성) d97a491b69 wordpad: Updated Korean resource. 2007-10-25 13:56:51 +02:00
Dmitry Timoshkov 6b8ee0e41f wordpad: Refuse to load OLE compound storage files like Windows does. 2007-10-17 13:40:26 +02:00
Alexandre Julliard eb03098681 wordpad.exe: We can now store binary files in the repository. 2007-09-18 13:36:58 +02:00
Francois Gouget 03d7f2d4ad wordpad: Fix compilation on systems that don't support nameless unions. 2007-09-18 11:21:11 +02:00
Hwang YunSong(황윤성) 754569f608 wordpad: Updated Korean resource. 2007-09-17 12:09:20 +02:00
Alexander Nicolaysen Sørnes 7226f88f55 wordpad: Prevent white flickering on window resize. 2007-09-13 10:59:39 +02:00
Alexander Nicolaysen Sørnes 8710108b24 wordpad: Clean up font effects toggling code. 2007-09-13 10:59:32 +02:00
Alexander Nicolaysen Sørnes 0397146d72 wordpad: Resize rebar control on window resize. 2007-09-13 10:59:25 +02:00
Alexander Nicolaysen Sørnes b3162df54a wordpad: Remove RB_SIZETORECT call. 2007-09-13 10:59:19 +02:00
Alexander Nicolaysen Sørnes 93dc2338b2 wordpad: More error handling for printing/print preview. 2007-09-13 10:59:12 +02:00
Alexander Nicolaysen Sørnes f6cc0086fe wordpad: Allow changing font effects in the choose font dialog. 2007-09-13 10:59:03 +02:00
Alexander Nicolaysen Sørnes 48aba990bc wordpad: Add replace dialog. 2007-09-13 10:58:53 +02:00
Alexander Nicolaysen Sørnes 917fc5fd48 wordpad: Set icon according to format. 2007-09-13 10:57:16 +02:00
Alexander Nicolaysen Sørnes 4c3980da73 wordpad: Add font dialog. 2007-09-13 10:56:03 +02:00
Alexander Nicolaysen Sørnes 58b09f0227 wordpad: Add font size list. 2007-09-13 10:55:54 +02:00
Alexander Nicolaysen Sørnes 72fdadbd18 wordpad: Add font list. 2007-09-13 10:55:24 +02:00
Alexander Nicolaysen Sørnes cd64bf8e4d wordpad: Add initial print preview support. 2007-09-12 13:32:06 +02:00
Alexander Nicolaysen Sørnes 7fa0590e5a wordpad: Add view options dialog. 2007-09-12 13:31:43 +02:00
Alexander Nicolaysen Sørnes dfb29f4d15 wordpad: Add about window. 2007-09-12 13:31:36 +02:00
Alexander Nicolaysen Sørnes 5bc0dfc28c wordpad: Add context menu. 2007-09-12 13:31:10 +02:00
Alexander Nicolaysen Sørnes 05e6a4e60c wordpad: Add support for printing a page range. 2007-09-12 13:30:56 +02:00
Alexander Nicolaysen Sørnes cd97bf4e74 wordpad: Re-order format clearing when selecting new file. 2007-09-12 13:30:51 +02:00
Alexander Nicolaysen Sørnes f586e1cce1 wordpad: Add quick print support. 2007-09-12 13:30:46 +02:00
Alexander Nicolaysen Sørnes 6d73cd1138 wordpad: Store page margins in the registry. 2007-09-12 13:30:39 +02:00
Alexander Nicolaysen Sørnes d5bb616913 wordpad: Add page setup dialog. 2007-09-12 13:30:11 +02:00
Alexander Nicolaysen Sørnes 61876c7205 wordpad: Add initial printing support. 2007-09-12 13:30:00 +02:00
Alexander Nicolaysen Sørnes 695a94f139 wordpad: Add tab stops dialog. 2007-09-12 13:29:47 +02:00
Alexander Nicolaysen Sørnes fd129c23d9 wordpad: Add paragraph format dialog. 2007-09-12 13:29:37 +02:00
Alexander Nicolaysen Sørnes 1faecfe6ed wordpad: Set default font according to format. 2007-09-12 13:29:08 +02:00
Alexander Nicolaysen Sørnes 5a2efbcb7d wordpad: Support drag-and-drop. 2007-09-12 13:29:04 +02:00
Alexander Nicolaysen Sørnes d95fac1575 wordpad: Store bar states in the registry. 2007-09-12 13:28:51 +02:00
Hwang YunSong(황윤성) 108d86be77 wordpad: Updated Korean resource. 2007-08-27 11:58:10 +02:00
Alexander Nicolaysen Sørnes d13541f86c wordpad: Don't display full path in save changes dialog. 2007-08-23 12:39:25 +02:00
Alexander Nicolaysen Sørnes 219c47338a wordpad: Don't show full path in caption. 2007-08-23 12:39:19 +02:00
Alexander Nicolaysen Sørnes fef9879ce4 wordpad: Store window rect in the registry. 2007-08-22 12:19:00 +02:00
Alexander Nicolaysen Sørnes 54a5aed7b4 wordpad: Clear formatting before opening a file. 2007-08-22 12:19:00 +02:00
Alexander Nicolaysen Sørnes bbc20456aa wordpad: Prompt for format when selecting new file. 2007-08-22 12:19:00 +02:00
Alexander Nicolaysen Sørnes 425c2c6424 wordpad: Handle different formats on open/save. 2007-08-22 12:18:59 +02:00
Alexander Nicolaysen Sørnes 07d60bc727 wordpad: Add recent file list. 2007-08-22 12:18:59 +02:00
Alexander Nicolaysen Sørnes b3c369d1cc wordpad: Fix save changes prompt for the open file dialogue. 2007-08-20 12:42:44 +02:00
Alexander Nicolaysen Sørnes 063a6777c2 wordpad: Add bullet points button. 2007-08-20 12:42:23 +02:00
Alexander Nicolaysen Sørnes d4ddb7f3be wordpad: Add bullet points option. 2007-08-20 12:42:16 +02:00
Alexander Nicolaysen Sørnes 09161365f9 wordpad: Fix error handling when saving empty files. 2007-08-20 12:42:07 +02:00
Alexander Nicolaysen Sørnes c7ca877b12 wordpad: Fix formatbar for native comctl32/XP. 2007-08-20 12:41:58 +02:00
Alexander Nicolaysen Sørnes 3161a3cd5d wordpad: Display error box when richedit loading fails. 2007-08-20 12:41:12 +02:00
Alexander Nicolaysen Sørnes 55949aedd4 wordpad: Add search functionality. 2007-08-20 12:39:47 +02:00
Dmitry Timoshkov 197f4059ab include: winres.h no longer exists in PSDK, fix winresrc.h includes. 2007-08-07 14:09:09 +02:00
Hwang YunSong(황윤성) d46d87a421 wordpad: Updated Korean resource. 2007-07-23 11:58:42 +02:00
Alexander Nicolaysen Sørnes 0b381cee30 wordpad: Resize rebar control on window resize. 2007-07-20 11:47:30 +02:00
Alexander Nicolaysen Sørnes 5ae5da912f wordpad: Add date/time toolbar button. 2007-07-19 14:49:17 +02:00
Alexander Nicolaysen Sørnes 4c6c9e596f wordpad: Add date/time dialog. 2007-07-19 14:48:51 +02:00
Michael Stefaniuc 9a522589fb programs: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:53 +02:00
Hwang YunSong(황윤성) 9e2f6b113b wordpad: Updated Korean resource. 2007-07-18 13:35:03 +02:00
Alexander Nicolaysen Sørnes 77bf899160 wordpad: Prompt for saving file changes. 2007-07-09 11:46:27 +02:00
Alexander Nicolaysen Sørnes 31e9829017 wordpad: Disable copy/cut in menu when appropriate. 2007-07-06 18:19:50 +02:00
David Adam 025ea7dab2 wordpad: French translation for the view item. 2007-06-22 12:18:11 +02:00
Alexander Nicolaysen Sørnes bb1a13774e wordpad: Remove unnecessary toolbar resizing code. 2007-06-21 13:10:00 +02:00
Alexander Nicolaysen Sørnes 40bee2c46b wordpad: Set default font effects to 0. 2007-06-21 13:09:45 +02:00
Alexander Nicolaysen Sørnes d9a4a3bf46 wordpad: Use Unicode functions in more places. 2007-06-18 13:58:08 +02:00
Alexander Nicolaysen Sørnes e41adf76be wordpad: Use Unicode functions in more places. 2007-06-14 14:05:29 +02:00
Alexander Nicolaysen Sørnes ffa7e0e25d wordpad: Split toolbar into tool- and formatbar. 2007-06-12 11:18:32 +02:00
Alexander Nicolaysen Sørnes 2de3d95ea5 wordpad: Allow toggling of statusbar. 2007-06-12 11:14:41 +02:00
Alexander Nicolaysen Sørnes 10b348399a wordpad: Allow toggling of toolbar. 2007-06-12 11:14:29 +02:00
Alexander Nicolaysen Sørnes ad57c70a6c wordpad: Fix potential buffer overflow. 2007-06-06 13:39:55 +02:00
Alexander Nicolaysen Sørnes f19f4de59e wordpad: Add missing dots to Open menu item. 2007-06-06 12:09:39 +02:00
Alexander Nicolaysen Sørnes 68ce602381 wordpad: Add file saving dialog. 2007-06-04 12:51:56 +02:00
Alexander Nicolaysen Sørnes 69c9565e6f wordpad: Convert open file dialog to Unicode. 2007-06-04 12:51:41 +02:00
Alexander Nicolaysen Sørnes a747eca83c wordpad: Improve file reading code. 2007-06-04 12:51:19 +02:00
Alexander Nicolaysen Sørnes a28f91f148 wordpad: Add file saving support. 2007-06-04 12:50:48 +02:00
Alexander Nicolaysen Sørnes d072e8b1a9 wordpad: Store file name globally. 2007-06-04 12:50:25 +02:00
Alexander Nicolaysen Sørnes e173504ccd wordpad: Split code into set_caption function. 2007-06-04 12:50:11 +02:00
Alexander Nicolaysen Sørnes db7912ed11 wordpad: Add program icon. 2007-05-30 11:51:12 +02:00
Frank Richter 8cdfff10f4 wordpad: Update German translation. 2007-05-14 14:26:10 +02:00
Mikołaj Zalewski f215727c03 wordpad: Update Polish translation. 2007-03-13 21:27:50 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Hwang YunSong(황윤성) 404d853d32 wordpad: Updated Korean resource. 2007-03-07 21:33:59 +01:00
Alexander Nicolaysen Sørnes 5c9edfd4be wordpad: Add text alignment buttons. 2007-03-01 20:42:48 +01:00
Alexander Nicolaysen Sørnes b42fcee0b1 wordpad: Small cosmetic fixes.
- Clear title bar when creating new document.
- Remove newline from statusbar.
- Add horizontal line to toolbar.
2007-02-27 12:26:02 +01:00
Alexander Nicolaysen Sørnes b603927c31 wordpad: Set default font to 'Times New Roman', like native does. 2007-02-26 19:04:29 +01:00
Alexander Nicolaysen Sørnes 7aa2e616f0 wordpad: Add open file dialogue. 2007-02-26 13:40:49 +01:00
Alexander Nicolaysen Sørnes 194c3f2524 wordpad: Make edit menu more like native. 2007-02-26 13:40:29 +01:00
Alexander Nicolaysen Sørnes a53eab603d wordpad: Add paste support. 2007-02-26 13:40:13 +01:00
Alexander Nicolaysen Sørnes 38ad04576e wordpad: Don't create maximized window. 2007-02-26 13:40:04 +01:00
Alexander Nicolaysen Sørnes 557d69d187 wordpad: Make toolbar more like native. 2007-02-26 13:39:56 +01:00
Hans Leidekker f3425cfe41 wordpad: Open .wri files in wordpad. 2007-02-12 14:12:22 +01:00
Mikołaj Zalewski 5723151c04 wordpad: Add Polish translation. 2007-01-15 12:42:22 +01:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
H. Verbeet 5aafea481a wordpad: Format warning fixes. 2006-10-11 12:08:57 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Matt Finnicum 43a23b00a7 wordpad: Request WS_VSCROLL now that riched20 supports it. 2006-08-09 11:20:52 +02:00
Hwang YunSong(황윤성) c6ff1ef6fb wordpad: Updated Korean resource. 2006-07-17 13:49:26 +02:00
Jonathan Ernst ad4516fc47 wordpad: Add shortcuts in menus. 2006-07-13 20:05:47 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 028ab92bf7 make_progs: Generate the .gitignore file.
Ignore generated programs from the top-level .gitignore.
2006-07-10 20:59:06 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Magnus Lundborg 80e5f27b30 wordpad: Declare three functions as static to avoid compiler warnings. 2006-06-05 21:00:32 +02:00
Mike McCormack 74a03d2541 wordpad: Use GetWindowLongPtr to get the HINSTANCE. 2006-05-31 11:58:10 +02:00
Jonathan Ernst ce7e2e16ab Uniformization of French main menu accelerators. 2006-05-24 10:35:26 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
András Kovács 94c65025d4 wordpad: Translation to Hungarian. 2006-05-05 16:32:27 +02:00
Alexander N. Sørnes ad05be7395 wordpad: Fix typo in Norwegian resource. 2006-03-20 12:04:52 +01:00
Fatih Asici 487637b32f wordpad: Add Turkish resource file. 2006-03-10 21:40:49 +01:00
Alexander N. Sørnes 46a96312e5 Updated/new Norwegian Bokmål resources. 2006-02-24 21:11:03 +01:00
YunSong Hwang 7ab5e7c59a wordpad: Add Korean translation. 2006-02-20 11:14:48 +01:00
Phil Krylov 38e1b85324 wordpad: Russian translation. 2006-02-17 11:37:51 +01:00
Hans Leidekker 34a34c7b6e wordpad: Dutch localization. 2006-02-17 11:37:21 +01:00
Jonathan Ernst 582eeaa573 wordpad: French localization. 2006-02-16 12:18:17 +01:00
Henning Gerhardt 2907693ba9 wordpad: Added German resource. 2006-02-16 12:09:21 +01:00
Krzysztof Foltman 07bcfbdc9c programs: Add an implementation of Wordpad. 2006-02-14 14:48:29 +01:00