Commit Graph

775 Commits

Author SHA1 Message Date
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Guy L. Albertelli b4994d18e9 - Preliminary implementation of TVS_NOSCROLL and TVS_NOHSCROLL
- Implement A and W versions of WM_NOTIFY based on response to
  WM_NOTIFYFORMAT. Note that the EDITLABEL notifies are not done.
- Implement WM_NOTIFYFORMAT.
2002-03-20 01:29:04 +00:00
Duane Clark b7d819953e Add LVS_NOSORTHEADER support.
Sort column on HDN_ITEMCLICKA too.
Do not edit labels if icon was clicked.
Fix the incorrect icon width in my earlier patch.
2002-03-20 00:53:42 +00:00
Guy L. Albertelli 6db25faed2 - Correct RBN_CHILDSIZE rect value for CCS_VERT rebar.
- Do UpdateWindow only if doing redraws when doing layout.
2002-03-20 00:49:06 +00:00
Duane Clark 874e14c57e TOOLBAR_LButtonUp should work even if ReleaseCapture was already
called.
2002-03-19 02:11:03 +00:00
Duane Clark b6c28ff62f Add support for report mode text justification. 2002-03-11 05:02:11 +00:00
Hidenori Takeshima e4745cbfe9 Added and fixed some Japanese resources. 2002-03-11 01:16:42 +00:00
Guy L. Albertelli 8a8457e25a Add support for WM_WINDOWPOSCHANGED to save new origin of window. 2002-03-11 01:16:02 +00:00
Guy L. Albertelli 68c7b55e1f - Add scaffolding for TB_{GET|SET}PADDING.
- Replace wrong test for CCS_VERT with correct test for undocumented
  TBSTYLE_EX_ style 0x04.
- Add support for undocumented TB_SETBUTTONSIZE where the size is
  zero, sets to default value.
- Issue FIXMEs for unsupported extended styles.
- Implement first try at undocumented toolbar message 0x0463.
2002-03-11 01:11:19 +00:00
Duane Clark f730157ce6 Test bUnicode and call appropriate DrawText routine. 2002-03-11 01:08:29 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Duane Clark ad079d6cbb Ask for correct number of chars in EditLblWndProcT. 2002-02-28 21:42:25 +00:00
Duane Clark bdd77388b9 LISTVIEW_InsertColumnT can be called with a width of
LVSCW_AUTOSIZE_USEHEADER.
Use the correct strings when column autosizing on columns other than
column 0.
LVSCW_AUTOSIZE_USEHEADER uses both item and header strings.
2002-02-28 20:41:39 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Bill Medland df0f236038 Centre text correctly for the selected item.
Draw complete background for the selected item.
Calculate the size of a large icon more correctly (including multiline
labels).
2002-02-27 01:24:39 +00:00
Guy L. Albertelli b2f0a6f5e9 - Support CCS_VERT as alternative for TBSTYLE_WRAPABLE.
- TB_INSERTBUTTONW was not as functional as the 'A' version. They now
  match.
