Francois Gouget
3d0589ae7d
Fixed spelling/typos in comments.
2001-03-10 19:15:49 +00:00
Guy L. Albertelli
79413eda91
- Restructure PaintText code to remove FillRect from owner-drawn path.
...
- Change SetFocus to indicate focus set only after Notify is sent to owner.
- Get more info in a trace.
2001-02-20 01:53:12 +00:00
James Abbatiello
8ac1acbb1a
Ownerdrawn combo boxes should use ODS_COMBOBOXEDIT in the itemState.
2001-02-12 01:17:16 +00:00
Guy L. Albertelli
4782b0e57f
- When painting the text, if the control is OWNERDRAWN the issue the
...
WM_DRAWITEM message.
- Set the focused status at the end of the end of the Setfocus routine.
- Flip the order of updating the list box and issuing the WM_NOTIFY
for CBN_EDITUPDATE to match native.
2001-01-26 20:59:51 +00:00
Francois Gouget
05fc3cdf9a
Typo fixes in comments.
2001-01-22 02:22:26 +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
Dmitry Timoshkov
376beadaaa
Various combobox fixes.
2001-01-11 20:17:07 +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
Ulrich Czekalla
b3da1ac0cd
Ensure there is an edit control when we reset contents.
2001-01-09 20:49:53 +00:00
Dmitry Timoshkov
4866ac0859
Combobox should clear its current selection on response to
...
CB_SETCURSEL(-1) message.
2001-01-07 21:43:49 +00:00
Dmitry Timoshkov
f5f9f2cc51
Added unicode window proc for combobox control.
...
Replaced ansi calls by their unicode equivalents.
2001-01-05 22:21:18 +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
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