Commit Graph

571 Commits

Author SHA1 Message Date
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
James Hatheway a2c2a83f8e Send LVN_DELETEITEM notification first, to avoid crashes if the app
requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM
message handler.
2001-02-15 21:24:43 +00:00
François Gouget 4684ab1c12 ListView_GetItemRect already sets rc.left. 2001-02-14 21:42:24 +00:00
François Gouget b99367e20e debugstr_xxx already does the quoting. 2001-02-14 21:42:10 +00:00
François Gouget 5e63211953 Change the callback declarations to a safer format. 2001-02-14 21:41:35 +00:00
Andreas Mohr 9f05b8229f Check PROPSHEETPAGEA.pfnCallback for NULL pointer if PSP_USECALLBACK
is given.
2001-02-12 18:08:31 +00:00
François Gouget 2ad985527f Handle WM_CHARs and pass them to TREEVIEW_ProcessLetterKeys. See also
LISTVIEW_ProcessLetterKeys in listview.c.
2001-02-12 18:08:08 +00:00
François Gouget 1afa24aeac Fix (rewrite), and add documentation to LISTVIEW_ProcessLetterKeys.
Lowered the key repetition delay (Aric).
2001-02-12 18:07:43 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Chris Morgan d62dd82efb Fix ListView_GetItemRect() macro.
Fix use of ListView_GetItemRect() macro in listview control.
Add some documentation to LISTVIEW_GetItemRect().
2001-02-12 03:46:00 +00:00
James Abbatiello 841ef6ebb9 Don't allow comctl32 controls to access their infoPtr before it has
been  allocated or after it has been freed.
2001-02-12 03:42:23 +00:00
Susan Farley e527f23865 Handle the CCS_NORESIZE style.
Change the scroll delta only when the app responds to the PGN_NOTIFY msg.
2001-02-12 01:21:13 +00:00
Guy L. Albertelli a249595957 - Rewrite WM_CREATE to match native (allocating own Edit control, etc).
- Implement additional WNDPROCs for the Combo and Edit controls to
  handle different functions.
- Implement CBEM_SETCURSEL and CBEM_HASEDITCHANGED.
2001-01-26 21:00:10 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Guy L. Albertelli 8673f91b9e - make hidden bands have valid (0 width) child window areas
- when hiding a band, don't show the window, hide it.
2001-01-26 20:36:53 +00:00
Gerard Patel 09d64c83cf Don't send notifications for the initial display of the first tab of
the control.
2001-01-25 21:48:01 +00:00
Gerard Patel c0ca077f0b Misc fixes in LISTVIEW_SetImageList, LISTVIEW_SetItemCount,
LISTVIEW_UpdateSize.
2001-01-22 19:27:43 +00:00
Alexandre Julliard 0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
Ulrich Czekalla 0255c8f0df Only adjust item rect by horizontal scrollbar offset in report view. 2001-01-17 01:48:14 +00:00
François Gouget 72828e0080 In STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the
buffer.
Pass a buffer of sufficient size to TTM_GETTEXTA.
2001-01-13 00:27:13 +00:00
Susan Farley d4c6485390 Implemented most functionality. TODO lists whats left. 2001-01-12 19:54:48 +00:00
François Gouget 16baace694 Only copy the dwSize bytes really occupied by lpPropSheetPage. 2001-01-10 22:42:58 +00:00
Ulrich Czekalla 8b562997d5 Only call TOOLBAR_CalcToolbar when parameters change. 2001-01-10 22:42:05 +00:00
François Gouget bde6ae0c19 Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText. 2001-01-09 21:50:27 +00:00
Gerard Patel d834e4c858 Send the creation notification to the true owner of the tooltip. 2001-01-09 20:50:13 +00:00
Ulrich Czekalla e5786e3be6 Adjust item rects by horizontal scrollbar offset. 2001-01-09 20:49:38 +00:00
Gerard Patel ea241dcdbd Fixed TCM_GetRowCount. 2001-01-09 20:49:17 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Eric Pouech 099f4c3786 No longer using function pointers to winmm and msvfw32, but delay
loading instead.
2000-12-26 01:26:12 +00:00
Gerard Patel 565ba5899c Do not send a WM_NOTIFYFORMAT to a non-existent owner. 2000-12-19 03:37:02 +00:00
Guy L. Albertelli 943ba3f1bc - Implement drag for vertical rebars (drag up and down).
- Better algorithims for inserting new bands - matches native version
  closer.
- Make drawing of rebar attempt to match native pixel by pixel (note
  this does not fix the embedded controls in each band - they still are
  as good or bad as before.)
- Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE,
  _DELETINGBAND, _DELETEDBAND).
2000-12-18 03:13:19 +00:00
Guy L. Albertelli 762ed03a3e Pass WM_COMMAND and WM_NOTIFY to parent as received. 2000-12-18 03:12:31 +00:00
Aric Stewart 844625cbc5 Fixed some difficulties with the font on vertical tabs. Also plugged a
resource leak.
2000-12-15 20:55:20 +00:00
Ulrich Czekalla 361eebb1ba Mark width as valid when we send HDN_ENDTRACKA. 2000-12-15 20:54:41 +00:00
Francois Gouget 8a5de1c92f Removed the name of APIs exported by ordinal. 2000-12-14 19:25:13 +00:00
Alexandre Julliard f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Eric Kohl 4718b6d09d Fixed crash of WinZip 8.0 due to invalid image list handle. 2000-12-13 01:52:23 +00:00
Andreas Mohr bc2ae78bee Invalid buttons are "hidden". 2000-12-13 01:49:51 +00:00
Gerard Patel 4d975b328f Use DrawText to display text in horizontal tabs. 2000-12-12 00:35:20 +00:00