2002-02-27 01:22:58 +00:00
Guy L. Albertelli 8fe19fa7bb Implement EM_FMTLINES message based on relay trace of native. 2002-02-26 00:38:42 +00:00
Guy L. Albertelli 9ce993206d Fix another bad test. Caused regression in IE 4. 2002-02-26 00:34:48 +00:00
Charles Duffy 6a45c0b4b4 Stop TOOLBAR_MeasureString from dying on empty strings. 2002-02-26 00:34:19 +00:00
Dave Hawkes 770a5bfa2d Partially repair hotspot handling. 2002-02-26 00:33:51 +00:00
Gerard Patel 019ae8a22f LVM_GetItemRect should not take text size in account for LVIR_LABEL in
report mode.
2002-02-25 19:00:03 +00:00
Bill Medland d10c9a47b8 Implement multiline labels in the Large Item view by using DrawText
Note that this now highlights weaknesses in the label measuring code
etc. which cannot correctly handle multiline labels.
2002-02-22 21:23:02 +00:00
Guy L. Albertelli a8bba78485 Fix problems in DPA_Merge exposed by previous code cleanup. 2002-02-21 20:08:29 +00:00
Ondrej Macek 13f1fb23fe Fix of ListView invalidation in LISTVIEW_SetBkColor. 2002-02-19 18:32:12 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Martin Dalecki be951f359a Some artwork on the default icons. 2002-02-14 19:23:01 +00:00
Guy L. Albertelli d3a52c2890 When the commandID was being treated as the index, no check for index
greater than number of buttons was done. Now fixed.
2002-02-12 18:43:56 +00:00
Guy L. Albertelli d2ace6addd Fix regression in some programs due to CLR_DEFAULT fix. Noticed in
control-spy rebar.exe.
2002-02-12 18:43:24 +00:00
Guy L. Albertelli 8961f1624e Correct tests involved with processing the LVIF_DI_SETITEM flag. 2002-02-12 18:42:25 +00:00
Guy L. Albertelli 683c00ae3f Initialize pszText to 0 for internal ->ceItem to eliminate moves to
garbage locations.
2002-02-12 18:41:48 +00:00
Aric Stewart 1282ef9420 Use the supplied buffer when copying item text. 2002-02-08 17:10:49 +00:00
Ori Pessach 023b1aae0a Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle. 2002-02-08 17:03:57 +00:00
Alexandre Julliard 7904acf1bd Authors: Guy L. Albertelli <galberte@neo.lrun.com>, Aric Stewart <aric@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
Misc fixes:
- cache text metrics for the font we're using
- improved item hit detection
- more debugging output
- implement LVM_SETICONSPACING
- lots of bugs squashed
2002-02-05 18:13:57 +00:00
Dmitry Timoshkov 94d5cd4203 Remove PROGRESS_Refresh, always do InvalidateRect() to repaint.
Add WM_ERASEBKGND handler as in Windows.
Be slightly smarter whether invalidate background or not.
Always treat wParam as INT to not lose signed values.
2002-02-05 18:08:38 +00:00
Dimitrie O. Paun 07869ec403 Various cleanups:
- get rid of the static data member
- pass the infoPtr around instead of the hwnd
- fix indentatin/style a bit to make it consistent with the rest of
  the file.
