Bill Medland
7af9098f6b
Change the way that DrawText parses the next line to display, ready to
...
support multiline ellipsification etc. Rather than measuring the text
each time we add a character and breaking once it is too long and
WORDBREAK is enabled, we copy a whole text segment and then measure
it; GetTextExtentPointEx is designed to tell us how much fitted. This
may result in a little rescanning if wordbreak is enabled but will be
well worth while when multiline path ellipsification is brought down
into the NextLine function. Note also that the wordbreak calculation
is a little more complete (e.g. including break-within-word for
DT_EDITCONTROL).
2002-02-19 18:25:53 +00:00
Patrick Haller
0e3c9d454b
Fix crash in VariantTimeToDosDateTime.
2002-02-19 18:23:09 +00:00
Sander van Leeuwen
3ad8d3f0d0
Must make a copy of global handle returned by GetClipboardData; it is
...
not valid after we call CloseClipboard. Application is responsible for
freeing the memory (fixes copy/paste in mail body in Forte Agent).
2002-02-19 18:22:28 +00:00
Patrik Stridvall
651a8ba880
Added some defines for compatibility with Windows headers.
2002-02-15 19:12:35 +00:00
Bill Medland
0f9013f7e0
Measure the text more reasonably. This handles intercharacter spacing
...
and should handle any kerning etc. that might happen. Also ensure no
wordbreaking on singleline text.
2002-02-15 18:21:59 +00:00
Rein Klazes
6748e6992c
In SHFileOperation() when requested to copy files, figure out when the
...
destination is to be treated as a directory and handle those cases.
2002-02-15 18:20:18 +00:00
Martin Dalecki
be951f359a
Some artwork on the default icons.
2002-02-14 19:23:01 +00:00
Bill Medland
92d77c9bb2
DrawText should not split words just because of clipping.
2002-02-14 19:21:59 +00:00
Rein Klazes
0753967327
In ShellExecute16, make sure there is a space between command and
...
parameters.
2002-02-14 19:20:30 +00:00
Lawson Whitney
f6a3a52180
Protect against NULL wsaddrlen in ws_sockaddr_alloc.
2002-02-14 19:20:12 +00:00
Guy L. Albertelli
6f22d775e3
Partially implement SHRegWriteUSValue{A|W}.
2002-02-12 18:44:14 +00:00
Guy L. Albertelli
d3a52c2890
When the commandID was being treated as the index, no check for index
...
greater than number of buttons was done. Now fixed.
2002-02-12 18:43:56 +00:00
Guy L. Albertelli
d2ace6addd
Fix regression in some programs due to CLR_DEFAULT fix. Noticed in
...
control-spy rebar.exe.
2002-02-12 18:43:24 +00:00
Guy L. Albertelli
8961f1624e
Correct tests involved with processing the LVIF_DI_SETITEM flag.
2002-02-12 18:42:25 +00:00
Guy L. Albertelli
683c00ae3f
Initialize pszText to 0 for internal ->ceItem to eliminate moves to
...
garbage locations.
2002-02-12 18:41:48 +00:00
Bill Medland
cabe8ca580
Put in place a proper tab model within DrawText (also includes
...
simplifying TEXT_NextLineW to remove duplicate code).
2002-02-12 18:40:36 +00:00
C. Scott Ananian
48a87e6107
Filled out the implementation of fscanf and _cscanf.
2002-02-08 17:17:11 +00:00
Eric Pouech
91f3fc7d59
Fixed bug in cache init.
2002-02-08 17:11:22 +00:00
Aric Stewart
1282ef9420
Use the supplied buffer when copying item text.
2002-02-08 17:10:49 +00:00
Lawson Whitney
d23cf08262
Fix off-by-one error in placing trailing \0.
2002-02-08 17:09:11 +00:00
Ori Pessach
023b1aae0a
Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle.
2002-02-08 17:03:57 +00:00
Aric Stewart
20a4cc3116
Don't return overflow if no class buffer was specified.
2002-02-05 19:45:55 +00:00
Rein Klazes
861d7c83c0
In X11DRV_ScrollDC only move pixels that are within the clip
...
rectangle, before and after they are scrolled.
2002-02-05 19:44:31 +00:00
Alexandre Julliard
7904acf1bd
Authors: Guy L. Albertelli <galberte@neo.lrun.com>, Aric Stewart <aric@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
...
Misc fixes:
- cache text metrics for the font we're using
- improved item hit detection
- more debugging output
- implement LVM_SETICONSPACING
- lots of bugs squashed
2002-02-05 18:13:57 +00:00
Marcus Meissner
0749fc2034
Implemented Local Server COM.
...
Implemented the Typelib based Marshaler.
2002-02-05 18:11:17 +00:00
Patrik Stridvall
395e8bafc4
MSVC compile fixes.
2002-02-05 18:09:29 +00:00
Dmitry Timoshkov
94d5cd4203
Remove PROGRESS_Refresh, always do InvalidateRect() to repaint.
...
Add WM_ERASEBKGND handler as in Windows.
Be slightly smarter whether invalidate background or not.
Always treat wParam as INT to not lose signed values.
2002-02-05 18:08:38 +00:00
Dimitrie O. Paun
07869ec403
Various cleanups:
...
- get rid of the static data member
- pass the infoPtr around instead of the hwnd
- fix indentatin/style a bit to make it consistent with the rest of
the file.
2002-02-05 18:08:01 +00:00
Bill Medland
afe92e8e8a
Split the path and word/end ellipsification out of the main function
...
and do them thoroughly. The existing method would be incorrect where
tabs were involved and in some kerning situations.
2002-02-05 18:07:04 +00:00
Dimitrie O. Paun
d15ed230a8
Complete Listview Unicodification.
...
Simplify the setting of (sub)item text by using common code.
2002-02-04 18:44:16 +00:00
Aric Stewart
9d366f1f40
Added implementation of SetItemW.
2002-02-04 18:37:32 +00:00
François Gouget
d9c1fc339a
Storing an IP address in a signed int results in bugs if it starts
...
with >=128.
2002-02-04 18:36:42 +00:00
Malte Starostik
4062cd924f
Do not destroy ITypeLib held by ITypeInfo before the latter is freed.
2002-02-04 18:32:20 +00:00
Marcus Meissner
a79dcc46eb
VT_EMPTY can be coerced to VT_I4, value 0.
2002-02-04 18:31:53 +00:00
Dmitry Timoshkov
ec7c2a80b2
Moved style correcting code to the WM_CREATE handler and added
...
clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows.
Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect.
2002-02-04 18:31:17 +00:00
Guy L. Albertelli
75c2df8ede
Fix problem exposed by the improvements in version 8b. Demonstrated by
...
OE 4.
2002-02-04 18:30:13 +00:00
Patrik Stridvall
57e5784c21
Move __stdcall/__cdecl to the right place.
2002-02-02 18:42:11 +00:00
Francois Gouget
62f083ce48
malloc.h is obsolete and stdlib.h should be used instead.
2002-02-02 18:16:25 +00:00
Bill Medland
fdb799aa6a
Ensure that the whole modified text is returned from DrawTextExA.
2002-02-02 18:14:35 +00:00
Alexandre Julliard
64781643dd
Do not use the PEB lock as loader lock, use a separate critical
...
section for that (and for the graphics drivers).
2002-02-02 18:13:50 +00:00
Andreas Mohr
2295e87be8
Fixed some more missing parenthesis issues.
2002-02-02 18:06:03 +00:00
Huw D M Davies
83ff80b295
Flip A<->W conversion in dispinfo_notifyT.
2002-02-02 17:57:00 +00:00
Aric Stewart
5a64f285f2
Fix to GetItemW to stop whiping out the items text.
2002-02-01 19:54:10 +00:00
Guy Albertelli
b10454965e
Don't try to set fields in nonexistant lpLineCountryList.
...
Supply valid tapi codes.
2002-02-01 19:01:31 +00:00
Gerard Patel
d6c7b62f59
Added missing parenthesis in ShGetFileInfoA.
2002-01-31 21:48:38 +00:00
Nog
867a874375
Fixed function 0xb.
2002-01-31 21:47:57 +00:00
Patrik Stridvall
5038c04efd
Fixed some issues found by winapi_check.
2002-01-31 21:47:34 +00:00
Alexandre Julliard
c72a9aa83e
CodeWeavers
...
Minor fixes.
2002-01-31 21:05:05 +00:00
Alexandre Julliard
925d602766
CodeWeavers
...
Small fixes.
2002-01-31 21:01:35 +00:00
Guy Albertelli
bb2eab5f79
- better trace output
...
- support string sent in by address, rather then index
- add FIXMEs for multiple image lists
- protect agains inexistent buttons
- call up to the DefWindowProc when erasing bkgnd when appropriate
2002-01-31 20:49:10 +00:00