Commit Graph

1684 Commits

Author SHA1 Message Date
Aric Stewart
42e592d17a Reading the MRUlist using the W functions we need to divide the size
by sizeof(WCHAR) to get the count of characters.
2005-09-06 11:42:13 +00:00
Frank Richter
9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Phil Krylov
682dd707c8 Improved header control performance by maintaining an internal order
array.
2005-08-29 12:17:42 +00:00
Yuri Kozlov
dc21c5e45a Set default size for toolbar bitmap if not specified. 2005-08-29 09:39:04 +00:00
Mike McCormack
280bcf6e4a Fix gcc 4.0 warnings. 2005-08-27 10:00:38 +00:00
Thomas Weidenmueller
c9b7442689 It should be allowed to pass NULL handles in the phpage array of the
PROPSHEETHEADER structure to PropertySheet(), just ignore them.
2005-08-27 09:59:09 +00:00
Alexandre Julliard
cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Phil Krylov
030dbe2d98 Draw header control items only within the header client area. 2005-08-25 19:18:14 +00:00
Frank Richter
4946623d2b Add WM_CTLCOLORSTATIC handler to dialog theming subclass so static
text can appear transparent (for e.g. tab pages which commonly have a
"fancy" background).
2005-08-25 15:20:48 +00:00
Vitaliy Margolen
abd12e4dbf Fix handling of minimum tab width.
Add more tests to test it.
2005-08-23 10:05:54 +00:00
Michael Kaufmann
e3a35a8653 - Redraw immediately upon PBM_SETPOS, PBM_DELTAPOS, PBM_STEPIT.
- New tests.
2005-08-23 10:02:25 +00:00
Aric Stewart
bf129c41de Fix for dreamweaver site definition dialog. Need to initialize the
rect for a tab control to an empty rect if it is not visible.
2005-08-22 14:07:22 +00:00
Michael Kaufmann
1845444424 Handle WM_GETFONT and WM_SETFONT. 2005-08-22 09:20:36 +00:00
Frank Richter
00353712f2 Forward WM_DESTROY to superclass in edit & listbox theming. 2005-08-19 13:58:03 +00:00
Frank Richter
8bba08ce3d Merge subclass stubs and subclass proc. Having the stub set the window
proc to the subclass proc was not a good idea since that breaks
subclasses of themed standard controls (e.g. what Delphi does a lot).
2005-08-19 13:57:49 +00:00
Frank Richter
f02d6df55c Add theming support for dialogs (to support tab page background). 2005-08-19 10:05:34 +00:00
Frank Richter
942dc56126 Add theming for listbox (and combo listbox) controls. 2005-08-18 11:45:43 +00:00
Frank Richter
2f47050c32 Only draw a themed border when edit control has WS_EX_CLIENTEDGE
style.
2005-08-18 10:48:45 +00:00
Frank Richter
8f9fa7abc7 Add theming for combo boxes. 2005-08-16 19:30:06 +00:00
Frank Richter
0783465543 Subclass edit control to draw themed border. 2005-08-15 10:24:22 +00:00
Frank Richter
37bc5d81e2 Improved trackbar theming. 2005-08-15 10:24:00 +00:00
Frank Richter
65f10442a7 Instead of adding the border via WM_NCPAINT and WM_NCCALCSIZE, do what
native does: just clear WS_EX_STATICEDGE when themed and reduce the
area the actual bar is painted in to the progress bar theme part
content rect.
2005-08-15 09:34:02 +00:00
Frank Richter
b49c12a91e Determining the superclass for a window subclassed for theming doesn't
work - e.g. Delphi buttons have the classname "TButton" for which no
superclass will be found. Instead, use initial subclass window procs
that have the subclass hardcoded and store it for the "real" subclass
window proc.
2005-08-12 15:52:56 +00:00
Frank Richter
251502b281 Add initial theming support for trackbars. 2005-08-12 11:17:26 +00:00
Frank Richter
464f562a3a Add theming for toolbar control. 2005-08-12 11:17:14 +00:00
Frank Richter
b5940f7283 Fix text color for "button" style tabs when theming is enabled. 2005-08-11 18:35:00 +00:00
Frank Richter
cec8b6b014 Add theming for status bar control. 2005-08-11 18:34:45 +00:00
Frank Richter
a95e3e2923 Add theming for the progress control. 2005-08-11 18:34:35 +00:00
Frank Richter
36258675ad Add theming for the rebar control. 2005-08-11 17:05:18 +00:00
Frank Richter
25464ceef5 Add theming for the monthcal control. 2005-08-11 17:05:00 +00:00
Francois Gouget
38339b0a96 The PSDK does not define a TreeView_InsertItemA() macro so use
TreeView_InsertItem() instead.
2005-08-10 14:42:32 +00:00
Alexandre Julliard
d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
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