Commit Graph

129 Commits

Author SHA1 Message Date
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 cef7c7af61 Update internal controls on WM_WINDOWPOSCHANGED. 2000-12-06 03:21:57 +00:00
Aric Stewart 6213ab3a89 Fixed a problem where the string in a combo box flickers if you
rapidly reset the content and then replace the content.
2000-12-05 21:12:05 +00:00
Andreas Mohr 94a6832b04 WM_SETTEXT should return TRUE on success. 2000-11-29 00:02:46 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Andreas Mohr 45c9fd892f - set the item height not only for the listbox, but also for the text field
- center text vertically
- beautify comments
2000-10-28 00:29:58 +00:00
Susan Farley a4251bbe4c Do not block CBN_EDITCHANGE for WM_PASTE or WM_CUT with the
NOEDITNOTIFY flag, as these msgs can come directly from the app to the
combo wndproc.
2000-10-24 01:38:49 +00:00
Susan Farley 597cb552ce Update the edit box before rolling up the listbox, so the
selection isn't lost.
2000-08-14 17:18:49 +00:00
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00
Susan Farley 7251640113 Don't clear selection when initial entry is not in the list. 2000-07-15 21:27:32 +00:00
Gerard Patel d292234835 Set the minimum dropped height to the combo list height if any in
CBDropDown.
2000-06-25 12:47:59 +00:00
Gerard Patel c9e6031dca CB_SETCURSEL should not generate another listbox event after updating
the edit box.
2000-06-18 17:20:37 +00:00
Serge Ivanov 9926d33450 - ComboLBox is always created as child of ComboBox. If ComboBox has style
other than CBS_SIMPLE, parent of listbox is set to desktop.
- In CBDropDown. ComboBox uses only first item to calculate height of
  dropped listbox. Also if listbox is empty its height is unmodified
  (previously it was set to 0).
- Added correct handling of WM_GETDLGCODE and WM_(SYS)KEYDOWN messages.
- General clean-up. Message order is now more precise (at least
  notifications to client); listbox - combobox interaction has slight
  differences comparing to Windows.
2000-06-07 03:48:02 +00:00
David Grant 8a92213111 - Creating combobox with CBS_SIMPLE style shall set internal flag CBF_EDIT.
- Edit text must be selected only if CB is in focus.
- If CB has edit control we have to call CBUpdateEdit to update its
  contents. Invalidating textRect will not force updating of child
  edit control, obviously.
- We have to protect ourselves from changing selection in listbox when
  we receive listbox notification. So LBN_SELCHANGE -> CBUpdateEdit ->
  EN_CHANGE will not reselect item in the lisbox.
2000-05-30 17:48:33 +00:00
Alexandre Julliard dcc175de6a Owen Wang
When you click on an icon to open a combo box, you would expect it to
be enabled so you can choose something in it. In Wine this was not
guaranteed since your default flags could get lost in the process-heap
of the application.
2000-05-30 15:28:06 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00
Huw D M Davies 2e34030a02 Stop a WM_SETTEXT message (and friends) to a combo sending CBN_EDIT*
messages to the parent.
2000-03-24 19:44:39 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Dmitry Timoshkov cd207587ec ComboBox should not send bogus messages to edit buddy and to itself. 1999-12-12 20:47:45 +00:00
Dmitry Timoshkov 38d04b8ff4 Allow to deselect all items by sending CB_SETCURSEL(-1) to the combo. 1999-12-06 00:57:20 +00:00
Dmitry Timoshkov 92f376f78b Show use of undocumented messages. 1999-12-05 02:45:10 +00:00
Dmitry Timoshkov f4a27b8d41 When combobox selection changes, update its edit box accordingly. 1999-11-28 19:45:58 +00:00
Jim Aston aebda22e61 Fixed the height of the ComboBox drop list. 1999-11-07 21:04:57 +00:00
Gerard Patel 8c36254147 Make WM_GETTEXTLENGTH return length for dropdownlist combos. 1999-10-13 13:50:17 +00:00
Francis Beaudet f132872741 Implemented the disabled state of the combobox. 1999-09-19 14:09:52 +00:00
Pierre Mageau 25c62cc61f Set the mouse capture on the combo listbox. 1999-09-11 16:26:03 +00:00
Pierre Mageau a433582363 Modified CBDropDown to find the best height of the listbox. 1999-09-05 12:12:30 +00:00
Francis Beaudet 28d2ccb07c Fixed the look of the combobox's drop down button when in Win95 look. 1999-08-14 15:51:49 +00:00
Francis Beaudet bc0b020428 Fixed the border for the listbox created by the simple combobox. 1999-07-30 17:57:45 +00:00
Francis Beaudet ba296e3898 Fixed fake WM_LBUTTONUP message. 1999-07-18 15:36:08 +00:00
Abey George 318832ea8e Fixed the height of the dropped list when there are few items in the
list.
1999-07-10 11:34:01 +00:00
Francis Beaudet 6ec3eaf54b Fixed a few behaviors of the combobox that were broken. 1999-06-12 10:51:19 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Francois Boisvert 3b876e4040 Changed CBGetDroppedControlRect to be compliant with Windows API. 1999-05-14 18:37:28 +00:00
Alexandre Julliard 9fe7a2545a Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-14 08:17:14 +00:00
Marcus Meissner 9aded5135c Removed the gotos from the WndProcs, always use a small wrapper that
locks the window, calls the real wndproc, unlocks the window.
1999-05-01 10:23:45 +00:00
Guy Albertelli 2fa281f90f Fix locking with proper calls to WIN_ReleaseWndPtr. 1999-04-24 11:54:40 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Francis Beaudet ab6f8616a5 Fixed a sizing bug in the combobox control. 1999-04-22 09:08:09 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Gerard Patel ffa0b1313f Added missing goto. 1999-04-04 12:37:48 +00:00
Francis Beaudet f585c61dd1 Implemented the Win95 look and feel. 1999-04-02 10:37:42 +00:00
Pascal Lessard e69fcc054e COMBO_Size: maintain the height of the RectCombo when the window is
resized.
1999-03-24 14:59:37 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Pavel Roskin 6d40d1b05f Changed the button state to "up" as soon as it is known that the
selection has been cancelled, so the button is redrawn in the "up"
state.
1999-03-12 17:00:13 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Alex Korobka 311d329cb8 Better CB_SETCURSEL message handling. 1999-01-01 18:40:02 +00:00
Huw D M Davies 2d617be099 Replace GRAPH_ functions with Win SDK equivalents. 1998-12-08 09:14:09 +00:00