Commit Graph

1641 Commits

Author SHA1 Message Date
Filip Navara 52cf1851b8 Use ReleaseDC instead of DeleteDC on DC handle. 2005-07-26 18:25:46 +00:00
Frank Richter 38904c4fae Add theming for the up/down control. 2005-07-25 11:23:42 +00:00
Frank Richter d42210dd11 Use theming for the ListView non-client area. 2005-07-25 11:09:38 +00:00
Frank Richter 564872cd81 Add theming support for header controls. 2005-07-25 11:09:09 +00:00
Robert Shearman 3e03bc1d73 - Call SetBkMode with the correct value from the NMTBCUSTOMDRAW
structure.
- Don't fill the NMTBCUSTOMDRAW structure in again for
  CDDS_POSTPAINT.
- Remove redundant bBtnTransprnt value.
2005-07-22 19:57:44 +00:00
Robert Shearman 87dacfffc2 - Height is now calculated based on the number of rows, not on the
bounding rect.
- Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or
  TBSTYLE_EX_UNDOC1 set.
- Remove a bad test in SetButtonWidth that fixes a regression from the
  above change in IE.
- Remove unnecessary nHeight data.
- Remove duplicated code in Size by calling AutoSize.
- Remove unnecessary bAutoSize value because SetWindowPos doesn't
  generate WM_SIZE when there is nothing to do on both Windows and
  Wine.
2005-07-22 19:55:54 +00:00
Robert Shearman 05f2506c06 TBSTATE_INDETERMINATE only takes effect if the button is enabled,
otherwise it should just appear like any other disabled button.
2005-07-22 19:54:17 +00:00
Robert Shearman 481d189508 Native autosizes on inserting/adding buttons, so we should too. 2005-07-22 19:52:05 +00:00
Robert Shearman 8b086842c3 The IsValidImageList test is not needed because if it isn't a valid
image list we will have set the bitmap width and height to 1 and it
does the wrong thing when no buttons are present.
2005-07-22 19:48:07 +00:00
Robert Shearman 2e0a42ec2c The calculated button height should include the text height when no
buttons are present.
2005-07-22 18:28:46 +00:00
Frank Richter 5c3f6bcd44 Enabled "tab" dialog texture for property sheet pages. 2005-07-18 10:31:06 +00:00
Dimi Paun ebe8b2292a Silence uninitialized warnings. 2005-07-18 09:10:31 +00:00
Kevin Koltzau 28f15a3bdf Forward some header notifications to parent of listview. 2005-07-15 11:42:47 +00:00
Thomas Weidenmueller 2e7f3ad702 Support PSM_IDTOINDEX. 2005-07-15 11:42:18 +00:00
Thomas Weidenmueller 6ea26b50a9 - Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
2005-07-15 09:59:04 +00:00
Aric Stewart cd6fd67dcb When adding an image copy the full previous buffer.
Implement replacing an icon with one from a resource.
2005-07-15 09:57:21 +00:00
Robert Shearman ec167634f9 Handle CopyImage and other functions failing by not adding the icon
and notifying the caller.
2005-07-14 10:15:59 +00:00
Francois Gouget 28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +00:00
Felix Nawothnig 7dde735180 Fix some DPA functions so they pass the new tests. 2005-07-08 11:30:28 +00:00
Felix Nawothnig 6d9150dd38 Add another failing DPA test. 2005-07-07 11:26:26 +00:00
Felix Nawothnig bd8790bee4 Don't invalidate the whole propsheet when the page is switched. 2005-07-06 19:03:33 +00:00
Francois Gouget c7dcf642ea Add trailing '\n's to ok() calls. 2005-07-06 15:46:47 +00:00
Felix Nawothnig 627acaf6f7 Move DPA and DSA functions out of comctl32undoc.c as they are
documented by now.
2005-07-06 10:32:18 +00:00
Felix Nawothnig 7a4b579b11 Fix DPA tests on Win95. 2005-07-05 11:01:29 +00:00
Frank Richter c81d46d77f Let property sheets update the cached system colors upon receiving
WM_SYSCOLORCHANGE.
2005-07-05 10:57:37 +00:00
Felix Nawothnig 126af8653e Rewrote the DPA testsuite. 2005-07-03 12:02:09 +00:00
Vitaliy Margolen 4f403edd03 Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify. 2005-06-30 18:11:19 +00:00
Robert Shearman 389f9d55d9 - Document how the native lays out the internal components of
buttons.
- Fix control to follow these rules.
- Don't redraw disabled buttons.
- Padding is never less that GetSystemMetrics(SM_{CX,CY}EDGE).
- Change default iListGap value to 4 to match native.
2005-06-25 17:55:40 +00:00
Robert Shearman eb9960f15b Fix a regression in IE where the Favourites menu didn't appear
correctly because the height and width were swapped in the pager
control.
2005-06-25 17:55:15 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Stefan Huehner 712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Huw Davies 2e301ceb1c For modal propsheets we should run our own message loop rather than
use a modal dialogbox just like Windows does.  This helps apps that
subclass the propsheet's wndproc.
2005-06-15 19:12:57 +00:00
Krzysztof Foltman 6b1e80cb2c Test when TVN_SELCHANGING and TVN_SELCHANGED are really sent. 2005-06-13 12:23:01 +00:00
Krzysztof Foltman 112df73530 Don't send TVN_SELCHANGING nor TVN_SELCHANGED if the same item is
selected again.
2005-06-13 11:38:55 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Alex Zorach d4c08fdbe9 Fixed SetFocus behavior. 2005-06-09 09:41:56 +00:00
James Hawkins 645ec7d6e2 Audit the Tab control. 2005-06-06 10:03:03 +00:00
Felix Nawothnig 7572fd3870 Fix some missed invalidations after column resize. 2005-06-04 10:00:12 +00:00
James Hawkins 4d639be88b - Factor out common text shifting logic.
- Shift selected tab text up instead of down.
2005-06-04 09:37:22 +00:00
Kouji Sasaki 6b5b0b9195 Added the feature to change row height in owner draw controls. 2005-05-30 11:10:01 +00:00
Francois Gouget 62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Felix Nawothnig 92f9c3f1b9 Pass the right hwnd to ReleaseDC(). 2005-05-29 20:02:32 +00:00
Kouji Sasaki d8c100478e Added the callback item processing for LISTVIEW_EndEditLabelT
function.
2005-05-26 12:23:38 +00:00
Kouji Sasaki 2218c6e479 Corrected the priority of operators for LISTVIEW_GetNextItem
function.
2005-05-25 09:53:46 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Kouji Sasaki 31f718b8bf Added handling of WM_ENABLE message. 2005-05-24 11:46:53 +00:00
James Hawkins 40c8f1bc02 Audit the List-View control. 2005-05-24 09:50:23 +00:00
James Hawkins 5e6b43e2a0 Select the item under the point (x,y) in MouseHover. 2005-05-20 19:16:23 +00:00
Dimi Paun 5631d063f4 Do not compute the hit test if we don't really need it. 2005-05-19 14:21:55 +00:00