Commit Graph

19 Commits

Author SHA1 Message Date
Rein Klazes 51f40d95dc Fixes for FormatCharDlgProc16:
- properly store the ChooseFont pointer, use a window property as the
  A and W functions do;
- handle other messages then WM_INITDIALOG and WM_MEASUREITEM as well.
2005-11-22 16:18:55 +00:00
Rein Klazes 80f3e66de2 In CFn_CHOOSEFONT16to32W fix the conversion of the lpTemplateName and
the lpszStyle fields.
2005-11-22 14:54:29 +00:00
Mike McCormack 60f8543362 gcc 4.0 -Wpointer-sign fixes. 2005-07-05 14:11:04 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Jacek Caban 417fde8d42 Unicodified fontdlg. 2004-12-22 17:17:06 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Alexandre Julliard 3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Rein Klazes 62fb1919f8 - Add a bitmap resource with the font icons: TrueType, printer,
OpenType and Type 1. Modify the code so that they will be used if or
  when the needed bits are passed to the FontEnumProc.
- Use EnumFontFamiliesEx instead of EnumFontFamilies.
- Fix the fixme in the WM_MEASUREITEM message handler.
2003-12-30 22:08:17 +00:00
Steven Edwards c49064a838 - The last of the major Win16/32 split for commdlg (for real this
time).
- Moved most of the 16bit stuff to cdlg16.h.
- A few small cleanups.
2003-12-12 06:09:13 +00:00
Rein Klazes 965b285238 Do conversions between the font size specified in points (or
decipoints) and height specified in logical units.
2003-12-11 05:17:05 +00:00
Rein Klazes 42fc4bec2d Use the lfHeight field to initialize the font dialog's point size. Do
not forget to return some values in the choosefont structure in the 16
bit version of the ChooseFont function.
2003-12-04 01:43:01 +00:00
Rein Klazes 6f1a7da4b4 Implement combobox to select the font's character set.
Bug fixes: handle WM_MEASUREITEM message; handle the WM_PAINT message
in the 16bit font dialog, so it displays the sample string too.
2003-12-03 22:25:10 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Steven Edwards 6b9c474d30 Separate Win16 and Win32 font dialog support. 2003-06-07 00:33:32 +00:00