Commit Graph

341 Commits

Author SHA1 Message Date
Jason Mawdsley 84c494bd34 Added support for typing the filename in the listview control and
having the control select it.
2000-06-03 21:04:33 +00:00
Chris Morgan 087ba42b02 Added 3D border around control. Fixed monthcal control popup. Added
WM_SIZE support.  Optimized drawing.  Added WM_LBUTTONUP handling.
Handle DTS_RIGHTALIGN style.  Fixed handling of formatting styles,
date is now displayed properly for DTS_SHORTDATEFORMAT.
2000-05-30 20:06:54 +00:00
Chris Morgan 043c3e7977 Removed all direct calls to MONTHCAL_Refresh() and replaced with
either RedrawWindow or InvalidateRect. Optimized drawing using
RedraWindow and update regions.  Fixed "Today" date bug where year was
only one digit.  Fixed drawing of circle drawn next to "Today".  Fixed
moving to previous or next month by clicking on days belonging to
previous or next months.
2000-05-30 20:06:33 +00:00
Alexandre Julliard 53f8c60ee9 Francois Methot (Macadamian)
Fixed the blank color palette tooltip bug by triggering a refresh of
the tooltip with UpdateWindow function instead of calling directly the
refresh function.
2000-05-26 01:16:01 +00:00
Aric Stewart f64a59f2fe Reworked the thumb drawing code, thumb calculation code, channel
calculation code, and corrected some bugs in how tics are drawn and
how clicks are handled.
2000-05-25 23:02:18 +00:00
Chris Morgan b70b26709f Use clipping regions to reduce the amount of processing performed when the
toolbar is repainting.  Reduces processing by approximately 85-95% in most
cases.
2000-05-25 23:01:20 +00:00
Gerard Patel bfd5b31a0e Fixes crash when calling Treeview_EndEditLabelNow and no node is
currently edited.
2000-05-25 23:00:46 +00:00
Susan Farley 820da77db3 Defer to standard scrolling APIs for non-flatSB specific functions so
that flatSBs show up and behave properly, just not with flat properties.
2000-05-24 21:05:20 +00:00
Aric Stewart 4b40a7dc8f Added handling for TVS_SINGLEEXPAND. 2000-05-24 21:02:50 +00:00
Aric Stewart 6274a7ab88 Corrected the problem where a tab control marked multiline but has
only one tab was being justified to fill the whole tab space.
2000-05-24 21:02:29 +00:00
Martin Fuchs 0b5642160c Inserted a missing call to SetWindowPos(). With this change the header
control is visible again in list views with report style.
2000-05-24 03:33:05 +00:00
Susan Farley 62c5d9f366 SetBuddy no longer overwrites its superclass' WndProc property when
the buddy has already been subclassed, eliminating the infinite loop
that resulted.
2000-05-23 21:22:27 +00:00
Chris Morgan e2099dc987 Fixed tooltips. 2000-05-23 21:12:03 +00:00
Chris Morgan 7030c5f78a Reduce toolbar redrawing and flicker by calling RedrawWindow() in
TOOLBAR_MouseMove() only if hot effect applies to the current hot
button.  Restore bHot flag of hot button in TOOLBAR_LButtonUp() to
restore hot effect properly.
2000-05-23 21:11:06 +00:00
Aric Stewart 9700b7fa55 Corrected a problem of when oldHit is negative and we try to use it as
an index into the buttons array.
2000-05-23 04:10:45 +00:00
Aric Stewart 9a3dd5b249 If a listview is created with LVS_NOCOLUMNEHEADER then wine creates the
header like normal but just sets it not visible. This fix lays out
those supposedly nonexistent headers to size 0,0. So that even if they
become visible they are not drawn.
2000-05-23 01:24:24 +00:00
Chris Morgan 9a171b8e3e Update nItemWidth in LISTVIEW_SetItem() if LVS_LIST or LVS_SMALLICON
mode and item text is wider than the current nItemWidth.
2000-05-19 03:44:46 +00:00
Aric Stewart cbf9395a66 Fixes the line of garbage at the bottom of images and the fact that
the buttons in the open dialog box where too tall.
2000-05-19 03:36:53 +00:00
Francois Gouget 244ad84f50 Convert C++ comments to regular C comments. 2000-05-18 00:05:10 +00:00
David Black 2b44191367 Implemented TVM_EDITLABELA, plus some improvements to EndLabelEditNow. 2000-05-14 23:50:00 +00:00
Patrik Stridvall 5ca73ac93a Fixed issues found by winapi_check. 2000-05-11 21:46:51 +00:00
Eric Pouech 051cccee06 Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars). 2000-05-11 21:42:12 +00:00
Ken Thomases da2cd4d070 Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
mouse-over).
2000-05-11 21:40:36 +00:00
Aric Stewart 031793e7f9 Remove the background from the new image when it is being replaced
with a ReplaceImage.
2000-05-11 21:39:45 +00:00
Aric Stewart 0406a08cdc Clean up the drawing code after a label update. There were problems if
the new label is shorter that the old label fragments of the old label
were left drawn.
2000-05-11 00:07:44 +00:00
Aric Stewart ebf34ae4ba Allow the user to cancel label editing with esc and confirm with return. 2000-05-10 21:53:19 +00:00
Ken Thomases f9e280aab3 Restore accidentally undone changes. 2000-05-10 21:42:53 +00:00
Aric Stewart f7a51e1e3a - Wine was not properly reporting back the edited label to the
application in a treeview when the label is a callback.
- Because windows applications assume they get a new edit control
  every time they often subclass that edit box willy-nilly and do not
  clean up. So it is necessary to actually give them a new edit control
  each time.