2002-02-05 18:08:01 +00:00
Dimitrie O. Paun d15ed230a8 Complete Listview Unicodification.
Simplify the setting of (sub)item text by using common code.
2002-02-04 18:44:16 +00:00
Aric Stewart 9d366f1f40 Added implementation of SetItemW. 2002-02-04 18:37:32 +00:00
François Gouget d9c1fc339a Storing an IP address in a signed int results in bugs if it starts
with >=128.
2002-02-04 18:36:42 +00:00
Dmitry Timoshkov ec7c2a80b2 Moved style correcting code to the WM_CREATE handler and added
clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows.
Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect.
2002-02-04 18:31:17 +00:00
Guy L. Albertelli 75c2df8ede Fix problem exposed by the improvements in version 8b. Demonstrated by
OE 4.
2002-02-04 18:30:13 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Andreas Mohr 2295e87be8 Fixed some more missing parenthesis issues. 2002-02-02 18:06:03 +00:00
Huw D M Davies 83ff80b295 Flip A<->W conversion in dispinfo_notifyT. 2002-02-02 17:57:00 +00:00
Aric Stewart 5a64f285f2 Fix to GetItemW to stop whiping out the items text. 2002-02-01 19:54:10 +00:00
Guy Albertelli bb2eab5f79 - better trace output
- support string sent in by address, rather then index
- add FIXMEs for multiple image lists
- protect agains inexistent buttons
- call up to the DefWindowProc when erasing bkgnd when appropriate
2002-01-31 20:49:10 +00:00
Gerard Patel 776cb279f2 Don't repaint header when scrolling a listview vertically. 2002-01-31 20:38:25 +00:00
Guy Albertelli 1cc881772c - fix order of parameters is SendNotify
- always use the dlg cntrl ID of the sender
2002-01-31 20:37:49 +00:00
Gerard Patel 815997ffe0 Fix problems with listview notification. 2002-01-29 17:51:00 +00:00
Dimitrie O. Paun 187a6795c4 - add new SetRange functions (instead of duplicating the code)
- pass the infoPtr around instead of the hwnd
- use W-functions instead of A-functions
- more checks in case of failures
- make indentation and style consistent throughout the file
2002-01-29 17:15:48 +00:00
Alexandre Julliard d328085efa Authors: Guy Albertelli <guy@codeweavers.com>, Mike McCormack <mike_mccormack@start.com.au>
Property sheet Unicodification.
Support additional wizard flags.
2002-01-29 17:14:53 +00:00
Charles Loep 02cbb360e8 Implemented ImageList_Write. 2002-01-29 17:12:20 +00:00
Guy Albertelli 9ef01a23c5 Eliminate some useless error messages. 2002-01-29 17:11:30 +00:00
Huw D M Davies 8ebf7c292f Removed IsBadStringPtrA call that caused trouble. 2002-01-29 16:56:48 +00:00
Charles Loep 2d783f70f5 Fix errors resulting from missing parenthesis. 2002-01-29 16:54:50 +00:00
Guy Albertelli 390c6dfb93 Text/Bkgnd color fixes. 2002-01-29 16:52:24 +00:00
Dimitrie O. Paun 6d694d8ed6 Simplify and fix listview ellipsification of large text labels. 2002-01-29 16:50:40 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Gerard Patel 3dbbb0b297 Avoid converting nonexistent text from A->W. 2002-01-29 03:08:24 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Uwe Bonnes e0ab2b7f2a Consistent usage of istring, use STR_[Get|Set]Ptr where appropriate. 2002-01-22 00:51:16 +00:00
Dimitrie O. Paun 9e99d2b763 - Make the ListView control Unicode ready.
- Support both ANSI & Unicode ListView notifications.
- Fixed a few bugs.
2002-01-18 19:05:35 +00:00
Aric Stewart 97b8c5704e Initialize streamData and check on failure to read desired data from
stream.
2002-01-18 19:04:39 +00:00
Huw D M Davies 964109dec4 Stub for comctl32.419 2002-01-18 18:08:01 +00:00
Aric Stewart ca2f40bd9a Catch maximum number of times and return out of memory error. 2002-01-15 20:43:05 +00:00
Rein Klazes 49762a3a50 Move the implementation of comctl32._TrackMouseEvent to
user32.TrackMouseEvent and call this function in accordance with the
specs.
2002-01-15 20:41:41 +00:00
Huw D M Davies 1a65a7b88a Stubs for ImageList_[S|G]etFlags. 2002-01-15 20:28:05 +00:00
Huw D M Davies 02873bbee6 Convert MRULists to Unicode. 2002-01-14 18:36:03 +00:00
Guy Albertelli 404b9a5fb9 - Add additional TOOLBAR_CalcToolbar in a different path of Autosize.
- Remember and process WM_SETREDRAW messages.
- Process strings specificied in InsertButton{A|W}.
2002-01-14 18:33:17 +00:00
Guy Albertelli 935331f6da Fix a gripper issue and the adjustment of bands when RBBS_FIXEDSIZE
specified.
2002-01-14 18:32:42 +00:00
Huw D M Davies 3d683d5aef Fix off by one error in TOOLBAR_AddStringW. 2002-01-12 21:14:17 +00:00
Sander van Leeuwen fcc148b283 Never delete the font object received by WM_SETFONT. 2002-01-04 21:50:01 +00:00
Sander van Leeuwen 198f1e2f3e Fixed calls with wrong pointer: COMCTL32_Free(&lpttsi) should be
COMCTL32_Free(lpttsi).
2002-01-04 21:27:34 +00:00
Dimitrie O. Paun 0c16564093 Make DrawStatusText Unicode ready. Get rid of a HEAP_strdup call. 2002-01-02 21:43:48 +00:00
Michael Stefaniuc 00bd7998fb Fixed memory leak.
Removed redundant ImageList_DragShowNolock(FALSE) call.
2001-12-31 22:21:24 +00:00
Michael Stefaniuc 15a478f839 If the fccHandler is mmioFOURCC(0, 0, 0, 0) the AVI is also
uncompressed.
infoPtr->hWnd wasn't updated in ANIMATE_OpenA.
2001-12-26 23:39:13 +00:00
Gerard Patel b3a3a8f3bc Forward tab notifications to the parent. 2001-12-24 20:24:58 +00:00
Michael Stefaniuc 3bc5ffd3c6 Fixed/implemented the ImageList_*Drag* functions. 2001-12-19 18:47:14 +00:00
Lawson Whitney a77f8d374c If there is no psInfo, it doesn't need to be cleaned up. 2001-12-19 18:46:49 +00:00
Nog f12e130fc2 Pass on all unhandeled messages to the owner. 2001-12-17 20:52:11 +00:00
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Bill Medland 32ca21caaa A treeview item may be TVI_ROOT. 2001-12-11 00:15:11 +00:00
Dave Hawkes a1aeeb2b05 Fix for toolbar potentially using a NULL pointer. 2001-12-11 00:14:24 +00:00
Dave Hawkes 4d03cb64f4 The toolbar commands were not sent to the correct notification
window.
2001-12-05 22:10:26 +00:00
Guy L. Albertelli 0889bfa503 Undocumented feature of TB_{GET|SET}BUTTONINFO{A|W}: if mask has
0x80000000 set then the command id is really the index.
2001-12-01 00:37:41 +00:00
Michael Stefaniuc caf81dc0a6 Implemented ImageList_GetDragImage.
Fixed ImageList_SetDragCursorImage and ImageList_Merge.
No need for StretchBlt in ImageList_BeginDrag.
Added some traces.
2001-11-30 23:15:00 +00:00
Dave Hawkes 73f58ee2c7 TOOLBAR_GetRect did not correctly translate the command ID to the
button index.
2001-11-20 18:54:04 +00:00
Guy Albertelli aafec98803 - Define rest of URL_ESCAPE... and other flags.
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Guy Albertelli 45e9cea3d1 Implement most of the MRU related functions. 2001-09-20 18:58:43 +00:00
Mike McCormack 7c1db50c2f Ignore negative widths in HEADER_SetItemBounds. 2001-09-17 20:25:52 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Patrik Stridvall 3566973c78 Use the min/max in windef.h instead. 2001-09-10 23:09:04 +00:00
Guy L. Albertelli 91fc357226 - Handle CCS_NODIVIDER both when present and when not.
- Handle some cases of CCS_TOP, CCS_BOTTOM, and CCS_NOPARENTALIGN.
- Handle values returned from the RBN_CHILDSIZE notification.
- Implement RBBS_CHILDEDGE.
- Fix some logic errors in REBAR_AdjustBands, and problems with CCS_VERT.
2001-09-07 18:34:14 +00:00
Guy L. Albertelli f876b5df5a - Fix positioning of text in buttons.
- Fix nButtonHeight so that it is not zero in some cases
- Support TBSTYLE_TRANSPARENT.
- Fix handling in WM_ERASEBKGND so that the default erase occurs
  between notifies.
