Commit Graph

609 Commits

Author SHA1 Message Date
Guy L. Albertelli 2420fa983d - Move creation process to the WM_NCCREATE message like native and force
styles WS_VISIBLE and CCS_TOP.
- Implement messages WM_NCHITTEST, WM_STYLECHANGED, RB_MOVEBAND,
  RB_MINIMIZEBAND.
- Improve preformance by removing calls to GetWindowLong for GWL_STYLE
  (by saving state and handling WM_STYLECHANGED).
- Cleanup and remove dead and test code.
2001-07-08 20:31:11 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Guy L. Albertelli 6ae29d6ac0 RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack
in WinZip).
2001-07-02 17:59:11 +00:00
Mike McCormack aa62953b31 Fix button text placement for disabled buttons (see Winzip 8.0). 2001-07-02 17:58:31 +00:00
Guy L. Albertelli b0327f2b40 Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM. 2001-07-02 01:20:28 +00:00
Guy L. Albertelli ea478c62a1 - Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
notify formats.
- Move the drawing of the band backgrounds and band separators to the
  WM_ERASEBKGND processing just the way the native controls do.
- Implement WM_SETREDRAW.
2001-06-24 00:22:55 +00:00
Guy L. Albertelli b2207c7f36 - Fix memory leaks.
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
  notify formats.
- Fix some drawing issues with COMBOEX_DrawItem.
2001-06-24 00:22:20 +00:00
Guy L. Albertelli 0d0cc390c3 Fixed test so 0xffffffff is properly recognized. 2001-06-24 00:21:40 +00:00
Andreas Mohr 99f2f396b5 Spelling fixes. 2001-06-22 23:21:47 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Patrik Stridvall 6076729649 Documentation ordinal fixes. 2001-06-19 03:34:07 +00:00
Guy L. Albertelli 5e7b201400 - correct rebar window borders and handling of RBS_BORDERS, now
matches native.
- major redesign of band layout, now comes a lot closer to native for
  the test programs.
- support RBS_VARHEIGHT for both on and off.
- better debug info, and performance improvement
2001-06-11 20:12:11 +00:00
Marcus Meissner decd475621 Implemented page skipping on PSN_SETACTIVE -1 return. 2001-06-06 21:03:21 +00:00
Francois Gouget b412b3ccbe TOOLBAR_InsertButtonA: If iString==-1 then don't use it as a pointer. 2001-05-31 21:33:55 +00:00
Gerard Patel abc0686fb5 Implemented DTM_GET/SETRANGE. 2001-05-25 20:38:20 +00:00
Francois Gouget cd8d181a0b Spelling typos. 2001-05-18 21:01:38 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Susan Farley ce7f12c425 Implement autorepeat scrolling when button is held down.
Improvements to size and appearance of buttons.
2001-05-03 18:33:57 +00:00
Chris Morgan 87e4dbfda8 Implement COMCTL32_StrToIntW() using NTDLL's _wtoi. 2001-04-30 18:16:28 +00:00
Andreas Mohr f32f918123 Spelling fixes. 2001-04-20 18:36:05 +00:00
Andreas Mohr 641405a550 Fixed off by one error in ImageList_DrawIndirect().
Fixed some missing NULL HIMAGELIST check (fixes Microsoft Works
startup).
2001-04-20 18:29:17 +00:00
Guy L. Albertelli 6044b98556 - Notify parent of child size changes when changes are from WM_SIZE
messages.
- If more than one band exists, then first band may have a gripper.
- Fix the band layout algorithm to handle some issues from WinARA.
2001-04-20 18:27:42 +00:00
Guy L. Albertelli bad759075c - Implement CB_{GET|SET}ITEMDATA for CombBoxEx.
- Implement WM_NCCREATE to remove unwanted window styles (as native does).
- Clean up some traces.
2001-04-20 18:27:19 +00:00
James Hatheway f3c93b805b Eliminate unitialized garbage being returned from LISTVIEW_GetItemA. 2001-04-18 17:40:04 +00:00
Francois Gouget dd30c5c282 GetItemSpacing(true): Return the default item spacing if the view is
LVS_ICON, and the current 'item size' otherwise.
2001-04-16 19:04:12 +00:00
Andreas Mohr 6d09bf77da - *don't* MoveWindow() the status bar if CCS_NORESIZE is specified,
and use SetWindowPos instead for one of the MoveWindow()s
- call STATUSBAR_GetInfoPtr *once* like Windows does, not twice (used to be
  in every sub function, too)