2000-05-10 21:42:21 +00:00
Aric Stewart 035245c873 - Cleaned up some of the drawing code, specifically dealing with
avoiding trying to draw invalid bitmaps.
- Avoid directly calling drawing functions instead invalidating rects
  and relying on WM_PAINT.
- For the dropdown event check the button style as opposed to the
  toolbar style.
2000-05-10 21:40:49 +00:00
Alexandre Julliard 8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Gerard Patel a1b2fc2a80 Protect against use of comctl32 private control memory after it has
been freed.
2000-05-10 01:34:53 +00:00
Aric Stewart 7b6ed869db Some programs switch their status bar back and forth from simple mode
while running. This fix corrects drawing and text setting problems that
result from this behavior.
2000-05-10 01:33:20 +00:00
Aric Stewart 8ee3144a77 Added the ability to use multiline tab controls to wine. 2000-05-09 22:33:48 +00:00
Gerard Patel d7cbd7b001 Set the itemID member of the DRAWITEMSTRUCT to the number of the
status part painted.
2000-05-07 18:25:56 +00:00
Chris Morgan 53b152f73c Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial
support for the LVS_EX_TRACKSELECT flag.  Added code to delete items
in LISTVIEW_SetItemCount().
2000-05-07 18:24:10 +00:00
Aric Stewart 7d6e9a1ab0 Fixed a bug with the processing of HitTest. 2000-05-05 18:22:44 +00:00
Huw D M Davies 2be78d412f Fixed DC leak. 2000-05-05 18:18:31 +00:00
Sheri Steeves 1e0dfb598b Worked around some tooltips hide problems by checking the current tooltip. 2000-05-05 18:16:35 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Alexandre Julliard 2fb5dee6e7 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented TME_QUERY and TME_HOVER flags in _TrackMouseEvent and
TrackMouseEventProc.  Added code to allow addition/cancelation of
tracking flags on existing entries rather than create extra entries.
Fixed timer.  Added check to _TrackMouseEvent to stop timer if the
tracking list is empty.  Fixed TME_CANCEL.  Fixed TME_LEAVE/TME_HOVER
when hwndTrack isn't the current hwnd.
2000-04-28 20:49:20 +00:00
Martin Fuchs 33bdf53d9d - Return modified rectangle after layouting header control
- Output text in header control when no other Flag specified
- Delay bounding rectangle calculation for header control items
2000-04-28 14:46:36 +00:00
Chris Morgan 980afc9a3d Implemented TOOLBAR_MouseLeave to handle WM_MOUSELEAVE messages.
Added TrackMouseEvent calls to TOOLBAR_MouseMove.  Hot buttons now
look/behave almost exactly the same as native windows.
2000-04-28 14:45:44 +00:00
Patrik Stridvall 55ef9a5a68 Fixed issues found by winapi_check. 2000-04-24 18:03:54 +00:00
Alexandre Julliard 5f4c9a0023 Patrick Yang (Corel)
infoPtr sometimes can be NULL.
2000-04-24 18:01:27 +00:00
Martin Fuchs c37a639e33 Fixed toolbar bitmap size handling. 2000-04-24 17:34:42 +00:00
Alexandre Julliard 491bc7c751 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Redraw toolbar button inside TOOLBAR_EnableButton() only if the state
of the button changes.  Stops flickering in toolbars caused by
excessive redrawing.
2000-04-23 19:56:07 +00:00
Alexandre Julliard ae7ae694b3 Removed winmm from import list. 2000-04-19 16:52:06 +00:00
Alexandre Julliard 59d99130c5 Use GetProcAddress for mmio* functions to avoid importing winmm.dll. 2000-04-19 16:48:45 +00:00
Stephane Lussier 30316dd5f6 Mousewheel support. 2000-04-19 16:45:30 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00