Commit Graph

191 Commits

Author SHA1 Message Date
Mike McCormack
fea1a84572 Return the correct character count in DBCS locales. 2004-08-26 18:11:06 +00:00
Robert Shearman
2e9436c038 User controls: GWL_ -> GWLP_. 2004-08-17 22:29:29 +00:00
Krishna Murthy
0c3af0ba58 Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in
LB_SELECTSTRING handler so that the caret moves to the index and item
is highlighted.
2004-08-09 22:57:43 +00:00
Dimitrie O. Paun
126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Alexandre Julliard
7465011a93 Fixed typo in previous change. 2004-03-20 19:27:10 +00:00
Huw Davies
66c1accb6f Invalidate the focused item when scrolling horizontally so that it
repaints correctly.
2004-03-18 04:00:08 +00:00
Alexandre Julliard
22508e576f FindFirstFile can return an empty short name if the long name is a
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Alexandre Julliard
b0622101b6 System classes must not have the CS_GLOBALCLASS style. 2003-12-10 04:14:35 +00:00
Aric Stewart
e819535588 Invalidate items on set selection. 2003-12-02 05:28:26 +00:00
Oleg Prokhorov
de12a97041 Another portion of HeapReAlloc fixes. 2003-10-14 05:24:20 +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
Mike Hearn
bf9e3841e7 Update listbox directory mode to new FindFirstFile error code. 2003-06-04 20:21:45 +00:00
Rein Klazes
26b2e89812 Compare the two items in LISTBOX_FindStringPos() in the same order as
in Windows.
2003-04-08 19:41:52 +00:00
Tony Lambregts
2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Dan Kegel
0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard
18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Alexandre Julliard
aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard
cf2e57d0c7 Split out some more 16-bit code. 2002-10-31 22:06:53 +00:00
Michael Stefaniuc
95591a6e90 Some fixes for the compilation of the user dll with -DSTRICT. 2002-10-28 20:11:40 +00:00
Alexandre Julliard
0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Michael Stefaniuc
2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Alexandre Julliard
ebed1b8745 ComboLBWndProc: fall through to ListBoxWndProc if the listbox is not a
ComboLBox.
2002-07-05 00:30:05 +00:00
Alexandre Julliard
741325b86a Make sure edit and listbox controls are of same ASCII/Unicode style as
the combo box. Fixed a few MBCS issues with WM_GETTEXTLENGTH handling.
2002-06-13 19:20:43 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
c72a9aa83e CodeWeavers
Minor fixes.
2002-01-31 21:05:05 +00:00
Guy L. Albertelli
db9b54925d Enhance SPY_GetMsgName to translate common control messages. 2001-09-07 18:38:57 +00:00
Alexandre Julliard
de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Jukka Heinonen
186a79cb92 WNDPROC handlers now check whether HWND argument is valid. 2001-07-24 01:16:16 +00:00
Bill Medland
e79f0768e1 As for the edit control, the style of the borders on the list control
is modified in the dialog loading code, not in the control itself.
2001-07-17 00:55:23 +00:00
Francois Gouget
ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Gerard Patel
7a06d45fca Do not send WM_MOUSEACTIVATE for children of desktop. 2001-04-17 17:57:20 +00:00
Dmitry Timoshkov
e8ffcaa372 Slightly improve keyboard tracking in combobox. 2001-04-16 19:32:19 +00:00
Dmitry Timoshkov
6df245dd68 Really do not roll up if selection is being tracked by arrow keys in
the dropdown listbox.
2001-04-09 18:30:25 +00:00
Dmitry Timoshkov
52ece0efef Use GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing
background in listbox.
2001-02-26 22:31:55 +00:00
Alexandre Julliard
a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Gerard Patel
db8fb6f387 Fixed returned length for LB_GETTEXT. 2001-01-10 23:54:46 +00:00
Dmitry Timoshkov
7462099847 Added unicode window proc for the listbox control.
Replaced all ansi calls by their unicode equivalents.
Removed use of the custom local heap.
2001-01-09 21:51:04 +00:00
Andreas Mohr
85ba8798b5 Took a stab at implementing LBS_NOSEL. 2001-01-06 00:34:14 +00:00
Aric Stewart
fe9a0f0977 Fixed a problem where when deleting an item using index -1 on an empty
listbox we would pass through an illegal negative index and cause
problems.
2001-01-04 19:27:03 +00:00
Ulrich Czekalla
7c55bc0cd6 Only capture mouse when an item is selected. 2000-12-15 22:58:25 +00:00
Louis Philippe Gagnon
956c847f49 Invalidate the focus rect when a listbox is resized. 2000-12-13 21:26:45 +00:00
Alexandre Julliard
982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
bf67259a41 Use the DRIVE_* API constants instead of the DRIVETYPE enum.
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Alexandre Julliard
91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Louis Philippe Gagnon
537bcadf55 Don't update scrollbars when processing WM_DESTROY. 2000-11-30 20:37:29 +00:00
Ove Kaaven
2c691b31ce Implemented Win16 behaviour of DDL_DRIVES in DlgDirList. 2000-11-25 03:06:03 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard
072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00