Guy Albertelli
404b9a5fb9
- Add additional TOOLBAR_CalcToolbar in a different path of Autosize.
...
- Remember and process WM_SETREDRAW messages.
- Process strings specificied in InsertButton{A|W}.
2002-01-14 18:33:17 +00:00
Guy Albertelli
935331f6da
Fix a gripper issue and the adjustment of bands when RBBS_FIXEDSIZE
...
specified.
2002-01-14 18:32:42 +00:00
Huw D M Davies
3d683d5aef
Fix off by one error in TOOLBAR_AddStringW.
2002-01-12 21:14:17 +00:00
Sander van Leeuwen
fcc148b283
Never delete the font object received by WM_SETFONT.
2002-01-04 21:50:01 +00:00
Sander van Leeuwen
198f1e2f3e
Fixed calls with wrong pointer: COMCTL32_Free(&lpttsi) should be
...
COMCTL32_Free(lpttsi).
2002-01-04 21:27:34 +00:00
Dimitrie O. Paun
0c16564093
Make DrawStatusText Unicode ready. Get rid of a HEAP_strdup call.
2002-01-02 21:43:48 +00:00
Michael Stefaniuc
00bd7998fb
Fixed memory leak.
...
Removed redundant ImageList_DragShowNolock(FALSE) call.
2001-12-31 22:21:24 +00:00
Michael Stefaniuc
15a478f839
If the fccHandler is mmioFOURCC(0, 0, 0, 0) the AVI is also
...
uncompressed.
infoPtr->hWnd wasn't updated in ANIMATE_OpenA.
2001-12-26 23:39:13 +00:00
Gerard Patel
b3a3a8f3bc
Forward tab notifications to the parent.
2001-12-24 20:24:58 +00:00
Michael Stefaniuc
3bc5ffd3c6
Fixed/implemented the ImageList_*Drag* functions.
2001-12-19 18:47:14 +00:00
Lawson Whitney
a77f8d374c
If there is no psInfo, it doesn't need to be cleaned up.
2001-12-19 18:46:49 +00:00
Nog
f12e130fc2
Pass on all unhandeled messages to the owner.
2001-12-17 20:52:11 +00:00
Jon Griffiths
603f20fc0e
Add exclusion defs & remaining funcs, remove internal types &
...
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Bill Medland
32ca21caaa
A treeview item may be TVI_ROOT.
2001-12-11 00:15:11 +00:00
Dave Hawkes
a1aeeb2b05
Fix for toolbar potentially using a NULL pointer.
2001-12-11 00:14:24 +00:00
Dave Hawkes
4d03cb64f4
The toolbar commands were not sent to the correct notification
...
window.
2001-12-05 22:10:26 +00:00
Guy L. Albertelli
0889bfa503
Undocumented feature of TB_{GET|SET}BUTTONINFO{A|W}: if mask has
...
0x80000000 set then the command id is really the index.
2001-12-01 00:37:41 +00:00
Michael Stefaniuc
caf81dc0a6
Implemented ImageList_GetDragImage.
...
Fixed ImageList_SetDragCursorImage and ImageList_Merge.
No need for StretchBlt in ImageList_BeginDrag.
Added some traces.
2001-11-30 23:15:00 +00:00
Dave Hawkes
73f58ee2c7
TOOLBAR_GetRect did not correctly translate the command ID to the
...
button index.
2001-11-20 18:54:04 +00:00
Guy Albertelli
aafec98803
- Define rest of URL_ESCAPE... and other flags.
...
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget
070e749cfb
Don't prefix %p with 0x.
...
Various English fixes.
2001-11-06 21:01:32 +00:00
Guy Albertelli
45e9cea3d1
Implement most of the MRU related functions.
2001-09-20 18:58:43 +00:00
Mike McCormack
7c1db50c2f
Ignore negative widths in HEADER_SetItemBounds.
2001-09-17 20:25:52 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Patrik Stridvall
3566973c78
Use the min/max in windef.h instead.
2001-09-10 23:09:04 +00:00
Guy L. Albertelli
91fc357226
- Handle CCS_NODIVIDER both when present and when not.
...
- Handle some cases of CCS_TOP, CCS_BOTTOM, and CCS_NOPARENTALIGN.
- Handle values returned from the RBN_CHILDSIZE notification.
- Implement RBBS_CHILDEDGE.
- Fix some logic errors in REBAR_AdjustBands, and problems with CCS_VERT.
2001-09-07 18:34:14 +00:00
Guy L. Albertelli
f876b5df5a
- Fix positioning of text in buttons.
...
- Fix nButtonHeight so that it is not zero in some cases
- Support TBSTYLE_TRANSPARENT.
- Fix handling in WM_ERASEBKGND so that the default erase occurs
between notifies.
- Fix WM_NCCREATE processing to issue proper WM_STYLECHANGING (via
SetWindowLong) and document the issues.
2001-09-07 15:29:21 +00:00
Alexandre Julliard
41d6a96a60
Removed inclusion of win.h.
2001-08-24 19:15:52 +00:00
Gerard Patel
a02f3de89e
Rect returned by LISTVIEW_GetItemRect should be total size in report
...
mode.
2001-08-21 17:04:02 +00:00
Gerard Patel
ede9881523
Do not keep the handle of a deleted item as the selectedItem..
2001-08-20 18:00:54 +00:00
Eric Pouech
6360917580
Because of circular dependencies between comctl32 and msvfw32, replace
...
in comctl32 delay loading of msvfw32 by manual loading.
2001-08-18 16:09:19 +00:00
Guy L. Albertelli
d1c46851e1
- Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case.
...
- Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and
ITEMPOSTPAINT only. (Used by IE4 - go figure.)
- Invalidate window rectangles after certain RB_ messages like the
native. Fixed some painting problems.
- Added UpdateWindow call in _MoveChildWindows to fix other painting
problems.
- Set the Caption Font as the default font for all bands.
2001-08-13 20:11:34 +00:00
Guy L. Albertelli
f617391dad
- Implement TBSTYLE_FLAT as "transparent" toolbar and buttons. (Skip
...
FillRect and BF_MIDDLE on _FLAT toolbars.)
- Issue FIXMEs for unsupported styles.
- If the "hidden" state has changed then recalc the buttons.
- Support TBSTYLE_CUSTOMERASE (used by IE4) ans issue some of the
necessary NM_CUSTOMDRAW notifies.
- Pass the WM_ERASEBKGND to parent if the toolbar is "transparent".
- Invalidate the area 1 bigger than the button rect on a WM_MOUSELEAVE
so that the edge is "erased" by the parent.
- Support the PGN_CALCSIZE notify since a toolbar can be a child of the
Pager control.
2001-08-13 20:09:18 +00:00
Guy L. Albertelli
be73d10dc5
Add support to respond to the PGN_CALCSIZE version of the WM_NOTIFY
...
message.
2001-08-13 20:08:21 +00:00
Guy L. Albertelli
3554e75cc8
- Make all WM_NOTIFY messages go to the parent.
...
- Allow WM_WINDOWPOSCHANGING when the control is size 0 to set initial
size.
- Combine multiple SetWindowPos calls in same processing line and make
the flags like native.
- Redo WM_NCCALCSIZE to match native.
- Since Pager is a "transparent" control (except for its own buttons),
the WM_ERASEBKGND needs to be passed to the parent. Also do the window
offset like the native control does.
2001-08-13 20:07:47 +00:00
Jörg Mayer
e5b5af9d66
Fixed a few signed/unsigned and "unsigned < 0 always true" warnings.
2001-08-10 22:49:35 +00:00
Andreas Mohr
c457fbdde6
Fixed tab control index handling.
2001-08-06 17:51:09 +00:00
Guy L. Albertelli
9a1a35e489
- Add debugging dumps of bar and buttons, and trace entry for each
...
message.
- Organize WM_NOTIFY processing in preparation for Unicode
- Implement TBN_GETDISPINFO and I_IMAGECALLBACK for bitmaps.
- Implement drawing of separator for TBSTYLE_DROPDOWN similar to native.
- Change drawing of buttons to support TBSTYLE_LIST and make match
native pixel layout (with and without bitmaps).
- Change TOOLBAR_MeasureString to measure with DrawText like native.
This eliminates extra space due to prefix char ("&").
- Speed up TOOLBAR_CalcStrings by doing the HDC and FONT selection once.
- Change calc of buttons to match drawing for TBSTYLE_LIST and
separators.
2001-08-03 18:10:30 +00:00
Nog
111ec8d6c2
Don't enable the 'hot' state of a toolbar button when it's not
...
enabled.
2001-07-31 00:10:06 +00:00
Marcus Meissner
40734af751
Be a bit more graceful on NULL property sheet titles.
2001-07-26 20:07:53 +00:00
Guy L. Albertelli
2435237537
- On TB_SETIMAGELIST retrieve new values of the bitmap width and
...
height (fixes overlap of image and text in IE4).
- Handle return codes from TBN_DROPDOWN (allows a "dropdown" to be
treated like a regular button).
- Implement TBN_BEGINDRAG and TBN_ENDDRAG in WM_LBUTTON{DOWN|UP} (not
necessary but done by native).
- Implement NM_RELEASEDCAPTURE and NM_CLICK.
2001-07-26 20:07:23 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00
Alexandre Julliard
5f728cae70
Removed HEAP_strdupA.
2001-07-24 21:45:22 +00:00
Guy L. Albertelli
ca5757f8c5
- Recalc the toolbar size on TB_SETBUTTONSIZE in certain conditions.
...
- Add trace to show the paint rectangle prior to refreshing.
2001-07-20 17:58:27 +00:00
Guy L. Albertelli
6eb7273e82
- Fix handling of text color.
...
- Correct implementation of WM_SETREDRAW to be closer to native.
- Do more implementation of RBS_AUTOSIZE in the WM_SIZE processor.
- Implement RBBS_VARIABLEHEIGHT. Used by IE4.
- Do more testing in WM_SIZE to handle strange cases like native.
2001-07-20 17:58:12 +00:00
Guy L. Albertelli
d750780f8c
Fix conversion of W structure to A structure during notify.
2001-07-20 17:57:24 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Francois Gouget
3408e9cfd0
Some 'calendar' typos...
2001-07-17 00:40:30 +00:00
Gerard Patel
5aa9754c6a
Refresh bitmap count to take in account imagelist changes after
...
TB_SETIMAGELIST.
2001-07-17 00:39:15 +00:00
Guy L. Albertelli
2420fa983d
- Move creation process to the WM_NCCREATE message like native and force
...
styles WS_VISIBLE and CCS_TOP.
- Implement messages WM_NCHITTEST, WM_STYLECHANGED, RB_MOVEBAND,
RB_MINIMIZEBAND.
- Improve preformance by removing calls to GetWindowLong for GWL_STYLE
(by saving state and handling WM_STYLECHANGED).
- Cleanup and remove dead and test code.
2001-07-08 20:31:11 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Guy L. Albertelli
6ae29d6ac0
RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack
...
in WinZip).
2001-07-02 17:59:11 +00:00
Mike McCormack
aa62953b31
Fix button text placement for disabled buttons (see Winzip 8.0).
2001-07-02 17:58:31 +00:00
Guy L. Albertelli
b0327f2b40
Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM.
2001-07-02 01:20:28 +00:00
Guy L. Albertelli
ea478c62a1
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
...
notify formats.
- Move the drawing of the band backgrounds and band separators to the
WM_ERASEBKGND processing just the way the native controls do.
- Implement WM_SETREDRAW.
2001-06-24 00:22:55 +00:00
Guy L. Albertelli
b2207c7f36
- Fix memory leaks.
...
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
notify formats.
- Fix some drawing issues with COMBOEX_DrawItem.
2001-06-24 00:22:20 +00:00
Guy L. Albertelli
0d0cc390c3
Fixed test so 0xffffffff is properly recognized.
2001-06-24 00:21:40 +00:00
Andreas Mohr
99f2f396b5
Spelling fixes.
2001-06-22 23:21:47 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Patrik Stridvall
8b216b3d02
Documentation ordinal fixes.
2001-06-19 18:20:47 +00:00
Patrik Stridvall
6076729649
Documentation ordinal fixes.
2001-06-19 03:34:07 +00:00
Guy L. Albertelli
5e7b201400
- correct rebar window borders and handling of RBS_BORDERS, now
...
matches native.
- major redesign of band layout, now comes a lot closer to native for
the test programs.
- support RBS_VARHEIGHT for both on and off.
- better debug info, and performance improvement
2001-06-11 20:12:11 +00:00
Marcus Meissner
decd475621
Implemented page skipping on PSN_SETACTIVE -1 return.
2001-06-06 21:03:21 +00:00
Francois Gouget
b412b3ccbe
TOOLBAR_InsertButtonA: If iString==-1 then don't use it as a pointer.
2001-05-31 21:33:55 +00:00
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
Alexandre Julliard
e5fe735d89
Moved NM_UPDOWN definition to commctrl.h.
2000-08-11 12:53:27 +00:00
Alexandre Julliard
5ab9d860f2
Removed some unnecessary #includes and dll dependencies.
2000-08-09 22:35:05 +00:00
Huw D M Davies
363a75f63a
Fix some remaining problems with tooltips.
2000-08-09 22:21:32 +00:00
Alexandre Julliard
70c9e095ef
Removed all non-standard common control headers from the include
...
directory.
2000-08-09 00:41:17 +00:00
Aric Stewart
773efce76b
Reworked how selections are kept track of in the list view. Selections
...
are now listed as a sorted range of paired integers.
2000-08-08 20:46:07 +00:00
Louis Philippe Gagnon
94f74144fd
When unsubclassing tools, use toolPtr->hwnd instead of toolPtr->uId if
...
toolPtr->flags does not contain TTF_IDISHWND (meaning uId is not a
valid window handle).
2000-08-08 20:45:16 +00:00
Alexandre Julliard
e514103971
Added imports of kernel32.dll where necessary.
2000-08-06 03:47:29 +00:00
Chris Morgan
5c66684850
Converted all calls to RedrawWindow to InvalidateRect. Previously
...
RedrawWindow was being used for the RDW_UPDATENOW flag which forced an
immediate WM_PAINT message. Moving to InvalidateRect should let
WM_PAINTs occur normally.
2000-08-06 03:36:09 +00:00
Alexandre Julliard
3850c1ae16
Moved most USER string functions to dlls/user.
...
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Patrik Stridvall
b4c7499883
Fixed some warnings.
2000-08-04 21:08:01 +00:00
Huw D M Davies
4e095e6e2b
Redo the show/hide logic and add a comment to explain what's going on.
...
Fix TTM_{S|G}ETDELAYTIME to use the double click time as default.
Fix handling of TTDT_AUTOMATIC.
Relayed mouse messages should extract the position from lParam not
msg.pt
SubclassProc now unified with TTM_RELAYEVENT.
Change all lstrcpyxtox to use win32 APIs.
2000-08-03 22:18:15 +00:00
Aric Stewart
559692a5e5
- Fixed bug where InitSubItem was doing a ZeroMemory on the item.
...
- Cleaned up a sit of extra blue at the end of a FULLROWSELECT list view
if there is only one column.
- Corrected a bug I introduced with an earlier patch which caused
problems with multiple selections.
2000-08-03 00:24:09 +00:00
Alexandre Julliard
6c9d83aa4c
Added imports of user32/gdi32/kernel32 wherever necessary.
2000-08-03 00:04:24 +00:00
Alexandre Julliard
15d9a60246
Serge Ivanov
...
Andrew Lewycky
Improved drawing of item text, added SHOWSELALWAYS capability.
2000-08-01 23:31:17 +00:00
Matthew Lake
efd796743d
Fixed a segfault problem using the standard file open dialog box.
2000-08-01 23:30:25 +00:00
Susan Farley
1da10fdca8
More consistent calculation of line height, scrolls a full item on
...
line up/down.
2000-08-01 22:01:11 +00:00
Aric Stewart
176cee7e1d
Fixed a few bugs including one with setting extended styles and
...
editing labels.
Implemented the LVS_EX_FULLROWSELECT extended style.
Begin an implementation of virtual list views (LVS_OWNERDATA style
set).
2000-08-01 20:58:33 +00:00
Marcus Meissner
f961dab48f
Removed some flicker by detecting if we set the same value again.
2000-08-01 20:50:33 +00:00
Marcus Meissner
f06555a34e
Implemented SmoothScrollWindow.
2000-07-29 21:54:38 +00:00
Eric Pouech
731e9f5309
- removed (now obsolete) driver.h file (it's content is now in mmsystem.h)
...
- upgraded vfw.h content
2000-07-26 18:07:04 +00:00
Aric Stewart
d778da2fbe
Prevent the attempt to draw invalid image indexes.
...
Provide the two pixel buffer between the image and the label.
2000-07-25 12:26:59 +00:00
Aric Stewart
9024c107bf
Handle the case where the function SetItem is called to select an item
...
or set its focus.
2000-07-23 14:19:42 +00:00
David Elliott
17b341270a
- Changed the temporary buffer for loading resources from 256 to 512
...
- Define MAX_RESOURCE_STRING_LENGTH instead of using it magically throughout
the function
- Use lstrcpynW instead of lstrcpyW
2000-07-23 13:31:41 +00:00
Rob Farnum
e63a40ee96
Ignore iBitmap width when drawing flat toolbar.
2000-07-15 19:45:43 +00:00
Chris Morgan
a319a9784e
Fixed TOOLBAR_DrawString() to offset button text if infoPtr->himlDef
...
is non-zero. Better fix than my previous patch.
2000-07-11 22:03:44 +00:00
Chris Morgan
6647ef4d71
Fixed TOOLBAR_DrawString() to offset button text if the himl parameter
...
is non-zero or the default himl, himlDef, is non-zero. Fixes a bug in
WinZip 8.0 where text is not shifted down by the height of the button
image.
2000-07-08 18:27:44 +00:00
Gerard Patel
19cef6ca10
Allow the size of bitmaps to be changed after toolbar buttons have
...
been added.
2000-07-08 12:48:37 +00:00
Slava Monich
5b0ace1c24
On Windows property sheet has DWL_USER dword pointing to a structure
...
that starts with HWND and PROPSHEETHEADER fields.
2000-07-08 12:48:13 +00:00
James Hatheway
1fb3298e7b
Only use the column headers to calculate the width of a
...
LDS_REPORT-type listbox if it actually has column headers.
(ie. LVS_NOCOLUMNHEADER bit is not set.)
2000-07-08 12:45:21 +00:00
Slava Monich
9b6082f0a3
Changed the size of property sheet template to be the same as the
...
original one (was 292x159, now 220x140).
2000-07-08 11:47:19 +00:00
Andreas Mohr
fd79ce05c3
DSA_InsertItem returns nIndex, not nItemCount.
2000-07-08 11:44:20 +00:00
Chris Morgan
b43639e76e
Fixed background redrawing when control is covered. Fixed a really
...
dumb mistake I made with border drawing many patches ago. Fixed
offset by 1 alignment issues.
2000-07-08 11:43:57 +00:00
Mike McCormack
4b4e978106
Add workarounds for null strings in TOOLBAR_InsertButtonA and calling
...
TOOLBAR_SetButtonSize after button added to the toolbar (latter for
WINZIP32.EXE)
2000-06-25 12:48:41 +00:00
Eric Pouech
ed56845afe
Fixed animation loading for RLE encoding.
2000-06-24 17:53:40 +00:00
Dave Hawkes
5f5fb12420
Avoid gratuitously changing the ZORDER.
2000-06-23 16:53:52 +00:00
Alexandre Julliard
6953d6756c
For dlls, derive SPEC_SRCS from MODULE and ALTNAMES.
2000-06-20 20:24:14 +00:00
Gerard Patel
d837d9db63
Protect against programs creating parts with negative width.
2000-06-20 20:13:24 +00:00
Noomen Hamza
6e027cbbec
WM_PAINT should be processed only by the TREEVIEW_Paint function, so
...
we don't need to call DefWindowProcA function within TREEVIEW_Paint.
2000-06-18 17:20:11 +00:00
Alexandre Julliard
5ea22474bb
Use the Unicode string functions from wine/unicode.h instead of the
...
crtdll ones.
2000-06-13 01:10:29 +00:00
Aric Stewart
3054b7625a
We were not properly masking the item that was sent with the message
...
and also we where not sending the notification at the proper times.
2000-06-11 20:39:14 +00:00
Patrik Stridvall
a831f2a1e7
Fixed some warnings.
2000-06-11 20:03:17 +00:00
Aric Stewart
8b5231df91
Windows must update the right edge (-1) of the last panel upon drawing
...
instead of relying on WM_SIZE.
2000-06-08 19:22:25 +00:00
Aric Stewart
19f83e2f6a
Properly handle InsertItem with an invalid HTREEITEM. Windows handles
...
these like a TVI_LAST.
2000-06-08 19:21:41 +00:00
Aric Stewart
d9ac53f15a
Added handling of TBSTYLE_AUTOSIZE.
2000-06-07 03:14:12 +00:00
Patrik Stridvall
c94e086161
Fixed some warnings.
2000-06-07 02:16:47 +00:00
Uwe Bonnes
cf50ffbf0a
TOOLBAR_DrawString: catch index== -1 (but not yet handled).
2000-06-07 02:10:51 +00:00
Noomen Hamza
6ce34254d0
The active page should be unchanged when removing an active first page
...
from a property sheets.
2000-06-07 02:01:28 +00:00
Michael Cardenas
c69c954783
Corrected a potential crash.
2000-06-04 01:46:27 +00:00
Chris Morgan
66331a73c0
Finished the implementation of LISTVIEW_SetColumnWidth. Tested
...
against windows thoroughly. Fixed bug resulting in unsigned values
being passed into LISTVIEW_SetColumnWidth from the listview window
procedure. Fixed LISTVIEW_GetItemHeight to disregard the height of
icons if no icons exist.
2000-06-04 01:35:16 +00:00
Chris Morgan
3cbc16854f
Replaced calls to HEADER_Refresh with InvalidateRect.
2000-06-04 01:34:31 +00:00
Eric Kohl
02746e8efe
Started support for menubar-like toolbars.
2000-06-04 01:34:07 +00:00
Eric Kohl
b3f681ea8e
Updated to dll version 5.81 (IE 5.01).
2000-06-03 21:06:44 +00:00
Eric Kohl
b7b4aed3f1
Implemented TVM_GETITEMW.
2000-06-03 21:05:47 +00:00
Jason Mawdsley
84c494bd34
Added support for typing the filename in the listview control and
...
having the control select it.
2000-06-03 21:04:33 +00:00
Chris Morgan
087ba42b02
Added 3D border around control. Fixed monthcal control popup. Added
...
WM_SIZE support. Optimized drawing. Added WM_LBUTTONUP handling.
Handle DTS_RIGHTALIGN style. Fixed handling of formatting styles,
date is now displayed properly for DTS_SHORTDATEFORMAT.
2000-05-30 20:06:54 +00:00
Chris Morgan
043c3e7977
Removed all direct calls to MONTHCAL_Refresh() and replaced with
...
either RedrawWindow or InvalidateRect. Optimized drawing using
RedraWindow and update regions. Fixed "Today" date bug where year was
only one digit. Fixed drawing of circle drawn next to "Today". Fixed
moving to previous or next month by clicking on days belonging to
previous or next months.
2000-05-30 20:06:33 +00:00
Alexandre Julliard
53f8c60ee9
Francois Methot (Macadamian)
...
Fixed the blank color palette tooltip bug by triggering a refresh of
the tooltip with UpdateWindow function instead of calling directly the
refresh function.
2000-05-26 01:16:01 +00:00
Aric Stewart
f64a59f2fe
Reworked the thumb drawing code, thumb calculation code, channel
...
calculation code, and corrected some bugs in how tics are drawn and
how clicks are handled.
2000-05-25 23:02:18 +00:00
Chris Morgan
b70b26709f
Use clipping regions to reduce the amount of processing performed when the
...
toolbar is repainting. Reduces processing by approximately 85-95% in most
cases.
2000-05-25 23:01:20 +00:00
Gerard Patel
bfd5b31a0e
Fixes crash when calling Treeview_EndEditLabelNow and no node is
...
currently edited.
2000-05-25 23:00:46 +00:00
Susan Farley
820da77db3
Defer to standard scrolling APIs for non-flatSB specific functions so
...
that flatSBs show up and behave properly, just not with flat properties.
2000-05-24 21:05:20 +00:00
Aric Stewart
4b40a7dc8f
Added handling for TVS_SINGLEEXPAND.
2000-05-24 21:02:50 +00:00
Aric Stewart
6274a7ab88
Corrected the problem where a tab control marked multiline but has
...
only one tab was being justified to fill the whole tab space.
2000-05-24 21:02:29 +00:00
Martin Fuchs
0b5642160c
Inserted a missing call to SetWindowPos(). With this change the header
...
control is visible again in list views with report style.
2000-05-24 03:33:05 +00:00
Susan Farley
62c5d9f366
SetBuddy no longer overwrites its superclass' WndProc property when
...
the buddy has already been subclassed, eliminating the infinite loop
that resulted.
2000-05-23 21:22:27 +00:00
Chris Morgan
e2099dc987
Fixed tooltips.
2000-05-23 21:12:03 +00:00
Chris Morgan
7030c5f78a
Reduce toolbar redrawing and flicker by calling RedrawWindow() in
...
TOOLBAR_MouseMove() only if hot effect applies to the current hot
button. Restore bHot flag of hot button in TOOLBAR_LButtonUp() to
restore hot effect properly.
2000-05-23 21:11:06 +00:00
Aric Stewart
9700b7fa55
Corrected a problem of when oldHit is negative and we try to use it as
...
an index into the buttons array.
2000-05-23 04:10:45 +00:00
Aric Stewart
9a3dd5b249
If a listview is created with LVS_NOCOLUMNEHEADER then wine creates the
...
header like normal but just sets it not visible. This fix lays out
those supposedly nonexistent headers to size 0,0. So that even if they
become visible they are not drawn.
2000-05-23 01:24:24 +00:00
Chris Morgan
9a171b8e3e
Update nItemWidth in LISTVIEW_SetItem() if LVS_LIST or LVS_SMALLICON
...
mode and item text is wider than the current nItemWidth.
2000-05-19 03:44:46 +00:00
Aric Stewart
cbf9395a66
Fixes the line of garbage at the bottom of images and the fact that
...
the buttons in the open dialog box where too tall.
2000-05-19 03:36:53 +00:00
Francois Gouget
244ad84f50
Convert C++ comments to regular C comments.
2000-05-18 00:05:10 +00:00
David Black
2b44191367
Implemented TVM_EDITLABELA, plus some improvements to EndLabelEditNow.
2000-05-14 23:50:00 +00:00
Patrik Stridvall
5ca73ac93a
Fixed issues found by winapi_check.
2000-05-11 21:46:51 +00:00
Eric Pouech
051cccee06
Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars).
2000-05-11 21:42:12 +00:00
Ken Thomases
da2cd4d070
Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
...
mouse-over).
2000-05-11 21:40:36 +00:00
Aric Stewart
031793e7f9
Remove the background from the new image when it is being replaced
...
with a ReplaceImage.
2000-05-11 21:39:45 +00:00
Aric Stewart
0406a08cdc
Clean up the drawing code after a label update. There were problems if
...
the new label is shorter that the old label fragments of the old label
were left drawn.
2000-05-11 00:07:44 +00:00
Aric Stewart
ebf34ae4ba
Allow the user to cancel label editing with esc and confirm with return.
2000-05-10 21:53:19 +00:00
Ken Thomases
f9e280aab3
Restore accidentally undone changes.
2000-05-10 21:42:53 +00:00
Aric Stewart
f7a51e1e3a
- Wine was not properly reporting back the edited label to the
...
application in a treeview when the label is a callback.
- Because windows applications assume they get a new edit control
every time they often subclass that edit box willy-nilly and do not
clean up. So it is necessary to actually give them a new edit control
each time.
2000-05-10 21:42:21 +00:00
Aric Stewart
035245c873
- Cleaned up some of the drawing code, specifically dealing with
...
avoiding trying to draw invalid bitmaps.
- Avoid directly calling drawing functions instead invalidating rects
and relying on WM_PAINT.
- For the dropdown event check the button style as opposed to the
toolbar style.
2000-05-10 21:40:49 +00:00
Alexandre Julliard
8c8237b756
Specify the service thread timers in ms instead of us.
2000-05-10 04:43:32 +00:00
Gerard Patel
a1b2fc2a80
Protect against use of comctl32 private control memory after it has
...
been freed.
2000-05-10 01:34:53 +00:00
Aric Stewart
7b6ed869db
Some programs switch their status bar back and forth from simple mode
...
while running. This fix corrects drawing and text setting problems that
result from this behavior.
2000-05-10 01:33:20 +00:00
Aric Stewart
8ee3144a77
Added the ability to use multiline tab controls to wine.
2000-05-09 22:33:48 +00:00
Gerard Patel
d7cbd7b001
Set the itemID member of the DRAWITEMSTRUCT to the number of the
...
status part painted.
2000-05-07 18:25:56 +00:00
Chris Morgan
53b152f73c
Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial
...
support for the LVS_EX_TRACKSELECT flag. Added code to delete items
in LISTVIEW_SetItemCount().
2000-05-07 18:24:10 +00:00
Aric Stewart
7d6e9a1ab0
Fixed a bug with the processing of HitTest.
2000-05-05 18:22:44 +00:00
Huw D M Davies
2be78d412f
Fixed DC leak.
2000-05-05 18:18:31 +00:00
Sheri Steeves
1e0dfb598b
Worked around some tooltips hide problems by checking the current tooltip.
2000-05-05 18:16:35 +00:00
Bertho Stultiens
27337af65c
- Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
...
old parser has been stripped from the old preprocessor-code which
cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Alexandre Julliard
2fb5dee6e7
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Implemented TME_QUERY and TME_HOVER flags in _TrackMouseEvent and
TrackMouseEventProc. Added code to allow addition/cancelation of
tracking flags on existing entries rather than create extra entries.
Fixed timer. Added check to _TrackMouseEvent to stop timer if the
tracking list is empty. Fixed TME_CANCEL. Fixed TME_LEAVE/TME_HOVER
when hwndTrack isn't the current hwnd.
2000-04-28 20:49:20 +00:00
Martin Fuchs
33bdf53d9d
- Return modified rectangle after layouting header control
...
- Output text in header control when no other Flag specified
- Delay bounding rectangle calculation for header control items
2000-04-28 14:46:36 +00:00
Chris Morgan
980afc9a3d
Implemented TOOLBAR_MouseLeave to handle WM_MOUSELEAVE messages.
...
Added TrackMouseEvent calls to TOOLBAR_MouseMove. Hot buttons now
look/behave almost exactly the same as native windows.
2000-04-28 14:45:44 +00:00
Patrik Stridvall
55ef9a5a68
Fixed issues found by winapi_check.
2000-04-24 18:03:54 +00:00
Alexandre Julliard
5f4c9a0023
Patrick Yang (Corel)
...
infoPtr sometimes can be NULL.
2000-04-24 18:01:27 +00:00
Martin Fuchs
c37a639e33
Fixed toolbar bitmap size handling.
2000-04-24 17:34:42 +00:00
Alexandre Julliard
491bc7c751
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Redraw toolbar button inside TOOLBAR_EnableButton() only if the state
of the button changes. Stops flickering in toolbars caused by
excessive redrawing.
2000-04-23 19:56:07 +00:00
Alexandre Julliard
ae7ae694b3
Removed winmm from import list.
2000-04-19 16:52:06 +00:00
Alexandre Julliard
59d99130c5
Use GetProcAddress for mmio* functions to avoid importing winmm.dll.
2000-04-19 16:48:45 +00:00
Stephane Lussier
30316dd5f6
Mousewheel support.
2000-04-19 16:45:30 +00:00
Stephane Lussier
4bdf4af11e
Implemented Mousewheel support.
2000-04-18 11:56:33 +00:00
Martin Fuchs
1d20af694c
Implement CCS_NOMOVEY for tool bars.
2000-04-15 20:38:11 +00:00
Serge Ivanov
1db182f20b
Added proper handling TVIS_OVERLAYMASK flag and allows to display
...
overlay images. Fixed off by one error with listitem in
TREEVIEW_InsertItemA (uNumItems is 0 based, cChildren is a count).
2000-04-15 20:36:15 +00:00
Huw D M Davies
0c3594a9a6
Clear TopRootItem when whole tree is deleted.
...
Fix off by one lstrcpyn.
Clean up and fix GetNextItem.
2000-04-13 15:56:09 +00:00
Serge Ivanov
39ec6e48f9
TreeView - minor bugfix and optimization:
...
- GetDC call moved down to avoid possible resource leak.
- Invariant code is moved out of loop.
2000-04-11 19:37:01 +00:00
Richard Cohen
a4729b0b21
GetItem was returning the item instead of subitem info.
2000-04-09 18:38:23 +00:00
Yuxi Zhang
2c0f14af3b
Stephen Mereu
...
TabCtrl leftmostVisible is not updated properly. It caused the QP
application bar on the bottom fail to bring back the items when there
is no need to scrolling. Also fixed a bug that when an item is inserted,
setItemBounds should be called first, then it's time to invalidate.
2000-04-08 20:23:00 +00:00
Patrik Stridvall
54fe8380a1
Fixed some issues reported by winapi_check.
2000-04-06 20:21:16 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Andreas Mohr
3699ef77d4
Do a LoadLibraryA of WINMM upon ANIMATE_Create and a FreeLibrary upon
...
ANIMATE_Destroy.
2000-03-28 19:28:33 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
Patrik Stridvall
fcfacb95a7
Added/fixed some documentation reported by winapi_check.
2000-03-24 20:46:04 +00:00
Francois Gouget
98f86fcda4
Explicitly use the TVN_xxxA version of the macros.
2000-03-19 21:16:00 +00:00
Patrik Stridvall
6cc47d4924
Removed a lot of unnecessary includes and fixed the compile errors.
2000-03-08 18:26:56 +00:00
Alexandre Julliard
d0edc5fecd
Moved dll-specific make rules to a separate Makedll.rules file.
2000-03-04 22:31:27 +00:00
Alexandre Julliard
d37c1bb570
Vahid Pourlotfali
...
Trackbar contol did not have proper position value in case of
SB_THUMBTRACK notification message: it was always sending 0.
Jim Aston <jima@corel.ca>
Made the slider control a rect. It had been trying to draw a notched
slider, but the result didn't look right.
2000-03-04 19:11:54 +00:00
Niels Kristian Bech Jensen
4eb4380360
Removed superfluous #include statements for header files included twice.
2000-02-29 22:06:06 +00:00
Serge Ivanov
a2c87ded53
Make updown control work. UpDown control always sends WM_*SCROLL
...
message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]).
2000-02-29 22:04:40 +00:00
Pascal Lessard
ce527de51f
Implemented the behavior of sending WM_CONTEXTMENU when receiving a
...
WM_RBUTTONUP.
2000-02-29 22:04:00 +00:00
Pierre Mageau
c8212371db
Don't display the context menu on a double click.
...
Ulrich Czekalla <ulrichc@corel.ca>
Set the font on the edit label control to that used by the listview
control. It also uses text metrics to set a more reasonable initial
edit control size.
Pierre Mageau <pierre@macadamian.com>
Handle M_SETREDRAW in ListView.
Fix to EnsureVisible to handle small and large icon correctly.
Add edit label functionnality to the listview and the file open dialog.
Ulrich Czekalla <ulrichc@corel.ca>
RelaseDC in CreateEditLabel.
Pierre Mageau <pierre@macadamian.com>
Add functionnality to create new folder in the open dialog.
Add support for right click menu in common file dialog.
LISTVIEW_EndEditlabel is now handling NONLPSTR_TEXTCALLBACK listview items.
Serge Ivanov <sergei@corel.ca>
LISTVIEW_GetColumnA fix (do not copy string, pass pointers).
Luc Tourangeau <luc@macadamian.com>
Preventing a divide by zero when handling LVW_ENSUREVISIBLE message.
Don Kelly
-Implemented the sorting on insert of items into a ListView control
with either LVS_SORTASCENDING or LVS_SORTDESCENDING set.
-(helping evil applications): sometimes not so well structured apps
(PFPI90, in this case) will not fully initialize structs. In the case
of the LVM_GETITEM message the app may have only initialized the mask
and iItem members of the struct. Added processing of the LVIF_PARAM
mask in the case that iSubItem was set but is invalid/uninitialized.
Pierre Mageau <pierre@macadamian.com>
Fix for handling correctly the cancelling mode of the Edit label.
Fix width calculation of the edit label.
Pascal Lessard <pascal@macadamian.com>
Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.
Ulrich Czekalla <ulrichc@corel.ca>
Fixed a painting problem with listview when the view changes and an
edit label is active.
Ulrich Czekalla <ulrichc@corel.ca>
Fixed a notification problem with listview. On creation if the user
specifies an item with focus and/or selection we should send the
proper notification. Insert was preventing LISTVIEW_SetItem from
seeing the changes and sending the notification.
Make the draw item rectangle consistent with the selection
rectangle. This allows us to click on the folders and icons in the
file open dialog box and the item actually gets selected.
2000-02-27 14:03:06 +00:00
Alexandre Julliard
047513f3de
Don Kelly
...
In Windows Property Sheet can have any mix of icon-less tabs and tabs
with icons. Adds a check to see if the icon we're adding is non-NULL
(otherwise random junk from memory can be rendered) when the application
has specified the PSP_USEICONID flag is set. Changes to the Tab control
to only render icons for tabs that have the TCIF_IMAGE flag set
(previously, if the flag was set the entire image list of icons was
rendered).
Stephane Lussier <stephane@macadamian.com>
Fixes for some tab control bugs
Henning Hoffmann
Fixed some width problem with OWNERDRAW tab.
Luc Tourangeau <luc@macadamian.com>
TCM_ADJUSTRECT is now returning consistant compare to Windows.
Serge Ivanov <sergei@corel.ca>
Fixed problem with tab selection. When you select tab it becames first
visible tab. Now leftmost visible tab is calculated properly.
- Added code for correct handling of updown control.
- Forced recalculation of tabs' coordinates when:
a) all items are deleted,
b) window style is canged
2000-02-26 18:31:01 +00:00
Jim Aston
fd018cc9da
This reverts Matts patch. The messaging needs double checking.
2000-02-26 18:28:38 +00:00
Alexandre Julliard
e1d78899ea
Made winmm a separate shared library.
2000-02-26 13:45:34 +00:00
Hidenori Takeshima
031aef9a91
Fix for toolbar button size.
2000-02-25 21:35:18 +00:00
James Abbatiello
1758f2d81a
Misc. fixes for compiler warnings.
2000-02-25 21:01:50 +00:00
Serge Ivanov
c0b824d7de
In Windows, if PropertySheet can't create some page it just skips it. This
...
patch adds similar behaviour to Wine. It also adds some NULL checks.
<yuxi@corel.com>
Fix property sheet initialization bugs.
Matthew Robertson
The template was calling GetActiveIndex which was not being set in the
propsheet code, and the call was moved before we call SetActive -
because that's where we query for the Active Index.
Noomen Hamza
Resize property sheet to the largest dialog size.
Don Kelly
In the WM_INITDIALOG handler for the prop sheet, there is a call to
PROPSHEET_IsTooSmall() which, if it returns TRUE, calls
PROPSHEET_AdjustSize(). Contrary to its comment, .._AdjustSize() actually
aligns the sizes of the "largest" prop. sheet dialog template and the tab
control. The IsTooSmall() call doesn't properly catch this mismatch.
Modified the function to return TRUE if the sizes mismatch and renamed it to
PROPSHEET_SizeMismatch() to reflect its proper use.
2000-02-25 20:49:49 +00:00
Serge Ivanov
a39cbbc0eb
In function IMAGELIST_InternalDrawMask we have to mask out overlay mask in
...
fStyle. Otherwise comparison fStyle == ILD_NORMAL will not work, which leads
to improper display of overlay images.
2000-02-25 20:47:26 +00:00
Andreas Mohr
f4185f63d0
Spelling fixes.
2000-02-20 19:17:15 +00:00
Alexandre Julliard
d711ad9e0a
Removed superfluous GlobalFindAtom calls.
2000-02-13 15:10:16 +00:00
Alex Priem
d5a50a3cea
Fixed off-by-one error.
2000-02-13 15:02:43 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner
bd26e4d2cf
Height calculation was 1 off in ImageList_Read.
2000-02-07 16:00:33 +00:00
Alex Priem
e15dff7411
- Implementation of WM_SETFORMAT
...
- Reworked drawing/selection
- Implementation of WM_KEYDOWN
2000-02-03 00:48:39 +00:00
Alexandre Julliard
318f4cefd2
Build most dlls as separate shared libraries.
2000-01-31 05:02:49 +00:00
Marcus Meissner
9c978ab18e
Overlay indices are signed shorts (-1 means no overlay)
...
(ImageList_SetOverlayIndex) should accept -1 as overlayindex.
(ImageList_Read) We can read a NxM bitmap from the stream and have
to convert it into a 1x(M*N) bitmap, set cCurImage,cMaxImage. Added
documentation.
(others) removed some potential operator precendence problems.
2000-01-30 22:21:22 +00:00
Andreas Mohr
8cd93514f0
- add some documentation items
...
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Marcus Meissner
d40170d20c
Implemented ImageList_Read (not 100% correct in regarding to setting
...
the bitmap).
Filled out unknown members of ILHEAD.
Started reordering IMAGELIST to make it Windows binary compatible.
2000-01-29 21:00:25 +00:00
Marcus Meissner
bade58f2d2
Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them.
2000-01-23 22:00:06 +00:00
Alexandre Julliard
afa4315507
Removed a dependency between oleaut32 and comctl32.
2000-01-12 05:01:02 +00:00
Alex Priem
504cfe51d3
InfoPtr checking mixed up WM_DESTROY and WM_CREATE.
2000-01-12 04:55:27 +00:00
Alexandre Julliard
74e4a28a34
Built-in DLLs resources are now specified in spec file.
...
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Alex Priem
f1a3f1752d
- When processing WM_PAINT messages, the treeview might sometimes use
...
the wrong hdc. Fixed.
- Better checking for TREEVIEW_INFO *infoPtr=NULL.
Similar to code in toolbar.c
- Other small fixes (subclassed edit control).
2000-01-05 01:48:56 +00:00
Alexandre Julliard
b7c84d3b22
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Implemented WM_SIZE message support. Optimized drawing to use
precalculated size values rather than recalculating during each call
of MONTHCAL_Refresh.
2000-01-04 00:30:21 +00:00
Francois Gouget
e73b8b84ba
Wrapped some strings in a debugstr_* call.
...
Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n.
Removed redundant 'L's for Unicode strings.
Tried to harmonize the traces a little bit.
1999-12-26 00:40:37 +00:00
Francois Gouget
7e5f828b12
Better support very long strings by avoiding to copy them in a fixed
...
size buffer (one exception partly remains: callback strings).
Raise the buffer size to 512 characters.
Merge the handling of item 0 and other items together in GetItemA to
reduce code duplication.
1999-12-25 22:57:17 +00:00
Huw D M Davies
f35356db11
DPA_DeletePtr was resizing the array to a too small size.
1999-12-25 22:51:53 +00:00
Ian Schmidt
c5af796977
Corrected background color and fixed leaking GDI brush.
1999-12-20 04:00:52 +00:00
Shaun Morris
271f522fa9
Implemented _TrackMouseEvent for the TME_LEAVE flag.
1999-12-20 03:48:25 +00:00
Andreas Mohr
7fb732e597
Fixed compiler warnings.
1999-12-12 00:47:51 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Francois Gouget
42d4f30156
Whenever we do an strncpy we should make sure we put a '\0' at the end
...
of the buffer.
1999-12-05 23:11:47 +00:00
Huw D M Davies
bbe263b68b
Added stubs for several MRU list functions and documented some others.
1999-12-04 04:01:41 +00:00
Huw D M Davies
2553976309
Fixes off by one error in item insertion.
1999-12-04 03:59:33 +00:00
Alexandre Julliard
08afc1a5ed
Serge Ivanov
...
Pierre Mageau
Thy Nguyen
Don Kelly
Noomen Hamza
Lots of bug fixes and new features in property sheets.
1999-11-28 21:01:47 +00:00
Niels Kristian Bech Jensen
c69a80c31d
Compiler warnings fixed.
1999-11-28 20:31:04 +00:00
Dave Pickles
df66b90f12
Prevent a crash if messages are sent to a toolbar window before
...
WM_NCCREATE or after WM_DESTROY.
1999-11-28 20:14:49 +00:00
Alex Priem
e6e71ad4e6
- (final?) update of TreeView_* macro's.
...
- implementation of TVM_SETINSERTMARK & TVM_SETINSERTMARKCOLOR
- fixed some typo's
- custom draw enhancements
- implementation of state images
- implementation of TVS_CHECKBOXES
1999-11-28 19:50:01 +00:00
Eric Kohl
426e812ba0
Fixed some visual toolbar bugs.
1999-11-28 19:48:57 +00:00
Eric Kohl
69a93593b0
- first 'dummy' implementation of ImageList_Read
1999-11-23 23:40:01 +00:00
Eric Kohl
70e0969eeb
- added version messages
1999-11-23 23:38:22 +00:00
Eric Kohl
663921f97c
- implemented LBItemFromPt
1999-11-23 23:35:12 +00:00
Eric Kohl
2b51c94674
- implemented simple column order array functionality
...
- implemented some virtual listview notifications
1999-11-23 23:32:03 +00:00
Eric Kohl
33910f17ff
- minor update to mru list functions
...
- stubs for COMCTL32_411 to COMCTL32_413
1999-11-23 23:14:53 +00:00
Eric Kohl
81e314b14f
- added version messages and some simple get/set messages.
...
- added unicode messages
1999-11-23 22:33:41 +00:00
Alexandre Julliard
0bb2e5ab01
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Implemented current day circling. Fixed many bugs in the month
calender control including control spacing and alignment. Fixed
defines monthcal.h. Optimized control drawing and removed many
extranious redraws. Improved control behavior. Fixed inconsistent
formatting in both .c and .h files.
1999-11-21 02:04:09 +00:00
Eric Pouech
d183e4ac8c
Added undocumented feature to InsertButtonA.
...
Added dropdown button support.
1999-11-21 00:52:26 +00:00
Eric Pouech
331931a8ae
Fixed play back of uncompressed AVI file.
...
Fixed exiting conditions.
1999-11-21 00:51:54 +00:00
Alex Priem
07be70b456
- fixed crash when adding items with TVI_SORT and wineItem->pszText is
...
set to LPSTR_TEXTCALLBACK.
- ditto for TREEVIEW_DeleteItem, TREEVIEW_CreateDragImage.
1999-11-21 00:47:43 +00:00
Juergen Schmied
111f0e35a4
- inserted markers for the bin2res tool
...
- reformated hexdump in shres.rc
1999-11-13 22:38:24 +00:00
Adrian Thurston
7d487c914f
Added validations for page index before using it.
1999-11-13 20:49:12 +00:00
Juergen Schmied
56403478c7
- unified templates for the open and the save dlg
...
- replaced buttons with a toolbar
1999-11-07 22:41:05 +00:00
David Grant
977392c4a2
- Proper initialization of cchTextMax field was added for
...
TVN_GETDISPINFO notification message.
- TVM_SETITEM should update 'mask' field to synchronize it with
current item state.
1999-11-07 05:36:44 +00:00
Eric Pouech
e72a9b65c7
Fixed SetTitleA when string resources were to be loaded.
1999-11-07 05:28:32 +00:00
Pierre Mageau
710541fa08
- Fixed an error for scrolling in Listview (sometimes a column would
...
not be visible) due to my last checkin.
- Fixed an error for the header control when the Listview is resized with WM_SIZE
- Fixed the scrolling for small and large icon (this broke because of
the use of SB_PAGE in scrollInfo)
- Added a patch made by Noomen Hamza to update the item width when
adding a new item
1999-11-07 05:25:58 +00:00
Ulrich Czekalla
d11d6e2085
Set proper item focus on DeleteItem.
...
Clean up edit label implementation.
1999-11-04 01:42:36 +00:00
Thuy Nguyen
ac514e1ad0
PSM_ADDPAGE returns TRUE or FALSE.
1999-10-31 18:29:47 +00:00
Pierre Mageau
382060dcb2
In report view mode of the listview control, implemented the
...
horizontal scrollbar functionality.
1999-10-31 17:35:47 +00:00
Thuy Nguyen
a7de24baa0
Fill in the hwndFrom field of the NMHDR structure when sending
...
notifications.
1999-10-31 17:33:50 +00:00
Thuy Nguyen
709b083824
Wizard mode property sheets have a tab control.
1999-10-31 02:24:29 +00:00
Ulrich Czekalla
dfd13e2fb6
- Treeview uses COLOR_WINDOW color instead of clrBk to fill background.
...
- Treeview: colors returned by TVM_GET**COLOR are mixed up.
1999-10-31 01:52:42 +00:00
Noomen Hamza
8d2e0bb772
Selected button within tab control will be painted with the right
...
color brush.
1999-10-31 01:43:25 +00:00
Pierre Mageau
86c507d606
Do not send two PSN_KILLACTIVE messages.
1999-10-31 01:40:28 +00:00
Patrik Stridvall
d7da486c96
Added spec file declarations for already implemented functions.
1999-10-24 21:35:16 +00:00