Michael Stefaniuc
688bdb645f
wordpad: Remove superfluous pointer casts.
2009-01-19 12:46:42 +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
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
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
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
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
Gerald Pfeifer
412cd04cfc
wordpad: Remove unused parameter for preview_command().
2008-07-23 11:20:50 +02:00
Alexander Nicolaysen Sørnes
b69592416c
wordpad: Show error if file open fails.
2008-07-18 11:05: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
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
Dylan Smith
76f2a0f333
wordpad: Added a null terminator needed for a unicode string.
2008-05-28 11:30:27 +02:00
Dylan Smith
2b52dd8450
wordpad: Empty the richedit undo buffer on creation.
2008-05-08 11:10:49 +02:00
Eric Pouech
2cf1925eb4
wordpad: Open the filename passed on command line if any.
2008-04-28 13:27:51 +02:00
Alexandre Julliard
a54ac90000
wordpad: Display the larger icon in the about box.
2008-04-02 20:05:33 +02: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
Alexander Nicolaysen Sørnes
9a1b626481
wordpad: Add basic ruler.
2008-01-14 15:31:37 +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
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
Dmitry Timoshkov
6b8ee0e41f
wordpad: Refuse to load OLE compound storage files like Windows does.
2007-10-17 13:40:26 +02:00
Francois Gouget
03d7f2d4ad
wordpad: Fix compilation on systems that don't support nameless unions.
2007-09-18 11:21:11 +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