Mike McCormack
ab4438e24d
comctl32: Invalidate the entire progress bar any time it changes.
2006-01-11 12:11:46 +01:00
Phil Krylov
1b9fc2a170
comctl32: Fix emitting of NM_CUSTOMDRAW header notifications.
...
Emit NM_CUSTOMDRAW header notifications for all headers, not only
ownerdrawn. Allow to change item text and background colors in an
application's NM_CUSTOMDRAW handler.
2006-01-10 19:58:24 +01:00
Phil Krylov
b2d289fa23
comctl32: Call UpdateWindow() after changing statusbar text.
2006-01-10 12:06:44 +01:00
Phil Krylov
a05bfbfb86
comctl32: Fix rebar autosize behaviour.
...
Allow autoresizing rebar by PostMessage(hwndRebar, WM_SIZE, 0, 0) like
native does, taking as few rows as possible and using the parent
window client area size for the other dimension (width for horizontal
rebars or height for vertical ones).
2006-01-09 18:41:45 +01:00
Thomas Weidenmueller
bb56d907e5
comctl32: Reduce memory usage of the syslink control.
2006-01-06 13:08:09 +01:00
Thomas Weidenmueller
adc416b756
comctl32: Some painting fixes for the syslink control.
2006-01-06 13:04:14 +01:00
Vitaliy Margolen
a8e59b1c52
comctl32: Listview - allow selection toggle with ctrl+space.
2006-01-03 12:11:18 +01:00
Thomas Weidenmueller
e1fd79bb89
comctrl32: ReAlloc should be able to move memory blocks if necessary.
2006-01-03 12:06:40 +01:00
Robert Reif
ac9b087026
comctl32: Create ipaddress in enabled state.
2005-12-31 13:13:52 +01:00
Thomas Weidenmueller
3faa66ee2a
comctl32: Fix error handling in PSM_ADDPAGE in case of memory
...
allocation failure.
2005-12-31 13:12:19 +01:00
Dmitry Timoshkov
f15abf08ac
comctl32: Add a test for the initial tooltip window style settings,
...
make it pass under Wine.
2005-12-19 17:43:10 +01:00
Eric Pouech
1d2f975ba9
comctl32: Fixed (harmless) typo.
2005-12-12 11:54:35 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
YunSong Hwang
5e7f77ea8b
Update Korean translations.
2005-11-23 15:21:56 +01:00
Thomas Weidenmueller
36f6bbb85c
Improved word wrapping and tab key handling.
2005-11-21 13:34:06 +00:00
Vijay Kiran Kamuju
b904e25234
Added header control tests.
2005-11-18 12:33:10 +00:00
YunSong Hwang
d442d298a0
Update Korean translations.
2005-11-18 12:07:42 +00:00
Vitaliy Margolen
def2bb6798
Return false if index is out of bounds in GetItemT.
2005-11-17 11:06:18 +00:00
Raphael Junqueira
e3d53b4722
Implement implement header callback support (HDN_GETDISPINFO notification):
...
- better factorisation
- unicode fixes
2005-11-15 16:54:41 +00:00
Markus Amsler
996e594240
Reformat "see" section, to match c2man requirements.
2005-11-14 11:20:10 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Francois Gouget
f4c0524ec6
Assorted spelling and case fixes.
2005-11-10 11:39:07 +00:00
Francois Gouget
2adb302a99
Add trailing '\n's to ok() and TRACE() calls.
2005-11-10 11:17:38 +00:00
Alex Villacís Lasso
4082e9a69c
Do not issue a GetUpdateRect() to query an update region for
...
WM_PAINT(wParam=HDC) case. Instead, use GetClientRect() for a bounding
rect.
2005-11-08 13:11:48 +00:00
Michael Kaufmann
e9310da57b
Handle WM_PRINTCLIENT.
...
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Dimi Paun
cd1b13fb7d
Validate the column index passed in by the caller.
2005-11-05 10:42:35 +00:00
Vincent Béron
1c310878ac
Move functions in comctl32/string.c to remove function declaration.
2005-11-04 11:14:52 +00:00
Dmitry Timoshkov
53be932ba6
Use Win32 APIs for string comparison.
2005-11-03 19:31:59 +00:00
Dmitry Timoshkov
592a81ab22
Avoid printing out a possibly uninitialized variable.
2005-11-02 19:56:24 +00:00
Ulrich Czekalla
795de499d5
Clear bLButtonDown flags if mouse is not down.
2005-11-02 10:56:12 +00:00
Martin Fuchs
ac6c7a9a10
Include config.h and port.h for strncasecmp() in MSVC port.
2005-11-01 21:37:19 +00:00
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
Troy Rollo
c0b79e0b05
Detect when the notification callback has destroyed the ListView to
...
avoid attempts to access data that is no longer valid.
2005-10-21 15:49:36 +00:00
Krzysztof Foltman
364c3aa449
Separators with group style set don't separate toolbar radio groups
...
anymore (which broke tool selection in Front Panel Designer).
2005-10-21 15:45:11 +00:00
Alexandre Julliard
9cf9e5e7dd
Don't register classes is no theme is active to avoid trouble (based
...
on a patch by Vitaliy Margolen).
2005-10-19 19:08:31 +00:00
Francois Gouget
a1f9a13997
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-06 11:38:45 +00:00
Vitaliy Margolen
8fb6037626
Correct Page Up/Down handling in report mode.
2005-10-04 17:58:46 +00:00
Vitaliy Margolen
6ab0b0194d
Don't start dragging for a single mouse click.
2005-10-04 15:50:24 +00:00
Vitaliy Margolen
059a8c15f2
Don't arrange tabs if there is only one line.
2005-10-03 18:46:07 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Alexander N. Sørnes
51ff901f97
Added Norwegian translation of comctl32 and shell32.
2005-09-21 11:43:31 +00:00
Jason Edmeades
a18b7baa87
Fix some off by one calculations in the comboboxex functions, and
...
handle an out of range positive index the same as windows + unit test
case.
2005-09-21 09:41:44 +00:00
Mike McCormack
c621a5801f
Fix if's that are followed by semicolons.
2005-09-20 11:37:58 +00:00
Milko Krachounov
980f817737
Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
...
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Ge van Geldorp
c00ded589a
Do some bounds checking on iOrder.
2005-09-18 12:29:35 +00:00
Dmitry Timoshkov
66f603ce4b
Call SetDIBits with a proper DC in order to set bitmap bits.
2005-09-18 11:12:00 +00:00
Ge van Geldorp
e3b3c5ad7c
Buffer size needs to be specified in bytes on input.
2005-09-17 14:29:01 +00:00
Robert Shearman
2c6ab0dba5
- Add support for navigating a toolbar with the arrow keys.
...
- Fix WrapToolbar in the case of no parent window.
- Use the newly added NMTBINITCUSTOMIZE for sending the
TBN_INITCUSTOMIZE so that it is safe on 64-bit platforms.
2005-09-14 19:16:03 +00:00
Michael Jung
aa0da30296
Fixed inconsistency in LISTVIEW_DUMP macro.
2005-09-13 14:30:53 +00:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard
ba41fe20bc
Fixed a few more pointer to integer typecast issues for 64-bit
...
platforms.
2005-09-12 21:22:32 +00:00
Frank Richter
fc4b08d5fc
Unregister theming subclasses at comctl32 shutdown; should fix
...
reported re-registration errors.
2005-09-12 11:10:58 +00:00
Alexandre Julliard
e4b2a0bbbc
Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
...
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard
4c34d9386c
Specify 64-bit integers as double instead of long long in spec files
...
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
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