Vitaliy Margolen
c258430643
Unify HEADER_GetItem[A/W] into one function.
2005-10-29 11:08:20 +00:00
Vitaliy Margolen
89a4918218
Unify HEADER_InsertItem[A/W] into one function.
2005-10-28 10:40:27 +00:00
Vitaliy Margolen
05905cc526
Unify HEADER_SetItem[A/W] into one function.
2005-10-27 10:19:29 +00:00
Ge van Geldorp
c00ded589a
Do some bounds checking on iOrder.
2005-09-18 12:29:35 +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
Phil Krylov
030dbe2d98
Draw header control items only within the header client area.
2005-08-25 19:18:14 +00:00
Frank Richter
07f8690718
Add hottracking support for the header control.
2005-08-03 11:45:19 +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
Filip Navara
52cf1851b8
Use ReleaseDC instead of DeleteDC on DC handle.
2005-07-26 18:25:46 +00:00
Frank Richter
564872cd81
Add theming support for header controls.
2005-07-25 11:09:09 +00:00
Vitaliy Margolen
4f403edd03
Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify.
2005-06-30 18:11:19 +00:00
Felix Nawothnig
e9e6f13996
Rewrote item layouting - new code fixes bitmap/image position for
...
non-left-aligned text, prevents jumping when resizing non-left-aligned
text, implements clipping for images and correctly aligns bitmaps when
an image is already there.
2005-05-14 11:03:17 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Dimitrie O. Paun
4904c8b52b
Complete unicodification of the header common control.
2005-03-23 10:23:06 +00:00
Maxime Bellengé
f28afa1047
Correctly displays the text with ellipsis when there is not enough
...
room in a header item and an image from an imagelist is displayed on
the right of the text.
2005-02-23 12:41:43 +00:00
Maxime Bellengé
7462a8f53f
Fix SetItem so that items don't get wrongly re-ordered.
2005-02-21 18:34:17 +00:00
Evan Deaubl
c84832160c
GetItemA/W on header controls should handle message even if index is
...
invalid.
2005-01-10 14:25:30 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Robert Shearman
8d28e0314c
Remove unnecessary WNDPROC casts.
2004-11-06 03:49:03 +00:00
Vitaliy Margolen
4cf764f503
Send correct tracing notification messages.
2004-09-13 18:05:02 +00:00
Hans Leidekker
411fc5f164
Fix signed/unsigned comparison warnings.
2004-09-02 23:00:53 +00:00
Robert Shearman
cdb263e588
Replace GetWindowLong by GetWindowLongPtr.
2004-08-25 17:33:01 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Dimitrie O. Paun
c594043316
Make the controls send notifications to the parent window passed to
...
them in CREATESTRUCT. Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Maxime Bellengé
5b99b3df29
- Implemented HEADER_SetBitmapMargin and HEADER_GetBitmapMargin.
...
- Get rid of some magic numbers in HEADER_DrawItem.
- Fixed the drawing of images from imagelist when the
HDF_BITMAP_ON_RIGHT flag is set.
2003-10-14 20:13:42 +00:00
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Dimitrie O. Paun
7de279a73a
Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}.
2003-09-22 21:32:33 +00:00
Alexandre Julliard
9d61596624
SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara).
2003-09-17 04:28:28 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Robert Shearman
f644c787ee
Update ordering on insertion of an item.
2003-05-22 03:34:54 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Carlos
9fa51e4172
Fixed duplicated arrows in header control.
2002-10-23 23:31:35 +00:00
Michael Stefaniuc
353529b2c8
- fix the "int format, HANDLE arg" type of warnings for comctl32
...
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Dimitrie O. Paun
d664540782
Bring header's height more inline with native's.
2002-10-22 00:41:45 +00:00
Dimitrie O. Paun
f8514f5b3c
Fix notification from header, on item changed.
...
Small indentation fixes.
2002-10-21 18:22:51 +00:00
Martin Fuchs
fe7d46a221
pszText is stored as Unicode, so call DrawTextW() instead of
...
DrawTextA().
2002-10-18 00:20:04 +00:00
Bill Medland
69f18275d5
Correction to header order maintenance when a dummy first item is
...
added and then deleted (as suggested by MSDN to handle the fact that
the first column of a listview is left justified). Also removed
redundant casts.
2002-07-16 01:14:46 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Huw D M Davies
b3b0ddb859
Fix off by one error in HEADER_InsertItemW.
2002-04-03 22:43:27 +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
Andreas Mohr
2295e87be8
Fixed some more missing parenthesis issues.
2002-02-02 18:06:03 +00:00
Mike McCormack
7c1db50c2f
Ignore negative widths in HEADER_SetItemBounds.
2001-09-17 20:25:52 +00:00
Gerard Patel
66226d80f3
Set background mode to transparent before calling owner-drawn user
...
handling.
2001-04-04 00:09:05 +00:00
Ulrich Czekalla
361eebb1ba
Mark width as valid when we send HDN_ENDTRACKA.
2000-12-15 20:54:41 +00:00
Alexandre Julliard
f6168db690
Fixed some warnings.
2000-12-13 20:03:53 +00:00
Eric Kohl
4718b6d09d
Fixed crash of WinZip 8.0 due to invalid image list handle.
2000-12-13 01:52:23 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00