Dmitry Timoshkov
2964888d05
A general cleanup of the version resources in Wine DLLs.
2003-11-30 05:59:29 +00:00
Huw Davies
6cfbf89529
Merge {Set,Insert}Item[AW] to {Set,Insert}ItemT.
2003-11-27 01:11:01 +00:00
Ulrich Czekalla
1afef2c732
In TREEVIEW_EnsureVisible handle case where firstVisible is NULL.
2003-11-27 00:55:18 +00:00
Huw Davies
96b9057097
Merge GetItem[AW] into GetItemT.
2003-11-26 22:26:19 +00:00
Aric Stewart
d78dfc8e44
Redraw if bold state changes.
2003-11-26 22:07:17 +00:00
Robert Shearman
7d6afc5ddc
- Add support for TBSTYLE_EX_MIXEDBUTTONS.
...
- Add support for TBSTYLE_EX_HIDECLIPPEDBUTTONS.
- Replace 'magic numbers' with #define'd constants.
- Fix TBN_INITCUSTOMIZE.
- Add support for TBN_CUSTHELP and TBN_RESET.
- Fix TB_SETEXTENDEDSTYLE (it appears it should or the new style,
rather than set).
- Fix TB_SETSTYLE (this is meant to be for setting the control style,
not the button style).
2003-11-26 22:05:02 +00:00
Ulrich Czekalla
12f7a36132
Always recompute an item's text width in the case of text callbacks
...
and when its attributes change.
2003-11-26 22:03:58 +00:00
Huw Davies
5693ecd212
Unicodification. Based on a patch by Aric Stewart.
2003-11-26 03:37:30 +00:00
Rein Klazes
8ba9b5fc7e
Use button face color for the image mask when adding a bitmap to the
...
toolbar, not the color of the top left pixel of the image.
2003-11-25 01:45:50 +00:00
Rein Klazes
7f7cde0eee
Fix some confusion between number of bitmaps and number of buttons in
...
TOOLBAR_ReplaceBitmap().
2003-11-21 21:30:48 +00:00
Huw Davies
4a8e33954e
We need to send TVN_EXPAND* on collapsing either when the user has
...
initiated it with the mouse/keybaord or in response to a TVM_EXPAND
when the state is not TVIS_EXPANDEDONCE. This brings the logic into
line with TREEVIEW_Expand.
2003-11-21 21:30:20 +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
Dimitrie O. Paun
6443ee58bc
Cleanup the edit wndproc a bit.
2003-11-20 04:19:59 +00:00
Dimitrie O. Paun
e5762652d2
Remove some dead code: hwndParent is not used anywhere.
2003-11-20 04:19:41 +00:00
Ivan Leo Murray-Smith
15a9d28707
Added/updated Italian resources.
2003-11-19 02:14:44 +00:00
Huw Davies
a63270f183
Unswap Page Up & Down and fix TBS_DOWNISLEFT.
...
NM_* notifications go via WM_NOTIFY not WN_?SCROLL.
Pull the notification window from the CreateStruct.
Send a TB_THUMBPOSITION at the end of a drag.
2003-11-18 19:39:40 +00:00
Rein Klazes
b76e883344
The LVN_GETDISPINFO notify message should point to the same iSubItem
...
as in the call to LISTVIEW_GetItemT, valid or not. Fix a badly placed
brace.
2003-11-18 19:38:30 +00:00
Aric Stewart
89ba8760f3
We need to make sure that customdraw_fill is called even if
...
CDRF_NOTIFYITEMDRAW is not being used because we used the text and
background colors from that struct later.
2003-11-18 00:04:27 +00:00
Rein Klazes
7b6b9d6e93
Ignore invalid iSubItem in LISTVIEW_GetItemT().
2003-11-17 20:01:49 +00:00
Huw Davies
83e9fd8513
Implemented LVS_EX_CHECKBOXES.
2003-11-13 20:50:25 +00:00
Dmitry Timoshkov
d6872aff18
Avoid setting infoPtr->firstVisible to NULL in TREEVIEW_Sort.
2003-11-13 20:49:00 +00:00
Huw Davies
50c9ff030f
Fix some weird logic in ImageList_Write.
2003-11-12 22:41:44 +00:00
Huw Davies
ac24a0a692
A multicolumn listview should get a customdraw notification for the
...
item as well as one for subitem 0.
2003-11-12 22:41:27 +00:00
Huw Davies
818c5861c4
Add support for LVS_EX_SUBITEMIMAGES.
2003-11-11 00:26:15 +00:00
Robert Shearman
fc58ef8119
Added chevron support.
2003-11-09 00:28:24 +00:00
Huw Davies
a7c4fa8119
ReleaseCapture on lbuttondown if the cursor is outside an item, just
...
like the native one does.
2003-11-09 00:27:20 +00:00
Huw Davies
4de17c3724
LISTVIEW_GetSubItemRect should succeed if subitem == 0 whatever mode
...
the listview is in.
2003-11-05 00:35:57 +00:00
Rein Klazes
56121b7161
Correctly place a toolbar with CCS_BOTTOM style at the bottom, not the
...
top.
2003-11-05 00:35:28 +00:00
Huw Davies
e63e39f2c5
PropSheetPageProc callback should always have hwnd = 0.
2003-11-04 04:23:00 +00:00
Alexandre Julliard
55cb8177b5
Authors: Ulrich Czekalla <ulrich@codeweavers.com>, Huw Davies <huw@codeweavers.com>
...
Added drag and drop support to listview.
2003-11-04 04:22:37 +00:00
Huw Davies
3ce815e7f3
Fix a fixme.
2003-11-04 04:22:07 +00:00
Huw Davies
f94159cdb2
Don't get confused if PSN_SETACTIVE returns a positive number that
...
isn't a resource id.
2003-11-03 22:15:39 +00:00
Huw Davies
b37adfb4b5
Make the listview send its notifications to the parent window passed
...
to it in CREATESTRUCT. Based on a treeview patch by Igor Grahek.
2003-11-03 22:15:22 +00:00
Robert Shearman
90f3057b41
- Use the style returned in custom draw structure to draw the button,
...
as apps may modify the style this way.
- Disabled buttons can become hot.
- Retrieve image list for drawing after getting image list ID (in
I_IMAGECALLBACK case).
2003-10-31 00:08:39 +00:00
Vitaliy Margolen
785bae8aae
- Fix tab size for TCS_OWNERDRAWFIXED style.
...
- Correct size recalculation after setting tab width.
- Fix button sizes to match native.
- Center both vertically and horizontally tab text & icon.
- Use correct left/center alignment flags.
2003-10-31 00:06:42 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Hans Leidekker
a2977cf5b8
Added Dutch translations.
2003-10-27 22:04:36 +00:00
Robert Shearman
fad1e1108e
Don't store band text if "" is passed into SetBandInfo.
2003-10-24 04:18:42 +00:00
Maxime Bellengé
ed3847247e
Fix TAB_DeleteItem and TAB_DeleteAllItems regressions introduced by
...
the last TAB_InvalidateTabArea changes.
Correct the indentation for these functions.
2003-10-21 23:44:03 +00:00
Mike McCormack
8a6ca5ad3f
Don't use free'd pointer in status control - found by Valgrind.
2003-10-21 23:43:14 +00:00
Adam Gundy
c2d90611f6
Only send TVN_ITEMEXPANDING for items marked as having children.
2003-10-15 21:01:54 +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
Maxime Bellengé
8147ee1095
Only redraw the necessary area of the tab component and not the whole
...
component like windows does.
2003-10-14 20:12:05 +00:00
Vitaliy Margolen
bd7bdbce3f
Fix setting size of tab control.
2003-10-14 01:16:16 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Dimitrie O. Paun
54e6b0d938
Extract binary resources to files, to fit the standard.
2003-10-03 05:01:33 +00:00
Pavel Roskin
5b7f03cf9f
Ignore window caption from PROPSHEETHEADER in wizards. Update window
...
caption when changing pages.
2003-10-02 04:26:53 +00:00
Dimitrie O. Paun
7de279a73a
Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}.
2003-09-22 21:32:33 +00:00
Vincent Béron
bf5f07a5b4
Yet another batch of French resources updates.
2003-09-22 21:16:56 +00:00
Maxime Bellengé
e5cd5a778a
When an item is activated, we should send a NMITEMACTIVATE struct and
...
not a NMHDR one.
2003-09-22 19:27:33 +00:00
Alexandre Julliard
10aacbf3ef
Renamed the COMCTL32_* functions to use the exported name.
2003-09-17 22:42:04 +00:00
Alexandre Julliard
f5cb3dde17
Moved undocumented functions out of the exported commctrl.h.
2003-09-17 20:15:21 +00:00
Alexandre Julliard
1084a8ba93
Moved out of windef.h a few definitions that don't belong there
...
(reported by Filip Navara).
2003-09-17 04:31:27 +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
Filip Navara
2773106058
Fixed definitions of TTTOOLINFOA/W_V1_SIZE and
...
REBARBANDINFOA/W_V3_SIZE.
2003-09-16 01:17:25 +00:00
Robert Shearman
d973bfb1c1
- Make sure dropdown arrow is always centered.
...
- Add support for the TBNRF_HIDEHELP customization flag, but emit a
FIXME when it isn't present.
2003-09-12 00:21:57 +00:00
Robert Shearman
5dbf835b43
Add proper names to ordinal-only functions.
2003-09-11 01:04:24 +00:00
György 'Nog' Jeney
80428c4c9d
Fix invalid C constructs (spotted by Marcus Meissner).
2003-09-11 01:03:27 +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
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +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
Dimitrie O. Paun
6d0019fb0e
Adjust selection ranges before we insert the item so we don't mix the
...
new selection with the existing ones (reported by Eric Pouech).
2003-09-04 19:38:44 +00:00
Stefan Leichter
c7a539d8e1
Updated minor version number.
2003-09-04 00:04:16 +00:00
Kevin Groeneveld
3219ae74fb
Change default range of up-down control to match range used in
...
window.
2003-09-02 23:05:21 +00:00
Maxime Bellengé
bcd1222650
Implemented TAB_SetMinTabWidth and TAB_HighlightItem.
2003-09-02 00:56:43 +00:00
Dimitrie O. Paun
dad477ce3f
If we don't send custom draw messages for subitems, inherit the color
...
& text attributes of the main item.
2003-09-01 23:55:33 +00:00
Rok Mandeljc
d4c1ebabdb
Minor updates of Slovenian translations.
2003-08-29 22:21:43 +00:00
Mike Hearn
b79fc16577
Avoid division by zero when the imagelist is created with a width of
...
zero (ie no images).
2003-08-29 22:10:25 +00:00
Duane Clark
78cd28793a
Button width should be the larger of text width/bitmap width.
2003-08-27 23:11:35 +00:00
Dimitrie O. Paun
31d4a7c47f
Always setup the selection colour, not just in custom draw.
2003-08-25 23:44:51 +00:00
Dimitrie O. Paun
2fb93f1b85
Fix the hit test for full row select in REPORT mode (found, debugged,
...
and tested by Eric Pouech).
2003-08-25 00:53:11 +00:00
Maxime Bellengé
cb1c112dd6
Fix the creation of treeview with checkboxes.
2003-08-23 23:18:48 +00:00
José Manuel Ferrer Ortiz
5069edc2de
More Spanish translations.
2003-08-23 23:04:49 +00:00
Filip Navara
1ccaaa1a82
Fixed prototypes of CreateStatusWindowA/W, ImageList_Copy,
...
ImageList_EndDrag, ImageList_SetImageCount.
2003-08-22 23:51:15 +00:00
Maxime Bellengé
3db30e376c
Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown.
2003-08-19 00:57:08 +00:00
Maxime Bellengé
fb39442d7f
Fix things broken by the last TREEVIEW_UpdateDispInfo patch.
2003-08-18 19:46:31 +00:00
Maxime Bellengé
305fda2ef8
Fix for TREEVIEW_UpdateDispInfo to test with the correct callbackMask.
2003-08-13 19:37:12 +00:00
Dmitry Timoshkov
4d1d5fd353
Accept SIZE_MAXIMIZED as one of statuses of MDI windows.
2003-08-11 18:42:47 +00:00
Duane Clark
0d5aae1a0d
Oops, back to hard coding initial thumb size until we figure out how
...
it really should work.
Fix the channel size/selection range for the TBS_ENABLESELRANGE
style.
One pixel tweaks in several spots.
2003-08-06 22:05:11 +00:00
Stephan BEUZE
767070203d
- Avoid division by zero in TRACKBAR_GetTicPos
...
- Manage negative range TRACKBAR_DrawOneTic
2003-08-05 18:25:26 +00:00
Duane Clark
9ebf12c36d
The initial size of the thumb depends on SM_CYCAPTION.
...
Correctly draw the thumb as in Windows.
The channel/thumb position also depends on TBS_NOTICKS.
The first and last tic marks should be inset from the channel length
by half the thumb width.
When TBS_BOTH style set, make sure to draw both sets of tics.
2003-08-02 00:44:00 +00:00
Stefan Haller
43858e4d0d
Ignoring LISTVIEW_ScrollColumns() request if no columns in list.
2003-07-24 00:03:13 +00:00
Martin Fuchs
bb40b30640
Send TVN_ITEMEXPANDING when the user tries to expand a tree item
...
_before_ checking for child items.
2003-07-21 22:04:42 +00:00
Mike McCormack
ec0d425278
Set defaults for the Next/Prev button.
2003-07-21 20:01:59 +00:00
Francois Gouget
56aaea2f43
Spelling fixes.
2003-07-09 02:52:57 +00:00
Mike McCormack
fc86392af8
Preserve A/W when creating propsheet dialogs.
2003-07-09 02:49:52 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Marcelo Duarte
de08661413
- Localization to Portuguese of Brazil
...
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Mike Hearn
d2b8e39b5c
- Unbreak vertical trackbars
...
- Make it more closely resemble the native control
- Add focus rectangle
- Misc fixes and cleanups
2003-06-16 19:39:27 +00:00
Robert Shearman
7614f27f3b
- Make button text centre correctly when dropdown arrow is present
...
- Centre dropdown arrow
2003-06-13 16:30:24 +00:00
Dimitrie O. Paun
36d0e2ba63
Align the text vertically in single line labels (spotted by BiGgUn).
2003-06-06 18:13:47 +00:00
Dimitrie O. Paun
bc9de0500e
Remove bFirstPain funky optimization, it is causing too much grief.
2003-06-04 20:19:11 +00:00
Maxime Bellengé
66855d4a22
Fix listview custom draw notification for CDDS_ITEMPREPAINT and
...
CDDS_SUBITEMPREPAINT messages.
2003-05-22 03:37:10 +00:00
Robert Shearman
f644c787ee
Update ordering on insertion of an item.
2003-05-22 03:34:54 +00:00
Dimitrie O. Paun
bb993e0127
Inserting column zero should not modify the main item (spotted by
...
Robert Shearman).
2003-05-21 18:25:10 +00:00
Uwe Bonnes
2c4fd4289c
New comctl32 test directory and test case for DPA_Search.
2003-05-15 23:58:48 +00:00
Uwe Bonnes
29ef801b40
DPA_Search: Handle DPAS_INSERTBEFORE on empty list.
2003-05-15 23:55:12 +00:00