Commit Graph

389 Commits

Author SHA1 Message Date
Nikolay Sivov a600d7ece1 wordpad: Fill font selection combobox with fully processed font list.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46478
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-13 13:13:37 +01:00
Serge Gautherie 7770e26f2d include: Remove now useless forced _WIN32_IE defines.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:38:38 +01:00
Alexandre Julliard a58f4abc08 makefiles: Allow using EXTRADLLFLAGS instead of APPMODE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 11:27:39 +02:00
Zebediah Figura dcd9376ae7 wordpad: Use GetSysColorBrush().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:02:01 +02:00
Alexandre Julliard 9b63daca51 include: Default to the standards-compliant version of swprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Alexandre Julliard 83c99c0219 wordpad: Use C runtime wchar functions instead of wine/unicode.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 12:42:05 +02:00
Isira Seneviratne 7e686bb05d wordpad: Update STRING_TEXT_FILES_UNICODE_TXT string to plural format.
Change "document" in "Unicode text document (*.txt)" to "documents" to
match the other file selection strings.

Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 16:14:29 +01:00
Michael Stefaniuc e4f68323fc wordpad: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:44:12 +02:00
Alexandre Julliard 86aad73177 wordpad: Specify cursor hotspots separately for each size.
This is supported in icoutils as of version 0.32.0.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 16:26:37 +02:00
Alexandre Julliard 756fdd029c wordpad: New high resolution cursor generated from SVG.
Based on a cursor set published by Ludvig Hummel under the X11 license.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 13:30:21 +02:00
Akihiro Sagawa 2532b1476a wordpad: Avoid using isspace() for WCHARs.
Found with Coccinelle.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 16:11:24 +02:00
Huw Davies 8d22b60c80 wordpad: Scale the comboboxes with font size and correctly set the rebar band height.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 15:38:48 +02:00
Henri Verbeet ff0a34e9c9 wordpad: Fall back to the default position if the saved position is off-screen.
This condition is particularly easy to trigger when switching from a
multi-head setup to a virtual desktop. Inspired by some fairly similar
code in notepad.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 10:01:47 +01:00
Nikolay Sivov e492a0d68b wordpad: Clean up IRichEditOleCallback implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 18:50:11 +01:00
Michael Stefaniuc a1a48e87a3 wordpad: Avoid a TRUE : FALSE conditional expression.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:54 +01:00
Carlo Bramini 0f4891ff53 wordpad: Use return value of LoadStringW() instead of calling lstrlenW().
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:09 -06:00
Carlo Bramini d38c0c3b7c wordpad: Fix syntax error in resource files (native Windows build).
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-01 20:32:57 +01:00
Huw Davies 9a1cc45edd wordpad: Keep the list indentation aligned when the margins are changed.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:59:31 +02:00
Huw Davies 6d263cd490 wordpad: Add a dropdown menu to the bullet button.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:59:30 +02:00
Huw Davies 6ac0dd0352 wordpad: Remove BTNS_BUTTON from the toolbar style - it's a button style.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:54:33 +02:00
Huw Davies 2878d1e341 wordpad: Switch the main menu to MENUEX so that the list menu can be given an id.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:54:26 +02:00
Huw Davies c11d931ea3 wordpad: Add list labelling menu.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-10 21:11:11 +02:00
Huw Davies c8d96b96da wordpad: Improve the indentation of bulleted lists.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-07 13:12:17 +02:00
Huw Davies 9b701eb7eb wordpad: Only read up to the maximum number of recent files from the menu.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 20:48:18 +09:00
Michael Stefaniuc 0a3700e051 wordpad: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-10 11:07:38 +09:00
Michael Stefaniuc 098adff646 wordpad: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 11:02:56 +09:00
Michael Stefaniuc 8e05ddb1f8 wordpad: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 11:02:50 +09:00
Thomas Faber f07a25467f wordpad: Remove superfluous check in registry_set_filelist.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:12:51 +09:00
Michael Stefaniuc dc525e8c40 wordpad: Use OffsetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 18:48:34 +09:00
Nikolay Sivov fde563b0d4 wordpad: Use correct buffer size when calling SHGetFolderPathW() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 13:14:10 +09:00
André Hentschel b5c3408a5e wordpad: Copy the correct amount of data with lstrcpynW (Coverity). 2015-07-20 06:32:47 +02:00
Michael Stefaniuc 9e7135e00c wordpad: Simplify code that happened to work by chance (PVS-Studio). 2015-03-06 20:32:03 +09:00
Gerald Pfeifer c7482ad1c1 wordpad: Avoid an out-of-bounds array access in registry_set_filelist. 2014-12-31 21:12:46 +01:00
Gerald Pfeifer 1994140f3d wordpad: Check for array index before using it in registry_set_filelist. 2014-12-01 11:00:15 +01:00
Alexandre Julliard 3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Huw Davies 39538f91f5 wordpad: Pass the correct window to the font size list validator. 2013-12-06 17:51:31 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Frédéric Delanoy 4ef76cd75c wordpad: Use BOOL type where appropriate. 2013-11-04 11:03:46 +01:00
Frédéric Delanoy 682c89ced3 wordpad: Use BOOL type where appropriate. 2013-10-17 10:45:31 +02:00
Alexandre Julliard fb6b0f93c2 wordpad: Don't offer vertical fonts in the font dialog. 2013-06-25 18:12:11 +02:00
Alexandre Julliard d1cebac78d wordpad: Add a 256x256 icon. 2013-03-27 20:12:28 +01:00
Michael Stefaniuc bf3e3d02d5 wordpad: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:30:17 +02:00
Francois Gouget 1a46a46208 wordpad: Tweak the spelling of a couple of menus. 2012-05-16 19:42:50 +02:00
Huw Davies 965388465d wordpad: Don't quit if the user cancels the save-as dialog when being prompted to save changes. 2012-04-11 18:19:40 +02:00
Alexandre Julliard 974e27e6fa wordpad: Use virtkeys for all accelerators. 2012-01-30 20:44:23 +01:00
Alexandre Julliard 9ef59aad98 wordpad: Add message contexts for accelerators that can be translated. 2012-01-24 20:43:09 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget 27010a04ea wordpad: Fix the case of the 'Del' accelerator key. 2012-01-23 16:07:23 +01:00