Commit Graph

490 Commits

Author SHA1 Message Date
Marcus Meissner
643fcffaac CBEM_SETITEMW done by example from SETITEMA, converted SETITEMA to use
it.
2000-11-06 20:22:06 +00:00
Alexandre Julliard
eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Marcus Meissner
a0dc42101a Forward CBEM_SETEXSTYLE to CBEM_SETEXTENDEDSTYLE, pass WM_SETTEXT and
WM_GETTEXT down to combo box.
2000-11-05 03:19:06 +00:00
Marcus Meissner
ddedfa2324 Fixed off by one error in DPA handling, added some warnings. 2000-11-04 02:56:38 +00:00
Marcus Meissner
6e9c506f4e Pass up WM_DRAWITEM messages to parent. 2000-11-04 02:54:32 +00:00
Aric Stewart
cf94bf88c2 Treeview item sorting could mess up the visibleOrder of the items. 2000-11-02 20:09:43 +00:00
Marcus Meissner
c536a4a6d3 Swap CalcToolbar and paint rectangle computation to the correct order. 2000-11-02 20:07:25 +00:00
Marcus Meissner
6ce752cee9 Have Internet Explorer 3 show its toolbars by passing RB_GETBANDINFO
to RB_GETBANDINFOA.
2000-11-01 21:35:28 +00:00
Alexandre Julliard
908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Marcus Meissner
697a621a7c Removed unnecessary calls of TOOLBAR_CalcToolbar() (which would be
recalculated due to InvalidateRect()->WM_PAINT anyway).
2000-11-01 01:49:01 +00:00
Francois Gouget
7203ee6623 Use PS_ALTERNATE rather than PS_DOT.
Use Rectangle to draw focus rectangles.
2000-10-31 02:05:11 +00:00
Guy L. Albertelli
88801958ec Ignore RBBS_BREAK style on first band. 2000-10-31 01:49:00 +00:00
Aric Stewart
4de47040fd Fixed cancels editing of a listview label if the listview is
scrolled.
2000-10-31 01:35:50 +00:00
Hidenori Takeshima
ce50aa00bb Fix for avoiding subtraction from unsigned zero. 2000-10-31 01:34:27 +00:00
Susan Farley
4dc7f4ca06 Under some conditions its necessary to explicitly show the
scrollbars.
2000-10-31 01:02:05 +00:00
Guy L. Albertelli
312beec840 Handle special case where itemID = -1 (special focus rect draw). 2000-10-31 01:00:39 +00:00
Uwe Bonnes
a07258d581 COMBOEX_DrawItem: check return value of SendMessageA(...,CB_GETITEMDATA,...) 2000-10-29 18:04:45 +00:00
Guy L. Albertelli
c6c53cd935 - improved trace information
- implemented CB_SETITEMHEIGHT, WM_WINDOWPOSCHANGING,
  WM_MEASUREITEM, WM_DRAWITEM
- changed CBEM_INSERTITEMA, CBEM_SETIMAGELIST,
  WM_CREATE, WM_DESTROY
- above changes correct window rectangle, draws items, and creates
  control correctly.
2000-10-29 01:16:53 +00:00
Guy L. Albertelli
3c7df5c1da - correct processing of RBBS_BREAK style.
- handle cases where cyChild was set to -1 by appl. - undocumented.
- remove special code for Comboboxex problem (now solved).
- fix some painting problems
2000-10-29 01:16:26 +00:00
Chris Morgan
7a6cf75f76 Implement TCS_VERTICAL style. Fix tab borders to have shading that
matches Windows.  Center image and text in tabs.  Size tabs to
completely fill each row with multiline style.  Fix positioning of
tabs for TCS_BOTTOM style.  Fix various drawing issues.
2000-10-25 20:31:18 +00:00
Susan Farley
8d8c87b85a - When inserting an item, do not invalidate the area above the new
item.
- The debug function that verifies the tree after each insertion
  should be disabled by default.