- Fix WM_NCCREATE processing to issue proper WM_STYLECHANGING (via
  SetWindowLong) and document the issues.
2001-09-07 15:29:21 +00:00
Alexandre Julliard 41d6a96a60 Removed inclusion of win.h. 2001-08-24 19:15:52 +00:00
Gerard Patel a02f3de89e Rect returned by LISTVIEW_GetItemRect should be total size in report
mode.
2001-08-21 17:04:02 +00:00
Gerard Patel ede9881523 Do not keep the handle of a deleted item as the selectedItem.. 2001-08-20 18:00:54 +00:00
Eric Pouech 6360917580 Because of circular dependencies between comctl32 and msvfw32, replace
in comctl32 delay loading of msvfw32 by manual loading.
2001-08-18 16:09:19 +00:00
Guy L. Albertelli d1c46851e1 - Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case.
- Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and
  ITEMPOSTPAINT only. (Used by IE4 - go figure.)
- Invalidate window rectangles after certain RB_ messages like the
  native. Fixed some painting problems.
- Added UpdateWindow call in _MoveChildWindows to fix other painting
  problems.
- Set the Caption Font as the default font for all bands.
2001-08-13 20:11:34 +00:00
Guy L. Albertelli f617391dad - Implement TBSTYLE_FLAT as "transparent" toolbar and buttons. (Skip
FillRect and BF_MIDDLE on _FLAT toolbars.)
- Issue FIXMEs for unsupported styles.
- If the "hidden" state has changed then recalc the buttons.
- Support TBSTYLE_CUSTOMERASE (used by IE4) ans issue some of the
  necessary NM_CUSTOMDRAW notifies.
- Pass the WM_ERASEBKGND to parent if the toolbar is "transparent".
- Invalidate the area 1 bigger than the button rect on a WM_MOUSELEAVE
  so that the edge is "erased" by the parent.
- Support the PGN_CALCSIZE notify since a toolbar can be a child of the
  Pager control.
2001-08-13 20:09:18 +00:00