- remember hwndParent from create struct to use in at least WM_CREATE and
  WM_SIZE instead of GetParent() like in Windows
- added DefWindowProc call to WM_SIZE like in Windows
- added InvalidateRect, UpdateWindow to WM_CREATE like in Windows
- much more verbose +statusbar output
- rename part_num to nPart for consistency
- added nclm.cbSize to SystemParametersInfoA call
- added FIXME to STATUSBAR_SetParts
2001-04-13 22:23:35 +00:00
Michael Stefaniuc 3a0c6a9490 Fix for small typo. 2001-04-10 21:16:31 +00:00
Marcus Meissner fd99bcb260 Translations for German language. 2001-04-09 18:33:26 +00:00
Gerard Patel f6d3d0172d After an item text changes, the rectangle width should be
recalculated.
2001-04-09 18:28:47 +00:00
Rein Klazes 4d7e26f9a2 Fixed scrolling of listview with a mouse wheel. 2001-04-04 18:25:46 +00:00
Gerard Patel 9c2d2bad90 Erase the in-memory DC for treeview and fixes the rectangle calculation. 2001-04-04 00:09:23 +00:00
Gerard Patel 66226d80f3 Set background mode to transparent before calling owner-drawn user
handling.
2001-04-04 00:09:05 +00:00
Jeff Garzik 9fd15a9f2f Added needed string.h includes. 2001-03-22 19:33:57 +00:00
Gerard Patel 8b21b6b33a Added version info. 2001-03-16 16:50:24 +00:00
Guy L. Albertelli a7a006a00d - Documented things known to be unimplemented.
- Implemented CBN_SELCHANGE, CBN_KILLFOCUS, and CBN_SELENDOK.
- Corrected CBEN_ENDEDIT notifies to always have edit control text.
- Locked "selected" state of icon to focus state of edit control (if
  it exists) just like native.
2001-03-16 16:41:56 +00:00
Guy L. Albertelli 0d2df474aa - Correct RBN_CHILDSIZE band rectangle to match native.
- Correct flags in DeferWindowPos to SWP_NOZORDER to match native.
- Make handling ComboBox and ComboBoxEx the same when moving child
  windows.
2001-03-16 16:41:32 +00:00
Francois Gouget d6f5ed273d Update nSelectionMark and nFocusedItem when inserting/deleting/sorting
items.
SortItems: If sorting less than 2 items, do nothing.
2001-03-05 22:11:17 +00:00
Susan Farley 496f434c72 - Background of the child wnd should be erased with the same color as
the control.
- Default scroll amount should be the minimum client area.
2001-03-05 20:00:16 +00:00
Francois Gouget f45d56912a In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no
selection mark has been set, just select the current item.
In LISTVIEW_SetGroupSelection we must also set the selection mark in
that case (and only in that case).
Removed a naughty ';' (spotted by Eric Pouech).
2001-03-04 01:04:35 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Susan Farley 16ac06ed6e Horiz/Vert determination must be dynamic, as the style may not be set
upon creation; improved positioning and scrolling.
2001-02-23 01:33:01 +00:00
Aric Stewart 79a11a1f21 Insert the item before calling a SetFirstVisible which can generate a
WM_PAINT message.
2001-02-20 23:43:21 +00:00
Guy L. Albertelli 45e6f62457 - Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM,
CBEM_{GET|SET}UNICODEFORMAT, CB_FINDSTRINGEXACT, WM_COMMAND,
  WM_DELETEITEM.
- Implement extended style CBES_EX_NOEDITIMAGE, and warn others are
  not yet implemented.
- Restructure DrawItem code to do things more rationally.
2001-02-20 01:53:43 +00:00
Eric Kohl 66eedb5ae6 Fixed behaviour of dropdown buttons. When a dropdown button is
clicked, it does not change into pressed state.
2001-02-20 00:48:37 +00:00
James Hatheway 7fdceb2217 Update selection after sorting (in LISTVIEW_SortItems) by making sure
selection list matches states of individual items.
2001-02-16 19:39:14 +00:00
François Gouget d9280fed84 TB_SETBUTTONSIZE messages must be taken into account even after
buttons have been added.
2001-02-16 19:38:32 +00:00
Aric Stewart 826465dc22 Setting the HotItem to -1 can be disastrous at times if it equals
oldhit.
2001-02-16 19:06:34 +00:00
Aric Stewart 40a38f7f9a Continued the implementation of Set Hot Item. 2001-02-15 21:25:03 +00:00