Commit Graph

1652 Commits

Author SHA1 Message Date
Frank Richter 07f8690718 Add hottracking support for the header control. 2005-08-03 11:45:19 +00:00
Frank Richter db5b331f3a Remove unneeded theming check. 2005-08-03 10:56:14 +00:00
Vitaly Lipatov 2af4200877 Use STATEIMAGEINDEX / INDEXTOSTATEIMAGEMASK instead of bit
operations.
2005-08-02 09:47:18 +00:00
Alexandre Julliard 90c3c89aea Fixed regression in DPA_Search. 2005-08-01 14:50:36 +00:00
Felix Nawothnig 9fb00ff5c8 Fix DPA_Search for sorted arrays. 2005-08-01 09:18:23 +00:00
Steven Edwards e14569d122 Correct RegCreateKeyEx[A/W] prototype to match the PSDK. 2005-07-28 10:18:23 +00:00
Frank Richter 171fea006d Add theming for treeview control. 2005-07-28 10:15:10 +00:00
Frank Richter c952f08ba8 Add theming support for the tab control. 2005-07-28 10:14:52 +00:00
Frank Richter d219a54e80 Since OpenThemeData() should return 0 in case theming is disabled
globally or for the application we don't need to check that when
calling OpenThemeData().
2005-07-27 15:16:09 +00:00
Frank Richter 54de614906 Split up the drawing code into a set of smaller functions and also
moved some common computations into helper functions. All that to
facilitate the implementation of the forthcoming theming support.
2005-07-27 12:07:03 +00:00
Frank Richter 7d00bb387e Added some generic code to allow subclassing (for the purpose of
theming) of standard controls.
2005-07-27 10:54:49 +00:00
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