Nikolay Sivov
7514475c1c
comdlg32: Use ARRAY_SIZE macro.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:40:25 +01:00
Nikolay Sivov
38898e939c
comdlg32: Use memory allocation helpers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:40:15 +01:00
Alexandre Julliard
77d65c3948
comdlg32: Add a helper function to select a combo box item.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 19:51:22 +01:00
Fabian Maurer
aa7941d41b
comdlg32/fontdlg: Allow setting value by typing it into the edit fields.
...
The font-dialog allows the user to select a value from the combobox by
typing it into its edit field. This operation seems unique to the
fontdialog. It works case-insensitively and doesn't change the
selection in the edit field.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 12:37:15 +01:00
Carlo Bramini
a1b0d92587
comdlg32: Uses SetDlgItemInt() to simplify the code.
...
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:48:47 -07:00
Michael Stefaniuc
69f6493a8c
comdlg32: Use wine_dbgstr_rect() to trace a RECT.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 18:42:25 +09:00
Nikolay Sivov
1a7121b327
comdlg32/fontdlg: Remove dead assignment (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:46:40 +01:00
Nikolay Sivov
9f5260300d
comdlg32/fontdlg: Fix string format for sizes added to listbox.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:46:39 +01:00
Nikolay Sivov
daaa083404
comdlg32/fontdlg: Allow font sizes outside of defaults set.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:46:39 +01:00
Nikolay Sivov
a48d96843c
comdlg32/fontdlg: Limit text length user can type in as font point size.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:46:38 +01:00
Andrey Gusev
be367393c9
Assorted typos fixes.
2014-01-13 17:37:42 +01:00
Frédéric Delanoy
3e3efd1e1b
comdlg32: Use BOOL type where appropriate.
2013-10-23 11:21:15 +02:00
Alexandre Julliard
90ca8eb21e
comdlg32: Add support for the CF_NOVERTFONTS flag.
2013-06-25 12:38:52 +02:00
Alexandre Julliard
60b5ae785a
comdlg32: Scale the listboxes in the font dialog with the font size.
2013-05-29 18:09:00 +02:00
Alexandre Julliard
66ea6464c2
comdlg32: Implement WM_CHOOSEFONT_GETLOGFONT in the font dialog.
2012-03-13 22:12:07 +01:00
Akihiro Sagawa
0352a7089c
comdlg32: Apply 3D effects to sample text area.
2012-02-14 19:15:53 +01:00
Francois Gouget
229f7073ec
comdlg32: Fix a couple of string resources so their format placeholders can be reordered.
2011-11-21 12:55:47 +01:00
Amine Khaldi
e9ab576c73
comdlg32: Add missing break (Coverity).
2011-02-23 18:24:28 +01:00
Carl Raffaele
2484b73151
comdlg32: Removed 16 bit dependency.
2010-10-27 11:43:33 +02:00
Nikolay Sivov
66c9a73db5
comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters.
2010-08-20 13:46:49 +02:00
Paul Vriens
902cce122a
comdlg32: Prevent a NULL pointer dereference (Coverity).
2010-07-08 20:22:09 +02:00
Dmitry Timoshkov
542be258b3
comdlg32: Not all messages depend on initialized custom choose font dialog data.
2010-07-01 16:44:33 +02:00
Gerald Pfeifer
3ecea9f826
comdlg32: Remove unused parameters from CFn_WMMeasureItem and CFn_WMDrawItem.
2010-03-15 13:41:17 +01:00
Gerald Pfeifer
297e559af4
comdlg32: Shed unused parameters from CFn_WMInitDialog and CFn_WMDestroy.
2010-03-01 11:33:33 +01:00
Vincent Povirk
a19536587b
comdlg32: Always use screen dpi in the font dialog, even with a printer dc.
2010-02-22 12:36:15 +01:00
Alexandre Julliard
e5a09cffeb
comdlg32: Reimplement the 16-bit font dialog on top of the 32-bit one.
...
Stub out the functionality that cannot be supported that way.
2009-11-12 19:32:56 +01:00
Michael Stefaniuc
a04ed94580
comdlg32: Remove superfluous pointer casts.
2009-01-14 12:20:58 +01:00
Michael Stefaniuc
48960eef2c
comdlg32: Don't cast the return value of GetProp() as it is a HANLE aka void pointer.
2008-10-31 12:57:53 +01:00
Andrew Talbot
4f1fabf335
comdlg32: Sign-compare warnings fix.
2008-09-22 11:52:10 +02:00
Colin Finck
a33d7fc8c9
Fix some hackish usages of WideCharToMultiByte.
2008-07-31 14:08:29 +02:00
Mikołaj Zalewski
89c86dd994
comdlg32: Move font style names to resources.
2008-03-11 12:11:51 +01:00
Andrew Talbot
2b217ea9af
comdlg32: Assign to structs instead of using memcpy.
2008-02-29 20:07:13 +01:00
Rob Shearman
ff527875d9
comdlg32: Fix potential buffer overrun of lpxx->lfFaceName in CFn_WMCommand.
2008-02-19 13:39:24 +01:00
Rico Schüller
98093a6edd
comdlg32: Fix typo.
2007-12-18 19:48:02 +01:00
Alexander Nicolaysen Sørnes
23dc9a38cd
comdlg32: ChooseFont: Set font effects on init.
2007-09-10 15:29:46 +02:00
Alexander Nicolaysen Sørnes
886d804854
comdlg32: fontdlg: Respect the CF_NOSCRIPTSEL flag.
2007-07-06 18:19:46 +02:00
Andrew Talbot
a855ba87da
comdlg32: Constify some variables.
2007-04-06 12:31:10 +02:00
Anatoly Lyutin
bea5ed4fa9
comdlg32: fontdlg: Add initialisation for comboboxes.
2007-02-13 17:15:52 +01:00
Andrew Talbot
6bb00a3c0e
comdlg32: Declare some items static.
2007-01-04 09:54:55 +01:00
Dmitry Timoshkov
d0db296db0
comdlg32: Make some data const.
2006-11-29 12:44:47 +01:00
Michael Ploujnikov
fb7ed587e9
comdlg32: Win64 printf format warning fixes.
2006-10-13 15:46:02 +02:00
Byeong-Sik Jeon
e1c630847c
comdlg32: Show better font style information in fontdlg.
2006-09-21 18:33:25 +02:00
Andrew Talbot
778d5d65e8
comdlg32: Cast-qual warnings fix.
2006-09-07 13:46:15 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
ca1e72a402
comdlg32: Renamed the dlls/commdlg directory to dlls/comdlg32.
2006-04-10 17:00:03 +02:00