2000-10-25 20:30:58 +00:00
Alexandre Julliard
21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Marcus Meissner
61ef06042e Do not set the iSubItem part of the struct for LVM_HITTEST,
applications only need to pass memory space up to iItem.
2000-10-22 23:47:49 +00:00
Jason Mawdsley
e7b84a9b54 Fixed some flickering that was occurring in the image list control
when it repainted.
2000-10-22 23:43:56 +00:00
James Hatheway
af7f901c9c Fix messages sent when right-clicking in a blank (non-item) area of a
listview.
2000-10-19 22:28:06 +00:00
Uwe Bonnes
018c6545dc Draw text and icons, implement ordering functions, allow reordering
with mouse and fix the WM_NOTIFY target.
2000-10-19 22:26:17 +00:00
Chris Morgan
89d4472d46 Recalculate nItemHeight when LVS_SETIMAGELIST is called. Fixes icons
being chopped off in the file dialog window.  Align items to top and
refresh after sorting, as windows does.
2000-10-19 20:22:09 +00:00
Chris Morgan
da610897e4 Implement LVM_SETITEMPOSITION32. 2000-10-17 00:30:39 +00:00
Uwe Bonnes
4bfc2a8a2d Remember owner HWND when creating and use this hwnd for the WM_NOTIFY
message target.
2000-10-17 00:29:18 +00:00
Uwe Bonnes
64d95e9374 Draw the scrollbar beside the buddy when neither UDS_ALIGN[RIGHT|LEFT]
is given.
2000-10-15 00:28:44 +00:00
Uwe Bonnes
8923f16fa1 Localization and expect leapdays when looking for the length of a
month.
2000-10-15 00:28:00 +00:00
Uwe Bonnes
b0067efa53 Localization and many changes to behaviour and outlook. 2000-10-15 00:27:28 +00:00
Uwe Bonnes
f83ce82a60 Split out resources that might be localized.
Added German resources.
2000-10-15 00:26:58 +00:00
Uwe Bonnes
c3585ba32d Added additional resource IDs. 2000-10-15 00:24:48 +00:00
Louis Philippe Gagnon
d41e22bf0d Do not send a WM_CONTEXTMENU message when a TreeView receives a
WM_RBUTTONUP.
2000-10-13 23:07:08 +00:00
Andreas Mohr
1563abe8ec - stupid spelling fixes
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Susan Farley
036ae0b6b3 To improve custom-drawn items, add focus border to itemRects and do
not overlap them.
2000-10-13 20:13:38 +00:00
Susan Farley
557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Stephane Lussier
907a1e615b Subitems of listviews were not painted with the right background when:
-LVS_EX_FULLROWSELECT style is defined
-item is selected
-Listview doesn't have the focus.
2000-10-13 17:05:17 +00:00
Chris Morgan
4a49c8f080 Fix depressed state with flat toolbars so pressing the buttons draws
the button in a depressed state.  Fix bitmap offsets, fixes bitmap
offset problems in file common dialog.
2000-10-12 23:11:35 +00:00
Susan Farley
3bd7f58706 On InsertItem with TVI_FIRST, the check for resetting firstVisible
must be done *before* the parent's firstChild changes.
2000-10-12 23:11:06 +00:00
Guy L. Albertelli
f82e493cdd Rewrite to support rows of bands.
Draw separators between bands in rows and between rows.
Support text and background color and color propagation.
Improve layout code.
Make fMask in internal structure the indicator of valid information.
Fix size of grippers.
Add debugging traces for future.
2000-10-12 23:09:01 +00:00
Serge Ivanov
7a9a2aa104 Simple NULL check. 2000-10-12 23:08:19 +00:00
Stephane Lussier
163830c569 - Background should not be drawn if the background color is CLR_NONE.
- Don't change the size to 0 for the header control of listview with
  LVS_NOCOLUMNHEADER style. In fact just setting HDS_HIDDEN to the
  header control is enough.
2000-10-12 23:07:41 +00:00
Aric Stewart
e127a28166 Corrected some segvs that occur with ownerdata listviews. 2000-10-12 20:39:59 +00:00
Francois Gouget
8aa79fbe19 Moved DLLVERSIONINFO to shlwapi.h. 2000-09-29 01:03:30 +00:00
Francois Gouget
88ebde86d7 Modified the bitmap centering algorithm to take the button's border
into account.
2000-09-29 00:56:52 +00:00
Susan Farley
ced43b914d Call ReleaseCapture (which triggers WM_CAPTURECHANGED) after the
WM_COMMAND for the button has been sent, rather than before.
2000-09-29 00:24:54 +00:00
Alexandre Julliard
86f4531676 Added a few missing imports. 2000-09-27 22:32:44 +00:00
Susan Farley
0fc9d151fd Support for TBSTYLE_EX_DRAWDDARROWS style; reset capture and button
pressed flags on WM_CAPTURECHANGED.
2000-09-26 22:45:31 +00:00