Gerard Patel
abc0686fb5
Implemented DTM_GET/SETRANGE.
2001-05-25 20:38:20 +00:00
Francois Gouget
cd8d181a0b
Spelling typos.
2001-05-18 21:01:38 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Susan Farley
ce7f12c425
Implement autorepeat scrolling when button is held down.
...
Improvements to size and appearance of buttons.
2001-05-03 18:33:57 +00:00
Chris Morgan
87e4dbfda8
Implement COMCTL32_StrToIntW() using NTDLL's _wtoi.
2001-04-30 18:16:28 +00:00
Andreas Mohr
f32f918123
Spelling fixes.
2001-04-20 18:36:05 +00:00
Andreas Mohr
641405a550
Fixed off by one error in ImageList_DrawIndirect().
...
Fixed some missing NULL HIMAGELIST check (fixes Microsoft Works
startup).
2001-04-20 18:29:17 +00:00
Guy L. Albertelli
6044b98556
- Notify parent of child size changes when changes are from WM_SIZE
...
messages.
- If more than one band exists, then first band may have a gripper.
- Fix the band layout algorithm to handle some issues from WinARA.
2001-04-20 18:27:42 +00:00
Guy L. Albertelli
bad759075c
- Implement CB_{GET|SET}ITEMDATA for CombBoxEx.
...
- Implement WM_NCCREATE to remove unwanted window styles (as native does).
- Clean up some traces.
2001-04-20 18:27:19 +00:00
James Hatheway
f3c93b805b
Eliminate unitialized garbage being returned from LISTVIEW_GetItemA.
2001-04-18 17:40:04 +00:00
Francois Gouget
dd30c5c282
GetItemSpacing(true): Return the default item spacing if the view is
...
LVS_ICON, and the current 'item size' otherwise.
2001-04-16 19:04:12 +00:00
Andreas Mohr
6d09bf77da
- *don't* MoveWindow() the status bar if CCS_NORESIZE is specified,
...
and use SetWindowPos instead for one of the MoveWindow()s
- call STATUSBAR_GetInfoPtr *once* like Windows does, not twice (used to be
in every sub function, too)
- remember hwndParent from create struct to use in at least WM_CREATE and
WM_SIZE instead of GetParent() like in Windows
- added DefWindowProc call to WM_SIZE like in Windows
- added InvalidateRect, UpdateWindow to WM_CREATE like in Windows
- much more verbose +statusbar output
- rename part_num to nPart for consistency
- added nclm.cbSize to SystemParametersInfoA call
- added FIXME to STATUSBAR_SetParts
2001-04-13 22:23:35 +00:00
Michael Stefaniuc
3a0c6a9490
Fix for small typo.
2001-04-10 21:16:31 +00:00
Marcus Meissner
fd99bcb260
Translations for German language.
2001-04-09 18:33:26 +00:00
Gerard Patel
f6d3d0172d
After an item text changes, the rectangle width should be
...
recalculated.
2001-04-09 18:28:47 +00:00
Rein Klazes
4d7e26f9a2
Fixed scrolling of listview with a mouse wheel.
2001-04-04 18:25:46 +00:00
Gerard Patel
9c2d2bad90
Erase the in-memory DC for treeview and fixes the rectangle calculation.
2001-04-04 00:09:23 +00:00
Gerard Patel
66226d80f3
Set background mode to transparent before calling owner-drawn user
...
handling.
2001-04-04 00:09:05 +00:00
Jeff Garzik
9fd15a9f2f
Added needed string.h includes.
2001-03-22 19:33:57 +00:00
Gerard Patel
8b21b6b33a
Added version info.
2001-03-16 16:50:24 +00:00
Guy L. Albertelli
a7a006a00d
- Documented things known to be unimplemented.
...
- Implemented CBN_SELCHANGE, CBN_KILLFOCUS, and CBN_SELENDOK.
- Corrected CBEN_ENDEDIT notifies to always have edit control text.
- Locked "selected" state of icon to focus state of edit control (if
it exists) just like native.
2001-03-16 16:41:56 +00:00
Guy L. Albertelli
0d2df474aa
- Correct RBN_CHILDSIZE band rectangle to match native.
...
- Correct flags in DeferWindowPos to SWP_NOZORDER to match native.
- Make handling ComboBox and ComboBoxEx the same when moving child
windows.
2001-03-16 16:41:32 +00:00
Francois Gouget
d6f5ed273d
Update nSelectionMark and nFocusedItem when inserting/deleting/sorting
...
items.
SortItems: If sorting less than 2 items, do nothing.
2001-03-05 22:11:17 +00:00
Susan Farley
496f434c72
- Background of the child wnd should be erased with the same color as
...
the control.
- Default scroll amount should be the minimum client area.
2001-03-05 20:00:16 +00:00
Francois Gouget
f45d56912a
In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no
...
selection mark has been set, just select the current item.
In LISTVIEW_SetGroupSelection we must also set the selection mark in
that case (and only in that case).
Removed a naughty ';' (spotted by Eric Pouech).
2001-03-04 01:04:35 +00:00
Francois Gouget
282f7270c1
Small 'typos in comments' fixes.
2001-02-28 05:31:02 +00:00
Susan Farley
16ac06ed6e
Horiz/Vert determination must be dynamic, as the style may not be set
...
upon creation; improved positioning and scrolling.
2001-02-23 01:33:01 +00:00
Aric Stewart
79a11a1f21
Insert the item before calling a SetFirstVisible which can generate a
...
WM_PAINT message.
2001-02-20 23:43:21 +00:00
Guy L. Albertelli
45e6f62457
- Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM,
...
CBEM_{GET|SET}UNICODEFORMAT, CB_FINDSTRINGEXACT, WM_COMMAND,
WM_DELETEITEM.
- Implement extended style CBES_EX_NOEDITIMAGE, and warn others are
not yet implemented.
- Restructure DrawItem code to do things more rationally.
2001-02-20 01:53:43 +00:00
Eric Kohl
66eedb5ae6
Fixed behaviour of dropdown buttons. When a dropdown button is
...
clicked, it does not change into pressed state.
2001-02-20 00:48:37 +00:00
James Hatheway
7fdceb2217
Update selection after sorting (in LISTVIEW_SortItems) by making sure
...
selection list matches states of individual items.
2001-02-16 19:39:14 +00:00
François Gouget
d9280fed84
TB_SETBUTTONSIZE messages must be taken into account even after
...
buttons have been added.
2001-02-16 19:38:32 +00:00
Aric Stewart
826465dc22
Setting the HotItem to -1 can be disastrous at times if it equals
...
oldhit.
2001-02-16 19:06:34 +00:00
Aric Stewart
40a38f7f9a
Continued the implementation of Set Hot Item.
2001-02-15 21:25:03 +00:00
James Hatheway
a2c2a83f8e
Send LVN_DELETEITEM notification first, to avoid crashes if the app
...
requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM
message handler.
2001-02-15 21:24:43 +00:00
François Gouget
4684ab1c12
ListView_GetItemRect already sets rc.left.
2001-02-14 21:42:24 +00:00
François Gouget
b99367e20e
debugstr_xxx already does the quoting.
2001-02-14 21:42:10 +00:00
François Gouget
5e63211953
Change the callback declarations to a safer format.
2001-02-14 21:41:35 +00:00
Andreas Mohr
9f05b8229f
Check PROPSHEETPAGEA.pfnCallback for NULL pointer if PSP_USECALLBACK
...
is given.
2001-02-12 18:08:31 +00:00
François Gouget
2ad985527f
Handle WM_CHARs and pass them to TREEVIEW_ProcessLetterKeys. See also
...
LISTVIEW_ProcessLetterKeys in listview.c.
2001-02-12 18:08:08 +00:00
François Gouget
1afa24aeac
Fix (rewrite), and add documentation to LISTVIEW_ProcessLetterKeys.
...
Lowered the key repetition delay (Aric).
2001-02-12 18:07:43 +00:00
Francois Gouget
b87a83866f
Change the callback declarations to a safer format.
2001-02-12 03:51:04 +00:00
Chris Morgan
d62dd82efb
Fix ListView_GetItemRect() macro.
...
Fix use of ListView_GetItemRect() macro in listview control.
Add some documentation to LISTVIEW_GetItemRect().
2001-02-12 03:46:00 +00:00
James Abbatiello
841ef6ebb9
Don't allow comctl32 controls to access their infoPtr before it has
...
been allocated or after it has been freed.
2001-02-12 03:42:23 +00:00
Susan Farley
e527f23865
Handle the CCS_NORESIZE style.
...
Change the scroll delta only when the app responds to the PGN_NOTIFY msg.
2001-02-12 01:21:13 +00:00
Guy L. Albertelli
a249595957
- Rewrite WM_CREATE to match native (allocating own Edit control, etc).
...
- Implement additional WNDPROCs for the Combo and Edit controls to
handle different functions.
- Implement CBEM_SETCURSEL and CBEM_HASEDITCHANGED.
2001-01-26 21:00:10 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Guy L. Albertelli
8673f91b9e
- make hidden bands have valid (0 width) child window areas
...
- when hiding a band, don't show the window, hide it.
2001-01-26 20:36:53 +00:00
Gerard Patel
09d64c83cf
Don't send notifications for the initial display of the first tab of
...
the control.
2001-01-25 21:48:01 +00:00
Gerard Patel
c0ca077f0b
Misc fixes in LISTVIEW_SetImageList, LISTVIEW_SetItemCount,
...
LISTVIEW_UpdateSize.
2001-01-22 19:27:43 +00:00
Alexandre Julliard
0618746265
Cleaned up dll startup routines now that we have separate address
...
spaces.
2001-01-17 22:03:18 +00:00
Ulrich Czekalla
0255c8f0df
Only adjust item rect by horizontal scrollbar offset in report view.
2001-01-17 01:48:14 +00:00
François Gouget
72828e0080
In STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the
...
buffer.
Pass a buffer of sufficient size to TTM_GETTEXTA.
2001-01-13 00:27:13 +00:00
Susan Farley
d4c6485390
Implemented most functionality. TODO lists whats left.
2001-01-12 19:54:48 +00:00
François Gouget
16baace694
Only copy the dwSize bytes really occupied by lpPropSheetPage.
2001-01-10 22:42:58 +00:00
Ulrich Czekalla
8b562997d5
Only call TOOLBAR_CalcToolbar when parameters change.
2001-01-10 22:42:05 +00:00
François Gouget
bde6ae0c19
Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText.
2001-01-09 21:50:27 +00:00
Gerard Patel
d834e4c858
Send the creation notification to the true owner of the tooltip.
2001-01-09 20:50:13 +00:00
Ulrich Czekalla
e5786e3be6
Adjust item rects by horizontal scrollbar offset.
2001-01-09 20:49:38 +00:00
Gerard Patel
ea241dcdbd
Fixed TCM_GetRowCount.
2001-01-09 20:49:17 +00:00
Andreas Mohr
a6d83ebae1
- clarify many error messages
...
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Eric Pouech
099f4c3786
No longer using function pointers to winmm and msvfw32, but delay
...
loading instead.
2000-12-26 01:26:12 +00:00
Gerard Patel
565ba5899c
Do not send a WM_NOTIFYFORMAT to a non-existent owner.
2000-12-19 03:37:02 +00:00
Guy L. Albertelli
943ba3f1bc
- Implement drag for vertical rebars (drag up and down).
...
- Better algorithims for inserting new bands - matches native version
closer.
- Make drawing of rebar attempt to match native pixel by pixel (note
this does not fix the embedded controls in each band - they still are
as good or bad as before.)
- Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE,
_DELETINGBAND, _DELETEDBAND).
2000-12-18 03:13:19 +00:00
Guy L. Albertelli
762ed03a3e
Pass WM_COMMAND and WM_NOTIFY to parent as received.
2000-12-18 03:12:31 +00:00
Aric Stewart
844625cbc5
Fixed some difficulties with the font on vertical tabs. Also plugged a
...
resource leak.
2000-12-15 20:55:20 +00:00
Ulrich Czekalla
361eebb1ba
Mark width as valid when we send HDN_ENDTRACKA.
2000-12-15 20:54:41 +00:00
Francois Gouget
8a5de1c92f
Removed the name of APIs exported by ordinal.
2000-12-14 19:25:13 +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
Andreas Mohr
bc2ae78bee
Invalid buttons are "hidden".
2000-12-13 01:49:51 +00:00
Gerard Patel
4d975b328f
Use DrawText to display text in horizontal tabs.
2000-12-12 00:35:20 +00:00
Alexandre Julliard
e2222fd8ff
Use libwine and libwine_unicode directly from their build directory
...
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Guy L. Albertelli
9717845a28
Implement better version of DPA_Merge.
2000-11-30 19:58:56 +00:00
David Elliott
ea186796eb
Remove libXXXX.so.1.0 lines from .cvsignore files.
2000-11-30 19:57:34 +00:00
Alexandre Julliard
a8d1a7c52b
Finished separation of comclt32 and comdlg32.
2000-11-30 19:07:09 +00:00
Brian Teague
161bc83164
Add a stub for the CAPS1 capability in GetDeviceCaps.
...
Define the CAPS1 bit flags in wingdi.h
Make various calls to GetDeviceCaps in DLLS use #defined values.
2000-11-29 20:02:46 +00:00
Alexandre Julliard
49556bcbf5
Cleaned up some more dependencies on Wine internal functions.
2000-11-29 18:38:24 +00:00
Dimitrie O. Paun
ef7a5c1b8c
Fixed a few compilation warnings.
2000-11-29 00:03:27 +00:00
Aric Stewart
147bc6d21b
Ownerdata listviews were not clearing previously selected items when a
...
new item is set as selected using SetItem and the listview has
LVIS_SINGLESEL.
2000-11-29 00:00:11 +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
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Dimitrie O. Paun
842c21245f
Corrected default values with help from Ulrich Czekalla.
2000-11-26 22:35:01 +00:00
Eric Kohl
40f29eeab7
Added notification format handling.
2000-11-25 03:07:01 +00:00
Dimitrie O. Paun
3c13ab1ab4
Update comments, cleanup warning messages.
2000-11-25 01:37:22 +00:00
Eric Kohl
7379b89185
Removed calls to internal (non-exported) wine functions.
2000-11-25 01:27:42 +00:00
Ulrich Czekalla
f235a7ba04
Send HDN_ITEMCHANGING and HDN_ITEMCHANGED when resizing.
2000-11-25 01:25:46 +00:00
Marcus Meissner
c2806fa15e
MultiByteToWideChar() returns characters, not bytes.
2000-11-25 01:20:53 +00:00
Dmitry Timoshkov
77b2185e1c
Remove redundant includes.
...
Eliminate use of USER internal structures.
2000-11-15 22:15:52 +00:00
Eric Kohl
76386564a6
Use internal unicode strings.
...
Added unicode messages.
2000-11-15 22:15:11 +00:00
Eric Kohl
b7546b6831
New unicode support functions.
2000-11-15 22:14:43 +00:00
Alexandre Julliard
41d6e2feba
Temp hack: do not import dlls that we link with at the ELF level.
2000-11-13 20:27:31 +00:00
Guy L. Albertelli
418efdc410
Implement dragging on gripper to expand and compress bands. Actual
...
moving bands to different rows will be later.
2000-11-13 19:29:16 +00:00
Alexandre Julliard
27939f00fd
Start using import tables for dlls that can already support it.
2000-11-12 03:50:10 +00:00
Andreas Mohr
3ef4f43c09
Fixed WM_PAINT in ANIMATE_WindowProc; call DefWindowProcA for default handling.
2000-11-11 00:32:05 +00:00
Eric Kohl
dbbc224f11
Added header control cursors and drag list arrow icon.
2000-11-09 20:26:34 +00:00
Dmitry Timoshkov
99653905ec
Make a copy of the dialog resource before correcting styles.
2000-11-09 20:25:27 +00:00
Aric Stewart
b1eb301477
Implemented VK_PRIOR and VK_NEXT processing (merged from Corel tree).
2000-11-08 04:30:16 +00:00
Eric Kohl
ea9d4ce246
Implemented toolbar customization dialog.
2000-11-07 20:30:11 +00:00
Eric Kohl
887a91f4b7
Implemented new messages.
2000-11-07 20:29:50 +00:00
Aric Stewart
d41c9a3da4
Implemented the RedrawItems message for a listview.
2000-11-07 20:28:11 +00:00
Francois Gouget
a2882e03f8
Use DrawFocusRect to draw the focus rectangle.
2000-11-07 20:26:51 +00:00
Marcus Meissner
643fcffaac
CBEM_SETITEMW done by example from SETITEMA, converted SETITEMA to use
...
it.
2000-11-06 20:22:06 +00:00
Alexandre Julliard
eb58e1d597
Declare debug channels in all dlls that need them; added imports of
...
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Marcus Meissner
a0dc42101a
Forward CBEM_SETEXSTYLE to CBEM_SETEXTENDEDSTYLE, pass WM_SETTEXT and
...
WM_GETTEXT down to combo box.
2000-11-05 03:19:06 +00:00
Marcus Meissner
ddedfa2324
Fixed off by one error in DPA handling, added some warnings.
2000-11-04 02:56:38 +00:00
Marcus Meissner
6e9c506f4e
Pass up WM_DRAWITEM messages to parent.
2000-11-04 02:54:32 +00:00
Aric Stewart
cf94bf88c2
Treeview item sorting could mess up the visibleOrder of the items.
2000-11-02 20:09:43 +00:00
Marcus Meissner
c536a4a6d3
Swap CalcToolbar and paint rectangle computation to the correct order.
2000-11-02 20:07:25 +00:00
Marcus Meissner
6ce752cee9
Have Internet Explorer 3 show its toolbars by passing RB_GETBANDINFO
...
to RB_GETBANDINFOA.
2000-11-01 21:35:28 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
Marcus Meissner
697a621a7c
Removed unnecessary calls of TOOLBAR_CalcToolbar() (which would be
...
recalculated due to InvalidateRect()->WM_PAINT anyway).
2000-11-01 01:49:01 +00:00
Francois Gouget
7203ee6623
Use PS_ALTERNATE rather than PS_DOT.
...
Use Rectangle to draw focus rectangles.
2000-10-31 02:05:11 +00:00
Guy L. Albertelli
88801958ec
Ignore RBBS_BREAK style on first band.
2000-10-31 01:49:00 +00:00
Aric Stewart
4de47040fd
Fixed cancels editing of a listview label if the listview is
...
scrolled.
2000-10-31 01:35:50 +00:00
Hidenori Takeshima
ce50aa00bb
Fix for avoiding subtraction from unsigned zero.
2000-10-31 01:34:27 +00:00
Susan Farley
4dc7f4ca06
Under some conditions its necessary to explicitly show the
...
scrollbars.
2000-10-31 01:02:05 +00:00
Guy L. Albertelli
312beec840
Handle special case where itemID = -1 (special focus rect draw).
2000-10-31 01:00:39 +00:00
Uwe Bonnes
a07258d581
COMBOEX_DrawItem: check return value of SendMessageA(...,CB_GETITEMDATA,...)
2000-10-29 18:04:45 +00:00
Guy L. Albertelli
c6c53cd935
- improved trace information
...
- implemented CB_SETITEMHEIGHT, WM_WINDOWPOSCHANGING,
WM_MEASUREITEM, WM_DRAWITEM
- changed CBEM_INSERTITEMA, CBEM_SETIMAGELIST,
WM_CREATE, WM_DESTROY
- above changes correct window rectangle, draws items, and creates
control correctly.
2000-10-29 01:16:53 +00:00
Guy L. Albertelli
3c7df5c1da
- correct processing of RBBS_BREAK style.
...
- handle cases where cyChild was set to -1 by appl. - undocumented.
- remove special code for Comboboxex problem (now solved).
- fix some painting problems
2000-10-29 01:16:26 +00:00
Chris Morgan
7a6cf75f76
Implement TCS_VERTICAL style. Fix tab borders to have shading that
...
matches Windows. Center image and text in tabs. Size tabs to
completely fill each row with multiline style. Fix positioning of
tabs for TCS_BOTTOM style. Fix various drawing issues.
2000-10-25 20:31:18 +00:00
Susan Farley
8d8c87b85a
- When inserting an item, do not invalidate the area above the new
...
item.
- The debug function that verifies the tree after each insertion
should be disabled by default.
2000-10-25 20:30:58 +00:00
Alexandre Julliard
21ec006fc1
Build Win32 resources as .res files and dump them into the .spec.c file.
2000-10-23 21:39:39 +00:00
Marcus Meissner
61ef06042e
Do not set the iSubItem part of the struct for LVM_HITTEST,
...
applications only need to pass memory space up to iItem.
2000-10-22 23:47:49 +00:00
Jason Mawdsley
e7b84a9b54
Fixed some flickering that was occurring in the image list control
...
when it repainted.
2000-10-22 23:43:56 +00:00
James Hatheway
af7f901c9c
Fix messages sent when right-clicking in a blank (non-item) area of a
...
listview.
2000-10-19 22:28:06 +00:00
Uwe Bonnes
018c6545dc
Draw text and icons, implement ordering functions, allow reordering
...
with mouse and fix the WM_NOTIFY target.
2000-10-19 22:26:17 +00:00
Chris Morgan
89d4472d46
Recalculate nItemHeight when LVS_SETIMAGELIST is called. Fixes icons
...
being chopped off in the file dialog window. Align items to top and
refresh after sorting, as windows does.
2000-10-19 20:22:09 +00:00
Chris Morgan
da610897e4
Implement LVM_SETITEMPOSITION32.
2000-10-17 00:30:39 +00:00
Uwe Bonnes
4bfc2a8a2d
Remember owner HWND when creating and use this hwnd for the WM_NOTIFY
...
message target.
2000-10-17 00:29:18 +00:00
Uwe Bonnes
64d95e9374
Draw the scrollbar beside the buddy when neither UDS_ALIGN[RIGHT|LEFT]
...
is given.
2000-10-15 00:28:44 +00:00
Uwe Bonnes
8923f16fa1
Localization and expect leapdays when looking for the length of a
...
month.
2000-10-15 00:28:00 +00:00
Uwe Bonnes
b0067efa53
Localization and many changes to behaviour and outlook.
2000-10-15 00:27:28 +00:00
Uwe Bonnes
f83ce82a60
Split out resources that might be localized.
...
Added German resources.
2000-10-15 00:26:58 +00:00
Uwe Bonnes
c3585ba32d
Added additional resource IDs.
2000-10-15 00:24:48 +00:00
Louis Philippe Gagnon
d41e22bf0d
Do not send a WM_CONTEXTMENU message when a TreeView receives a
...
WM_RBUTTONUP.
2000-10-13 23:07:08 +00:00
Andreas Mohr
1563abe8ec
- stupid spelling fixes
...
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Susan Farley
036ae0b6b3
To improve custom-drawn items, add focus border to itemRects and do
...
not overlap them.
2000-10-13 20:13:38 +00:00
Susan Farley
557066db1c
Status bars on managed windows should not have SIZEGRIP style.
2000-10-13 17:07:08 +00:00
Stephane Lussier
907a1e615b
Subitems of listviews were not painted with the right background when:
...
-LVS_EX_FULLROWSELECT style is defined
-item is selected
-Listview doesn't have the focus.
2000-10-13 17:05:17 +00:00
Chris Morgan
4a49c8f080
Fix depressed state with flat toolbars so pressing the buttons draws
...
the button in a depressed state. Fix bitmap offsets, fixes bitmap
offset problems in file common dialog.
2000-10-12 23:11:35 +00:00
Susan Farley
3bd7f58706
On InsertItem with TVI_FIRST, the check for resetting firstVisible
...
must be done *before* the parent's firstChild changes.
2000-10-12 23:11:06 +00:00
Guy L. Albertelli
f82e493cdd
Rewrite to support rows of bands.
...
Draw separators between bands in rows and between rows.
Support text and background color and color propagation.
Improve layout code.
Make fMask in internal structure the indicator of valid information.
Fix size of grippers.
Add debugging traces for future.
2000-10-12 23:09:01 +00:00
Serge Ivanov
7a9a2aa104
Simple NULL check.
2000-10-12 23:08:19 +00:00
Stephane Lussier
163830c569
- Background should not be drawn if the background color is CLR_NONE.
...
- Don't change the size to 0 for the header control of listview with
LVS_NOCOLUMNHEADER style. In fact just setting HDS_HIDDEN to the
header control is enough.
2000-10-12 23:07:41 +00:00
Aric Stewart
e127a28166
Corrected some segvs that occur with ownerdata listviews.
2000-10-12 20:39:59 +00:00
Francois Gouget
8aa79fbe19
Moved DLLVERSIONINFO to shlwapi.h.
2000-09-29 01:03:30 +00:00
Francois Gouget
88ebde86d7
Modified the bitmap centering algorithm to take the button's border
...
into account.
2000-09-29 00:56:52 +00:00
Susan Farley
ced43b914d
Call ReleaseCapture (which triggers WM_CAPTURECHANGED) after the
...
WM_COMMAND for the button has been sent, rather than before.
2000-09-29 00:24:54 +00:00
Alexandre Julliard
86f4531676
Added a few missing imports.
2000-09-27 22:32:44 +00:00
Susan Farley
0fc9d151fd
Support for TBSTYLE_EX_DRAWDDARROWS style; reset capture and button
...
pressed flags on WM_CAPTURECHANGED.
2000-09-26 22:45:31 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Alexandre Julliard
74af67ef42
Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h.
2000-09-26 00:00:55 +00:00
Alexandre Julliard
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Gerald Pfeifer
1b490b42bf
Fixed format strings.
2000-09-24 03:05:11 +00:00
Francois Gouget
0ce209c8fc
Added set WS_CHILD and CCS_TOP to the toolbar's style.
...
TOOLBAR_CalcToolbar(): if the bitmap size is 0, use the builtin
defaults.
2000-09-24 03:03:52 +00:00
Francois Gouget
17acdf26af
The size of the comctl32 internal bitmaps is 24x24 not 26x26.
...
Fixed minor typos.
2000-09-24 03:03:22 +00:00
Chris Morgan
fca20f6553
Paint background before drawing item and subitems. Paint any area of
...
the control not occupied by items. Early out of LISTVIEW_RefreshXXX
if no items exist. InvalidateRect() on LBUTTONDOWN only if the control
has items to draw.
2000-09-22 22:45:30 +00:00
Aric Stewart
dc2ffbe0cd
Correct some situations with listview selections. Specifically fixed
...
situations where in an OWNERDATA listview the selection ranges become
invalid if the number of items is changed. Additional fixes a few
problems resulting in loops in RemoveAllSelections.
2000-09-22 22:00:01 +00:00
Susan Farley
b409cf62d4
Added support for FLATBUTTON style tabs.
...
Made width of BUTTON style tabs no less than 2x their height.
Expanded focus rect to be just inside the border.
2000-09-22 20:54:16 +00:00
Chris Morgan
3c72f96469
Fixed button image to be offset to the center of the button horizontally,
...
visible with WinZip and CuteFTP 4.0. Fixed compile warnings from format type
specifiers in two TRACE's. Removed TRACE in TOOLBAR_GetItemRect(). Added
button width to TRACE in TOOLBAR_CalcToolbar().
2000-09-22 20:49:54 +00:00
Chris Morgan
a45919338d
Changed RedrawWindow()'s to InvalidateRect()'s. RedrawWindow() was
...
being called with RDW_UPDATENOW, forcing immediate painting. Added
redrawing logic to STATUSBAR_SetTextW().
2000-09-22 20:49:12 +00:00
Chris Morgan
36c8db8c7d
Fix behavior of TVS_SINGLEEXPAND style broken in Corel merge. Optimize
...
redrawing in TREEVIEW_SetItemA() to redraw only if the item changes.
2000-09-22 20:48:15 +00:00
Peter Hunnisett
565b00857e
- Added some missing WINELIB_NAME_AW definitions, types and messages
...
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Stephane Lussier
c5e86a2c19
Notification NM_CLICK, NM_RCLICK and NM_DBLCLK sent by the listview
...
should set lParam to a NMLISTVIEW instead of a NMHDR. According to
MSDN doc, it is like that since version 4.71, Wine is returning 5.0 as
the DLL version.
2000-09-19 02:38:45 +00:00
Chris Morgan
7b7c32c801
Change FIXME("Button size set after button in toolbar\n") in
...
SetButtonSize() to WARN as quite a few applications are doing this
after adding each button to the toolbar and there is no way we can
stop them.
2000-09-18 01:41:50 +00:00
Stephane Lussier
3872d0a218
Sorting items in a listview using LVW_SORTITEMS is only sorting the items
...
and not the subitems. This patch fix this issue. I've remove the temporary
Sortlist, it was not necessary to create another list, and it was buggy.
2000-09-18 01:39:27 +00:00
Andreas Mohr
05aa048691
Fixed tab control to use HTTRANSPARENT when mouse hits client area,
...
but not tab control buttons.
2000-09-16 20:47:27 +00:00
Stephane Lussier
88968b89cb
Allow having a transparent background text color for the listview.
2000-09-16 20:45:09 +00:00
Chris Morgan
5f9fd77db3
Merged main Wine changes into Corel's treeview control rewritten by
...
Serge Ivanov and Andrew Lewycky. Fixed item focus behavior to match
Windows. Fixed item selection when un/expanding items. Implemented
WM_SETREDRAW. Added Corel's COMCTL32_CreateToolTip() helper function
to commctrl.c.
2000-09-13 20:27:30 +00:00
Andreas Mohr
20cd9356a8
- fixes debugger output
...
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Chris Morgan
2a6c1e498c
Hide the vertical scrollbar when listview style is LVS_LIST.
2000-09-12 23:37:19 +00:00
Marcus Meissner
e89f6c4466
Implemented TCM_GETROWCOUNT.
2000-09-09 20:31:32 +00:00
Francois Jacques
27a76c8473
- Make sure tooltips are hidden before deleting them.
...
- Glitch happened while moving from a tooltip to another (fixed).
2000-09-07 18:38:12 +00:00
Aric Stewart
eef99e0c93
Implemented both customdraw message sending and handling (based off
...
the treeview method) as well as LVS_OWNERDRAWFIXED.
2000-09-06 19:44:49 +00:00
Mike McCormack
4f2300a372
Fixed a bug (incorrect size in memmove) that I introduced with an
...
earlier patch. Tested with wordview.
2000-09-06 19:43:38 +00:00
Mike McCormack
f97b543471
Rewrote quicksort to solve infinite recursions Win98 explorer.exe.
2000-09-04 20:19:07 +00:00
Jean-Claude Batista
34ce34edd5
Use SetDIBits instead of StretchDIBits (in ANIMATE_PaintFrame).
2000-09-02 23:17:04 +00:00
Jean-Claude Batista
8bdee6f329
- improved ACS_TRANSPARENT and ACS_CENTER support
...
- added RLE8 incremental decompression
- each animation is now controlled by its own Windows thread
- added use of Critical Sections in the WM_PAINT handler.
2000-08-31 02:05:53 +00:00
Andreas Mohr
2b5d9c6e50
Always call LISTVIEW_SetSelection() for an item, even if that item
...
has been selected before, in order to let other items get erased.
2000-08-29 03:52:16 +00:00
Andreas Mohr
d31c1f6647
Replaced cCurImage by cMaxImage.
2000-08-26 20:28:17 +00:00
Andreas Mohr
d511177390
"Fixed" horribly misaligned pages in property sheets of apparently
...
newer InstallShields.
2000-08-26 20:28:02 +00:00
Andreas Mohr
217a682b4f
Minor cosmetic changes.
2000-08-25 21:56:19 +00:00
Susan Farley
53d40899b1
Large caption icons should end in '...' when they are abbreviated.
2000-08-23 19:12:36 +00:00
Francois Methot
5ee28aebc8
For the transparency issue, implemented a switch-case for the bitcount
...
(bit per pixel) of the animation files.
2000-08-23 19:12:14 +00:00
Aric Stewart
a1c683e9ad
Wine was not drawing trackbars with minimum ranges of more than 0
...
correctly.
2000-08-23 19:11:31 +00:00
Aric Stewart
59dae22a43
Beginning of some simple optimization of the listview
...
drawing. Specifically it reduces flicker when selection changes.
2000-08-21 20:16:53 +00:00
Gerard Patel
f314e5e76b
Disable the owner of a modal dialog box just before creating the
...
dialog window.
2000-08-21 03:31:39 +00:00
Chris Morgan
33b668095b
Removed direct calls to TREEVIEW_Refresh().
2000-08-20 03:40:21 +00:00
Marcus Meissner
61cb6ca9fc
Fixed STATUS_GetTextW in regard to NULL pointers.
2000-08-18 23:44:12 +00:00
Chris Morgan
9f5a8b00c0
- Added a helper function TOOLBAR_GetText() and macro TOOLBAR_HasText() to
...
determine whether we need to call InvalidateRect() with bErase of TRUE or
FALSE. Reduces background erases in non-text toolbars by 80-85%.
- Fixed button state not being updated properly when LBUTTONDOWN and cursor
leaves the toolbar.
- Removed FIXME() in TOOLBAR_DrawString for btnPtr->iString == -1, replaced
with a source code comment.
- Removed unecessary call to TOOLBAR_CalcToolbar() in
TOOLBAR_GetItemRect(). Optimized TOOLBAR_CalcStrings(). Fixes very
slow responding toolbars in Ultraedit due to processing TB_GETITEMRECT
messages.
- Optimized TOOLBAR_SetIntent(), SetRows() and SetStyle().
2000-08-18 23:42:03 +00:00
Gerard Patel
c4bf3a6bbe
WM_GETFONT should return a real font handle instead of NULL.
2000-08-18 22:25:46 +00:00
Niclas Karlsson MATE
b44af64d30
Implemented ACS_CENTER for animation controls.
2000-08-16 12:53:43 +00:00
Francois Methot
587cc122dc
Implemented background transparency on animation control for avi
...
composed of 8 bpp(or less) image. I added support for 8 bpp or more,
but it has not been tested.
2000-08-16 12:44:52 +00:00
Niclas Karlsson MATE
0f9d56fde8
LPSTR_TEXTCALLBACK wouldn't work if the application supplied the item
...
text in its own buffer.
2000-08-14 17:17:57 +00:00
Alexandre Julliard
c7e7df8b17
Replaced all lstr* calls from inside Wine code by their str* equivalent.
2000-08-14 14:41:19 +00:00
Aric Stewart
7db0384706
Fixed sending of LVN_ITEMCHANGING and LVN_ITEMCHANGED messages,
...
cleaned up some of the drawing, implemented the iIndent for LVS_REPORT
and fixed a problem where sub items where not being properly
associated with their item for virtual list views.
2000-08-11 21:14:23 +00:00