Robert Shearman
0aa22f989b
Allow image list tests to compile and run on old platforms.
2004-08-26 18:22:31 +00:00
Mike McCormack
8b424416bb
Calculate the correct size of dialog templates in the propsheet
...
control.
2004-08-26 18:11:43 +00:00
Francois Gouget
dff5004bc0
Assorted spelling fixes.
2004-08-26 00:31:20 +00:00
Robert Shearman
cdb263e588
Replace GetWindowLong by GetWindowLongPtr.
2004-08-25 17:33:01 +00:00
Robert Shearman
b18e158636
- Send NM_LDOWN notification.
...
- NM_RDBLCLK only needs to send a NMHDR structure.
- On mouse notifications returning 0 DefWndProc should be called.
2004-08-25 02:16:32 +00:00
Mike McCormack
99c83d4c57
Tests for icon and bitmap adding and removing and bitmap drawing with
...
image lists.
2004-08-24 18:41:52 +00:00
Robert Shearman
f1ae41c7eb
Fix regression with IE's Menu Bar.
2004-08-24 18:41:27 +00:00
Huw Davies
174e6a5d28
Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif.
2004-08-24 18:33:01 +00:00
Mike McCormack
90c25514fe
Adjust the tab contents to fix the propsheet between PSM_KILLACTIVE
...
and PSM_SETACTIVE.
2004-08-23 17:51:19 +00:00
Kevin Koltzau
59302aed35
Make SetWindowSubclass behave with SetWindowLong subclasses.
...
Allow unlimited number of subclasses.
Correct issue when SendMessage is called from within a subclass proc.
Add regression test.
2004-08-22 22:29:37 +00:00
Michael Stefaniuc
14d9a7c1e9
Test case for hotspot handling.
2004-08-22 01:59:55 +00:00
Michael Stefaniuc
4cfe5286f9
- Fix hotspot handling
...
- Remove unused flag from the InternalDrag struct.
2004-08-22 01:59:29 +00:00
Robert Shearman
4c1438a70e
- Implement insert marks.
...
- Rearrange TOOLBAR_INFO.
2004-08-19 19:58:49 +00:00
Ulrich Czekalla
e516ce8469
Clear tooltip when text is set to NULL.
...
Repaint tooltip when item info changes.
2004-08-19 19:13:08 +00:00
Ulrich Czekalla
12d61c1db6
Forward focus to combobox, otherwise edit control won't get focus.
2004-08-19 19:09:15 +00:00
Ulrich Czekalla
0d173d01a8
The rectangle passed in DRAWITEMSTRUCT is slightly too large as
...
compared with Windows.
2004-08-19 19:06:18 +00:00
Robert Shearman
9a7cda1048
- Fix anchor highlighting.
...
- Remove redundant test in TOOLBAR_DrawButton.
2004-08-19 19:02:59 +00:00
Robert Shearman
ab7bad7647
Always redraw dialog on changing between pages.
2004-08-17 22:09:02 +00:00
Zach Gorman
9b68d0f993
OK button should be default in non-wizard property sheets.
2004-08-16 23:17:44 +00:00
David Kredba
b45744c817
Added Czech resources.
2004-08-16 20:02:09 +00:00
Zach Gorman
be3d4071bf
Propsheet pages need WS_EX_CONTROLPARENT style.
2004-08-16 19:50:44 +00:00
Jon Griffiths
fb50426533
Make pattern brush data const.
2004-08-13 19:44:49 +00:00
Thomas Weidenmüller
0a4d8f7f7d
Correct tooltips behavior.
2004-08-12 20:27:01 +00:00
Mike McCormack
a3a19355cd
Prevent listview from crashing when a null sort function is passed to
...
LVM_SORTITEMS.
2004-08-12 20:01:55 +00:00
Filip Navara
ab13698998
Don't update infoPtr->dwStyle in LISTVIEW_WindowProc. It's already
...
handled in LISTVIEW_StyleChanged and LISTVIEW_Create processing.
Ignore WS_VSCROLL/WS_HSCROLL flags in infoPtr->dwStyle because they're
not always up-to-date.
2004-08-11 20:53:32 +00:00
Filip Navara
1076286020
Fix TOOLBAR_DrawMasked to correctly use image list mask.
2004-08-09 23:37:54 +00:00
Filip Navara
9a0f5ede42
Use correct dialog title for Wizard 97 and correctly display header
...
bitmap for old-style Wizard 97.
2004-08-09 22:54:14 +00:00
Eric Kohl
bea0555890
Move watermark and header bitmap loading code from
...
PROPSHEET_CreatePage into its own function PROPSHEET_LoadWizardBitmaps
and call this function from property sheet's dialog procedure.
2004-08-09 19:48:04 +00:00
Thomas Weidenmüller
9d6f88c952
Implemented syslink control.
2004-08-06 19:17:49 +00:00
Thomas Weidenmueller
7155eff8bc
Added support for PBS_MARQUEE style.
2004-08-02 22:19:50 +00:00
Dmitry Timoshkov
304f106a07
Create toolbar with a not zero default size, it allows applications
...
which check toolbar size before adding buttons to it work.
2004-08-02 18:25:20 +00:00
Marcus Meissner
e5a5e7271d
Implemented PSM_INDEXTOHWND.
2004-08-02 18:24:58 +00:00
Henning Gerhardt
68ade3b7ac
Minor fixes and updates to the German resource files.
2004-07-22 20:35:07 +00:00
Filip Navara
fb6aa772cd
Fix CreateMappedBitmap for palette-less bitmaps.
2004-07-21 21:19:08 +00:00
Filip Navara
c846f88fa2
- Properly calculate caption length when converting multi-byte string
...
to wide character one.
- Wizard contents shouldn't be moved by the size of watermark bitmap.
- Fix PSH_WIZARD97_[NEW/OLD] checks.
- Blit the watermark even if PSH_USEHBMWATERMARK flag isn't set and
blit only the part that fits into the dialog.
2004-07-21 21:17:59 +00:00
Filip Navara
cbe79616bd
Use system metrics values in TOOLBAR_DrawPattern instead of hardcoded
...
values.
2004-07-19 19:32:16 +00:00
Filip Navara
6a9cc38d9e
Make the pattern drawing in TOOLBAR_DrawPattern look better.
2004-07-16 23:20:55 +00:00
Jon Griffiths
86a0e50a1d
Don't crash on NULL tab text.
2004-07-16 02:30:48 +00:00
Robert Shearman
0d9f93ab06
Implemented PSM_HWNDTOINDEX.
2004-07-12 23:48:11 +00:00
Robert Shearman
cd2065f170
Add stubs for some new property sheet messages.
2004-07-12 23:30:54 +00:00
Mike McCormack
4f7ad78bd9
Create a tooltip on demand in the Listview.
2004-07-06 21:27:34 +00:00
Filip Navara
2d63dae1d9
Set the palette for image list DIBs that has 8 or less bits per
...
pixel.
2004-06-28 23:52:51 +00:00
Robert Shearman
41716ce9c1
Start of balloon tip support.
2004-06-28 23:52:37 +00:00
Robert Shearman
5c5a0608e5
- Clean up the mask drawing code.
...
- Improve bitmap not found message.
2004-06-28 20:29:00 +00:00
Jon Griffiths
438bf11a7d
Implemented TCM_SETITEMEXTRA.
2004-06-04 18:11:03 +00:00
Dimitrie O. Paun
4b6ed4ed84
Clear the state image bits only if LVS_EX_CHECKBOXES is set.
...
Fix obvious logical error in focus handling.
Indentation and formatting fixes.
(based on a patch by Krishna Murthy).
2004-06-04 17:58:29 +00:00
Ulrich Czekalla
0178c1116b
Handle case when item text is empty.
...
According to MSDN, length should be returned when lParam is NULL.
2004-06-02 21:34:05 +00:00
Robert Shearman
b81934c2c7
Don't draw whole button pressed when separate dropdown pressed, just
...
the separate dropdown itself.
2004-06-02 00:36:00 +00:00
Ivan Leo Puoti
3e42f6953e
Changed my name, so update copyright info.
2004-05-27 02:25:13 +00:00
Robert Shearman
01a528817c
- TBN_DRAGOUT and NM_RDBLCLK notifications.
...
- Remove unneeded member of private toolbar struct.
2004-05-18 00:44:47 +00:00
Patrik Stridvall
36eb79144a
StrSpnW doesn't exist in comctl32.dll but StrCSpnW does.
2004-05-17 20:51:27 +00:00
Filip Navara
c8aba95f50
- Let the subclassing stack grow the opposite way to make the code
...
more transparent.
- Remove SubclassWndProc and move its logic to DefSubclassProc.
2004-05-17 19:48:24 +00:00
Maxime Bellengé
7c46a5eaa5
Add DT_END_ELLIPSIS as defaut style for text.
2004-05-12 23:03:03 +00:00
Ulrich Czekalla
fc9be6a599
Handle case where iterator range contains 0 elements.
2004-05-11 22:16:54 +00:00
Maxime Bellengé
d19e264640
Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet
...
styles.
2004-05-10 21:26:04 +00:00
Ilya Korniyko
4943881d28
Encoding fixes in Ukrainian translation.
2004-05-10 19:54:10 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Maxime Bellengé
7507ad2ac5
Add NM_RCLICK notification support for toolbars.
2004-05-04 02:54:11 +00:00
Maxime Bellengé
199877a6d7
Fix the size of the listview items in the customize dialog.
2004-05-03 20:05:43 +00:00
Ge van Geldorp
73d8c97f12
Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize.
2004-05-02 04:21:48 +00:00
Maxime Bellengé
ee1c578017
Fix TB_GETSTYLE message to return the style of the toolbar and not the
...
style of a button.
2004-05-02 04:21:01 +00:00
Huw Davies
7e1d83ee70
Implemented TVS_NOSCROLL.
2004-05-02 04:20:06 +00:00
Ilya Korniyko
1c279bfd89
Added Ukrainian translations.
2004-04-26 23:35:17 +00:00
Huw Davies
69f2e04ff8
Deleting column zero should only delete the column and not the item
...
data.
2004-04-21 22:25:04 +00:00
Krzysztof Foltman
c401aa84eb
- next/prev month don't stick anymore
...
- min/max ranges initialized to some reasonable values
- fixed some bugs caused by reversed order of arguments of MONTHCAL_CopyTime
- update current month/year after setting current date
- changing months etc doesn't send MCN_SELECT (which could be sent
only after a particular day was clicked)
- changed (hit && MCHT_CALENDARDATE) to (hit == MCHT_CALENDARDATE)
2004-04-21 22:24:09 +00:00
Krzysztof Foltman
3ae8f73caf
- make monthcal a child of datetime (it was a sibling before, causing
...
completely incorrect message flow)
- update monthcal after date change in datetime
- choose different coordinates when DTS_SHOWNONE is not used
- embedded monthcal is now 200 pixels wide
- selecting a day in embedded monthcal updates the datetime and hides
the monthcal
- changing months/years by clicking month name/year in title bar works
- embedded month calendar is correctly destroyed (it used to stick on
the screen long after the datetime's container was closed)
2004-04-21 22:23:36 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Francois Gouget
ebf0eb3138
Make static Unicode strings const.
2004-04-20 00:34:52 +00:00
Robert Shearman
9509912e41
- Optimise accessing toolbar style by storing it in the TOOLBAR_INFO
...
structure.
- Replace {Get,Set}WindowLong by {Get,Set}WindowLongPtr where
appropriate.
2004-04-19 02:57:38 +00:00
Martin Fuchs
5307b3f598
Return TRUE for TVM_EXPAND if treeview item is already expanded.
2004-04-14 04:27:59 +00:00
Filip Navara
0c954aebbd
Force resize before calling RBN_HEIGHTCHANGE notification.
2004-04-14 04:27:16 +00:00
Huw Davies
8e106f2f7b
Fix dumb error from rev. 1.158.
2004-04-07 19:05:55 +00:00
Robert Shearman
e2d6529d9c
- Fix LButtonDown from previous change.
...
- Don't use BF_ADJUST flag for dropdown buttons.
- Fix LButtonDblClk.
2004-04-01 20:59:59 +00:00
Robert Shearman
83face5d3e
- TTM_TRACKACTIVATE can have NULL lParam when deactivating.
...
- Factor out common code from TOOLTIPS_DelTool{A,W}.
- Update all indices correctly after delete.
2004-04-01 20:59:31 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Robert Shearman
f92bb4b76a
- Add cursor resource.
...
- Implement TB_MOVEBUTTON.
- Implement drag customise.
- Send TBN_TOOLBARCHANGE and TBN_DELETINGBUTTON.
2004-03-23 23:04:08 +00:00
Mike McCormack
052144fd7b
Make sure the rebar size is above a minimum.
2004-03-19 19:14:30 +00:00
Robert Shearman
838a1ea09d
- Fix SetBitmapSize.
...
- Fix SetButtonInfo.
2004-03-18 04:01:02 +00:00
Robert Shearman
a49b8a5eed
- Documentation update.
...
- Better hot item handling.
- Fix DrawMasked to always use the right image list and bitmap index.
2004-03-17 20:46:57 +00:00
Filip Navara
ccd428e503
Support for RBBS_HIDETITLE style.
2004-03-16 19:14:30 +00:00
Huw Davies
75a1f6d0e9
When setting the buddy to 0 then we must still resize the updown
...
control.
2004-03-15 20:20:41 +00:00
Robert Shearman
7d22cc16d9
- Document completeness.
...
- Finish tooltip support.
2004-03-15 20:20:01 +00:00
Huw Davies
831098be33
Added CS_HREDRAW.
2004-03-15 20:10:32 +00:00
Robert Shearman
bc2520b3b7
- Unicode notification detection should be local to each tool.
...
- Implement TTN_GETDISPINFOW notification.
2004-03-15 20:10:00 +00:00
Robert Shearman
9eb33c82f3
- Honour WM_SETREDRAW.
...
- Fix all calls of InvalidateRect.
2004-03-15 20:06:33 +00:00
Mike McCormack
464e59f6a4
Make sure to take account of hidden bands during layout.
2004-03-13 19:24:29 +00:00
Juan Lang
9a3647a303
Prevent negative coords for line, turn off redraw when initializing,
...
document one difference in native/builtin behavior.
2004-03-13 19:24:04 +00:00
Robert Shearman
39689d715c
- Implement TB_LOADIMAGES, TB_MAPACCELERATOR{A,W}, TB_MARKBUTTON and
...
undocumented message 0x460.
- Better debug output of undocumented message 0x45D.
2004-03-13 19:23:41 +00:00
Robert Shearman
23983b8f83
- Add support for a toolbar global iListGap.
...
- Make TOOLBAR_CalcToolbar and TOOLBAR_DrawButton not rely on "magic
numbers" and calculate sizes and positions more like native.
2004-03-12 20:24:05 +00:00
Mike McCormack
18eda48e59
Don't calculate the redundant and unused REBAR_ROW structures.
2004-03-12 20:23:39 +00:00
Ulrich Czekalla
9b83d4d4dc
Fix rebar band insertion and non-client calculation in pager control.
2004-03-12 19:29:51 +00:00
Ge van Geldorp
c11d8b00d6
Explicitly ask for image list with screen depth as ILC_COLOR can/will
...
limit the depth to 4bpp now.
2004-03-11 22:46:51 +00:00
Robert Shearman
cf4c3348bb
Fix subclassing to support nested messages.
2004-03-11 22:38:22 +00:00
Robert Shearman
90323a1b8a
Rewrite drawing code.
2004-03-11 03:50:10 +00:00
Alexandre Julliard
cf8a25f0d7
Do not kill the animation thread with TerminateThread, let it finish
...
properly.
Fixed a couple of races with the animation thread.
2004-03-11 00:41:07 +00:00
Robert Shearman
3c6956d3ea
Spelling fixes.
2004-03-11 00:39:53 +00:00
Robert Shearman
9e4771fedc
- Document control completeness.
...
- Remove unneeded include.
- Fix TEXT define.
- Fix tabs.
- Small optimisation in DrawInsert.
2004-03-11 00:38:44 +00:00
Robert Shearman
dd72963949
- Implement the drag list control.
...
- Fix tabs in LBItemFromPt.
2004-03-09 23:26:44 +00:00
Robert Shearman
490fbd84fb
Don't allocate space for text when nMaxTextRows = 0.
2004-03-07 03:13:26 +00:00
Robert Shearman
cc08578577
- Support custom check background.
...
- Reduce number of parameters needed for DrawString function.
2004-03-03 05:26:01 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Vitaliy Margolen
c03dabb2fe
Adjust all dimensions to match native.
...
Invalidate whole tab area when multi-line.
In vertical tab placement go from top to bottom.
Fix annoying visual artifacts.
2004-03-02 04:52:35 +00:00
Steve Lustbader
a752885c3d
Handle the firstVisible item being NULL in
...
TREEVIEW_UpdateScrollBars().
2004-03-01 23:10:52 +00:00
Robert Shearman
57cc6f58ba
Update common control function documentation.
2004-02-27 04:40:08 +00:00
Matt Chapman
766fc7cc9c
REBAR_Layout should respect the minimum size of bands even when
...
RBBS_FIXEDSIZE is not set.
2004-02-27 04:32:54 +00:00
Matt Chapman
cc5d49f8cb
REBAR_ShowBand needs to force layout of the rebar after a band is
...
hidden/unhidden.
2004-02-27 00:43:04 +00:00
Matt Chapman
c286ca06a0
Fix a reentrancy issue in the property sheet implementation by not
...
caching a pointer that can change.
2004-02-25 01:24:22 +00:00
Christian Costa
1fba717981
Accept null module instance, Loadstring can handle it.
2004-02-24 01:04:27 +00:00
Maxime Bellengé
820aa3762f
Fix a regression in ImageList_Create when creating a dibsection.
2004-02-24 00:58:59 +00:00
Alexandre Julliard
f310fdf3a0
Removed a couple of unneeded helper functions.
2004-02-20 19:58:39 +00:00
Ulrich Czekalla
5a864b2f70
Use dibsections for the images.
2004-02-20 19:57:09 +00:00
Huw Davies
9af2de85ea
If TBSTYLE_EX_HIDECLIPPEDBUTTONS is set then invalidate the area that
...
changes in a resize.
Don't call SWP unless we're actually adjusting anything.
2004-02-20 19:56:52 +00:00
Robert Shearman
64d68b106a
- Implement string functions in comctl32.
...
- Use CompareString in shlwapi wherever possible instead of ugly
helpers.
2004-02-20 05:16:37 +00:00
Dimitrie O. Paun
e879638d36
LVN_BEGINRDRAG is implemented now. Fix typo.
2004-02-20 05:12:49 +00:00
Aric Stewart
d240ae8d62
Implemented LISTVIEW_ApproximateViewRect for LVS_REPORT.
2004-02-20 01:05:39 +00:00
Fabian Cenedese
7142a4e0b2
ListView should behave in OWNERDRAW as in FULLROWSELECT. This allows
...
to select cells not in the first column in REPORT mode with OWNERDRAW
style set.
2004-02-17 22:47:51 +00:00
Robert Shearman
997ce1926e
Forward some wrapper functions since we don't care about compatibility
...
with Win98 in this case.
2004-02-17 22:47:21 +00:00
Robert Shearman
187c8b71ce
Move string functions to separate file.
2004-02-17 21:02:18 +00:00
Robert Shearman
41596e8031
- Fix some traces.
...
- The TBM_GET*HOTLIST functions take imagelist ID in wParam.
- Implement TBM_GETSTRING{A,W}.
- Implement undocumented 0x462 message.
2004-02-17 20:28:19 +00:00
Robert Shearman
524cad7413
Documentation update.
2004-02-17 20:23:05 +00:00
Mike Hearn
d04f253aa9
Grow the treeview control expander button by 1px in each direction to
...
match the native look.
2004-02-16 22:19:29 +00:00
Aric Stewart
e56178d9d5
Work toward properly updating the SelectionMark when the selected
...
state changed inside a listbox.
2004-02-13 22:40:37 +00:00
Huw Davies
d9558dbd19
Fix a TRACE.
2004-02-12 20:06:04 +00:00
Huw Davies
951b0a2271
Only redraw button in PressButton and Indeterminate if its state has
...
changed.
2004-02-11 05:26:30 +00:00
Huw Davies
e722167e0d
Honour TB_SETMAXTEXTROWS.
2004-02-11 04:02:29 +00:00
Ulrich Czekalla
54b6ccd501
Add support for BTNS_WHOLEDROPDOWN.
...
Populate button rect when sending TBN_DROPDOWN.
2004-02-10 20:08:45 +00:00
Dmitry Timoshkov
e6f01981fc
Add partial support for some undocumented toolbar messages.
2004-02-10 01:34:47 +00:00
Francois Gouget
ad5ff7ceeb
Assorted spelling and case fixes.
2004-02-09 22:07:42 +00:00
Huw Davies
a1edb9204f
TB_ADDBUTTONS can pass a string ptr instead of an index.
...
TB_GETBUTTONINFO only returns a string if it's not in the internal
string list.
2004-02-09 21:47:01 +00:00
Huw Davies
89ef25e218
Use the BTNS_* toolbar button style defines rather than the outdated
...
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Huw Davies
6b27cde3a2
Add a missing return.
2004-02-07 01:28:10 +00:00
Vitaliy Margolen
a6637ddb5d
- Fix handling of TCS_RAGGEDRIGHT style.
...
- Clip UpDown control only if it is present.
- Add ToDos.
2004-02-07 01:02:03 +00:00
Robert Shearman
436145e975
Fix nGrow initialization in DPA_CreateEx.
2004-02-06 05:16:32 +00:00
Jon Griffiths
ed39e7c039
Draw disabled toolbar buttons correctly.
2004-02-03 00:08:34 +00:00
Ulrich Czekalla
710bd6fb6a
We should forward WM_COMMAND notification to the active page for any
...
additional non-standard controls in the property sheet frame.
2004-01-27 20:11:05 +00:00
Francois Gouget
231fbff8d0
Add trailing '\n's to ok() calls.
2004-01-27 04:01:10 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Alexandre Julliard
4e47ccb490
There is no need for a private heap in comctl32, memory allocations
...
should go to the standard process heap (reported by Ge van Geldorp).
2004-01-26 20:23:08 +00:00
Alexandre Julliard
d07c1004e3
Moved a few remaining 16-bit definitions out of the standard headers.
2004-01-23 22:51:41 +00:00
Huw Davies
d21266ad74
The tab control should be multiline.
2004-01-23 20:47:11 +00:00
Ge van Geldorp
adeaa30555
Discard mouse button up events if no button is currently pressed.
2004-01-23 20:46:47 +00:00
Ge van Geldorp
0472291e4c
Generate all binary resources using bin2res.
2004-01-23 02:11:53 +00:00
Huw Davies
84e7547ef1
Move the selection to the previous sibling if it can't go to the next
...
or the parent.
Fix the selection change logic.
2004-01-21 22:16:02 +00:00
Francois Gouget
a5aa8dc1d0
DPA_Create is missing from all recent import libraries so use
...
GetProcAddress to load it.
Add '\n' to 'ok' calls.
2004-01-19 21:47:35 +00:00
Francois Gouget
4cd80a3637
Add trailing '\n's to ok() calls.
2004-01-19 21:43:43 +00:00
Vincent Béron
7b11e537b0
Get rid of a W->A cross call in ImageList_LoadImageW.
2004-01-16 02:01:46 +00:00
Francois Gouget
eb10f347e6
Fix a race that caused the Microsoft Viewers 'file extraction'
...
animation to sometimes have a pink background.
2004-01-13 05:07:56 +00:00
Alexandre Julliard
502f6c5634
Removed incorrect uses of DUMMYUNIONNAME.
2004-01-07 00:47:35 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Mike McCormack
2de64d4b08
On a RB_SETBANDINFO message only redraw the rebar if something
...
changed.
2004-01-02 20:46:05 +00:00
Duane Clark
88c25c86e5
Reinitialize thumb when trackbar size is changed.
2003-12-30 19:10:15 +00:00
Mike Hearn
a25b352f47
Remove flat scrollbar stub fixmes.
2003-12-13 01:33:51 +00:00
Vik Kumar
7ad932efda
Added Japanese translation.
2003-12-12 05:57:22 +00:00
Jon Griffiths
b56583ec1a
Don't call GetWindowLong for every comparison while sorting.
2003-12-10 00:37:14 +00:00
Jon Griffiths
0e04023b91
Added Thai translation.
2003-12-04 04:46:13 +00:00
Vitaliy Margolen
036dcf167e
- Fix drawing of HotTracked tabs & buttons.
...
- More tab size fixes in different styles.
- Don't use new padding until style changes.
- Fix left alignment of labels &| icons.
- Don't draw over UpDown control.
- Fully erase tabs when scrolling.
- More tests.
2003-12-02 03:31:44 +00:00
Dmitry Timoshkov
2964888d05
A general cleanup of the version resources in Wine DLLs.
2003-11-30 05:59:29 +00:00
Huw Davies
6cfbf89529
Merge {Set,Insert}Item[AW] to {Set,Insert}ItemT.
2003-11-27 01:11:01 +00:00
Ulrich Czekalla
1afef2c732
In TREEVIEW_EnsureVisible handle case where firstVisible is NULL.
2003-11-27 00:55:18 +00:00
Huw Davies
96b9057097
Merge GetItem[AW] into GetItemT.
2003-11-26 22:26:19 +00:00
Aric Stewart
d78dfc8e44
Redraw if bold state changes.
2003-11-26 22:07:17 +00:00
Robert Shearman
7d6afc5ddc
- Add support for TBSTYLE_EX_MIXEDBUTTONS.
...
- Add support for TBSTYLE_EX_HIDECLIPPEDBUTTONS.
- Replace 'magic numbers' with #define'd constants.
- Fix TBN_INITCUSTOMIZE.
- Add support for TBN_CUSTHELP and TBN_RESET.
- Fix TB_SETEXTENDEDSTYLE (it appears it should or the new style,
rather than set).
- Fix TB_SETSTYLE (this is meant to be for setting the control style,
not the button style).
2003-11-26 22:05:02 +00:00
Ulrich Czekalla
12f7a36132
Always recompute an item's text width in the case of text callbacks
...
and when its attributes change.
2003-11-26 22:03:58 +00:00
Huw Davies
5693ecd212
Unicodification. Based on a patch by Aric Stewart.
2003-11-26 03:37:30 +00:00
Rein Klazes
8ba9b5fc7e
Use button face color for the image mask when adding a bitmap to the
...
toolbar, not the color of the top left pixel of the image.
2003-11-25 01:45:50 +00:00
Rein Klazes
7f7cde0eee
Fix some confusion between number of bitmaps and number of buttons in
...
TOOLBAR_ReplaceBitmap().
2003-11-21 21:30:48 +00:00
Huw Davies
4a8e33954e
We need to send TVN_EXPAND* on collapsing either when the user has
...
initiated it with the mouse/keybaord or in response to a TVM_EXPAND
when the state is not TVIS_EXPANDEDONCE. This brings the logic into
line with TREEVIEW_Expand.
2003-11-21 21:30:20 +00:00
Dimitrie O. Paun
c594043316
Make the controls send notifications to the parent window passed to
...
them in CREATESTRUCT. Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Dimitrie O. Paun
6443ee58bc
Cleanup the edit wndproc a bit.
2003-11-20 04:19:59 +00:00
Dimitrie O. Paun
e5762652d2
Remove some dead code: hwndParent is not used anywhere.
2003-11-20 04:19:41 +00:00
Ivan Leo Murray-Smith
15a9d28707
Added/updated Italian resources.
2003-11-19 02:14:44 +00:00
Huw Davies
a63270f183
Unswap Page Up & Down and fix TBS_DOWNISLEFT.
...
NM_* notifications go via WM_NOTIFY not WN_?SCROLL.
Pull the notification window from the CreateStruct.
Send a TB_THUMBPOSITION at the end of a drag.
2003-11-18 19:39:40 +00:00
Rein Klazes
b76e883344
The LVN_GETDISPINFO notify message should point to the same iSubItem
...
as in the call to LISTVIEW_GetItemT, valid or not. Fix a badly placed
brace.
2003-11-18 19:38:30 +00:00
Aric Stewart
89ba8760f3
We need to make sure that customdraw_fill is called even if
...
CDRF_NOTIFYITEMDRAW is not being used because we used the text and
background colors from that struct later.
2003-11-18 00:04:27 +00:00
Rein Klazes
7b6b9d6e93
Ignore invalid iSubItem in LISTVIEW_GetItemT().
2003-11-17 20:01:49 +00:00
Huw Davies
83e9fd8513
Implemented LVS_EX_CHECKBOXES.
2003-11-13 20:50:25 +00:00
Dmitry Timoshkov
d6872aff18
Avoid setting infoPtr->firstVisible to NULL in TREEVIEW_Sort.
2003-11-13 20:49:00 +00:00
Huw Davies
50c9ff030f
Fix some weird logic in ImageList_Write.
2003-11-12 22:41:44 +00:00
Huw Davies
ac24a0a692
A multicolumn listview should get a customdraw notification for the
...
item as well as one for subitem 0.
2003-11-12 22:41:27 +00:00
Huw Davies
818c5861c4
Add support for LVS_EX_SUBITEMIMAGES.
2003-11-11 00:26:15 +00:00
Robert Shearman
fc58ef8119
Added chevron support.
2003-11-09 00:28:24 +00:00
Huw Davies
a7c4fa8119
ReleaseCapture on lbuttondown if the cursor is outside an item, just
...
like the native one does.
2003-11-09 00:27:20 +00:00
Huw Davies
4de17c3724
LISTVIEW_GetSubItemRect should succeed if subitem == 0 whatever mode
...
the listview is in.
2003-11-05 00:35:57 +00:00
Rein Klazes
56121b7161
Correctly place a toolbar with CCS_BOTTOM style at the bottom, not the
...
top.
2003-11-05 00:35:28 +00:00
Huw Davies
e63e39f2c5
PropSheetPageProc callback should always have hwnd = 0.
2003-11-04 04:23:00 +00:00
Alexandre Julliard
55cb8177b5
Authors: Ulrich Czekalla <ulrich@codeweavers.com>, Huw Davies <huw@codeweavers.com>
...
Added drag and drop support to listview.
2003-11-04 04:22:37 +00:00
Huw Davies
3ce815e7f3
Fix a fixme.
2003-11-04 04:22:07 +00:00
Huw Davies
f94159cdb2
Don't get confused if PSN_SETACTIVE returns a positive number that
...
isn't a resource id.
2003-11-03 22:15:39 +00:00
Huw Davies
b37adfb4b5
Make the listview send its notifications to the parent window passed
...
to it in CREATESTRUCT. Based on a treeview patch by Igor Grahek.
2003-11-03 22:15:22 +00:00
Robert Shearman
90f3057b41
- Use the style returned in custom draw structure to draw the button,
...
as apps may modify the style this way.
- Disabled buttons can become hot.
- Retrieve image list for drawing after getting image list ID (in
I_IMAGECALLBACK case).
2003-10-31 00:08:39 +00:00
Vitaliy Margolen
785bae8aae
- Fix tab size for TCS_OWNERDRAWFIXED style.
...
- Correct size recalculation after setting tab width.
- Fix button sizes to match native.
- Center both vertically and horizontally tab text & icon.
- Use correct left/center alignment flags.
2003-10-31 00:06:42 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Hans Leidekker
a2977cf5b8
Added Dutch translations.
2003-10-27 22:04:36 +00:00
Robert Shearman
fad1e1108e
Don't store band text if "" is passed into SetBandInfo.
2003-10-24 04:18:42 +00:00
Maxime Bellengé
ed3847247e
Fix TAB_DeleteItem and TAB_DeleteAllItems regressions introduced by
...
the last TAB_InvalidateTabArea changes.
Correct the indentation for these functions.
2003-10-21 23:44:03 +00:00
Mike McCormack
8a6ca5ad3f
Don't use free'd pointer in status control - found by Valgrind.
2003-10-21 23:43:14 +00:00
Adam Gundy
c2d90611f6
Only send TVN_ITEMEXPANDING for items marked as having children.
2003-10-15 21:01:54 +00:00
Maxime Bellengé
5b99b3df29
- Implemented HEADER_SetBitmapMargin and HEADER_GetBitmapMargin.
...
- Get rid of some magic numbers in HEADER_DrawItem.
- Fixed the drawing of images from imagelist when the
HDF_BITMAP_ON_RIGHT flag is set.
2003-10-14 20:13:42 +00:00
Maxime Bellengé
8147ee1095
Only redraw the necessary area of the tab component and not the whole
...
component like windows does.
2003-10-14 20:12:05 +00:00
Vitaliy Margolen
bd7bdbce3f
Fix setting size of tab control.
2003-10-14 01:16:16 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Daniel Marmier
ee1eb63b31
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-07 03:30:47 +00:00
Dimitrie O. Paun
54e6b0d938
Extract binary resources to files, to fit the standard.
2003-10-03 05:01:33 +00:00
Pavel Roskin
5b7f03cf9f
Ignore window caption from PROPSHEETHEADER in wizards. Update window
...
caption when changing pages.
2003-10-02 04:26:53 +00:00
Dimitrie O. Paun
7de279a73a
Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}.
2003-09-22 21:32:33 +00:00
Vincent Béron
bf5f07a5b4
Yet another batch of French resources updates.
2003-09-22 21:16:56 +00:00
Maxime Bellengé
e5cd5a778a
When an item is activated, we should send a NMITEMACTIVATE struct and
...
not a NMHDR one.
2003-09-22 19:27:33 +00:00
Alexandre Julliard
10aacbf3ef
Renamed the COMCTL32_* functions to use the exported name.
2003-09-17 22:42:04 +00:00
Alexandre Julliard
f5cb3dde17
Moved undocumented functions out of the exported commctrl.h.
2003-09-17 20:15:21 +00:00
Alexandre Julliard
1084a8ba93
Moved out of windef.h a few definitions that don't belong there
...
(reported by Filip Navara).
2003-09-17 04:31:27 +00:00
Alexandre Julliard
9d61596624
SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara).
2003-09-17 04:28:28 +00:00
Filip Navara
2773106058
Fixed definitions of TTTOOLINFOA/W_V1_SIZE and
...
REBARBANDINFOA/W_V3_SIZE.
2003-09-16 01:17:25 +00:00
Robert Shearman
d973bfb1c1
- Make sure dropdown arrow is always centered.
...
- Add support for the TBNRF_HIDEHELP customization flag, but emit a
FIXME when it isn't present.
2003-09-12 00:21:57 +00:00
Robert Shearman
5dbf835b43
Add proper names to ordinal-only functions.
2003-09-11 01:04:24 +00:00
György 'Nog' Jeney
80428c4c9d
Fix invalid C constructs (spotted by Marcus Meissner).
2003-09-11 01:03:27 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dimitrie O. Paun
6d0019fb0e
Adjust selection ranges before we insert the item so we don't mix the
...
new selection with the existing ones (reported by Eric Pouech).
2003-09-04 19:38:44 +00:00
Stefan Leichter
c7a539d8e1
Updated minor version number.
2003-09-04 00:04:16 +00:00
Kevin Groeneveld
3219ae74fb
Change default range of up-down control to match range used in
...
window.
2003-09-02 23:05:21 +00:00
Maxime Bellengé
bcd1222650
Implemented TAB_SetMinTabWidth and TAB_HighlightItem.
2003-09-02 00:56:43 +00:00
Dimitrie O. Paun
dad477ce3f
If we don't send custom draw messages for subitems, inherit the color
...
& text attributes of the main item.
2003-09-01 23:55:33 +00:00
Rok Mandeljc
d4c1ebabdb
Minor updates of Slovenian translations.
2003-08-29 22:21:43 +00:00
Mike Hearn
b79fc16577
Avoid division by zero when the imagelist is created with a width of
...
zero (ie no images).
2003-08-29 22:10:25 +00:00
Duane Clark
78cd28793a
Button width should be the larger of text width/bitmap width.
2003-08-27 23:11:35 +00:00
Dimitrie O. Paun
31d4a7c47f
Always setup the selection colour, not just in custom draw.
2003-08-25 23:44:51 +00:00
Dimitrie O. Paun
2fb93f1b85
Fix the hit test for full row select in REPORT mode (found, debugged,
...
and tested by Eric Pouech).
2003-08-25 00:53:11 +00:00
Maxime Bellengé
cb1c112dd6
Fix the creation of treeview with checkboxes.
2003-08-23 23:18:48 +00:00
José Manuel Ferrer Ortiz
5069edc2de
More Spanish translations.
2003-08-23 23:04:49 +00:00
Filip Navara
1ccaaa1a82
Fixed prototypes of CreateStatusWindowA/W, ImageList_Copy,
...
ImageList_EndDrag, ImageList_SetImageCount.
2003-08-22 23:51:15 +00:00
Maxime Bellengé
3db30e376c
Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown.
2003-08-19 00:57:08 +00:00
Maxime Bellengé
fb39442d7f
Fix things broken by the last TREEVIEW_UpdateDispInfo patch.
2003-08-18 19:46:31 +00:00
Maxime Bellengé
305fda2ef8
Fix for TREEVIEW_UpdateDispInfo to test with the correct callbackMask.
2003-08-13 19:37:12 +00:00
Dmitry Timoshkov
4d1d5fd353
Accept SIZE_MAXIMIZED as one of statuses of MDI windows.
2003-08-11 18:42:47 +00:00
Duane Clark
0d5aae1a0d
Oops, back to hard coding initial thumb size until we figure out how
...
it really should work.
Fix the channel size/selection range for the TBS_ENABLESELRANGE
style.
One pixel tweaks in several spots.
2003-08-06 22:05:11 +00:00
Stephan BEUZE
767070203d
- Avoid division by zero in TRACKBAR_GetTicPos
...
- Manage negative range TRACKBAR_DrawOneTic
2003-08-05 18:25:26 +00:00
Duane Clark
9ebf12c36d
The initial size of the thumb depends on SM_CYCAPTION.
...
Correctly draw the thumb as in Windows.
The channel/thumb position also depends on TBS_NOTICKS.
The first and last tic marks should be inset from the channel length
by half the thumb width.
When TBS_BOTH style set, make sure to draw both sets of tics.
2003-08-02 00:44:00 +00:00
Stefan Haller
43858e4d0d
Ignoring LISTVIEW_ScrollColumns() request if no columns in list.
2003-07-24 00:03:13 +00:00
Martin Fuchs
bb40b30640
Send TVN_ITEMEXPANDING when the user tries to expand a tree item
...
_before_ checking for child items.
2003-07-21 22:04:42 +00:00
Mike McCormack
ec0d425278
Set defaults for the Next/Prev button.
2003-07-21 20:01:59 +00:00
Francois Gouget
56aaea2f43
Spelling fixes.
2003-07-09 02:52:57 +00:00
Mike McCormack
fc86392af8
Preserve A/W when creating propsheet dialogs.
2003-07-09 02:49:52 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Marcelo Duarte
de08661413
- Localization to Portuguese of Brazil
...
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Mike Hearn
d2b8e39b5c
- Unbreak vertical trackbars
...
- Make it more closely resemble the native control
- Add focus rectangle
- Misc fixes and cleanups
2003-06-16 19:39:27 +00:00
Robert Shearman
7614f27f3b
- Make button text centre correctly when dropdown arrow is present
...
- Centre dropdown arrow
2003-06-13 16:30:24 +00:00
Dimitrie O. Paun
36d0e2ba63
Align the text vertically in single line labels (spotted by BiGgUn).
2003-06-06 18:13:47 +00:00
Dimitrie O. Paun
bc9de0500e
Remove bFirstPain funky optimization, it is causing too much grief.
2003-06-04 20:19:11 +00:00
Maxime Bellengé
66855d4a22
Fix listview custom draw notification for CDDS_ITEMPREPAINT and
...
CDDS_SUBITEMPREPAINT messages.
2003-05-22 03:37:10 +00:00
Robert Shearman
f644c787ee
Update ordering on insertion of an item.
2003-05-22 03:34:54 +00:00
Dimitrie O. Paun
bb993e0127
Inserting column zero should not modify the main item (spotted by
...
Robert Shearman).
2003-05-21 18:25:10 +00:00
Uwe Bonnes
2c4fd4289c
New comctl32 test directory and test case for DPA_Search.
2003-05-15 23:58:48 +00:00
Uwe Bonnes
29ef801b40
DPA_Search: Handle DPAS_INSERTBEFORE on empty list.
2003-05-15 23:55:12 +00:00
Vitaliy Margolen
d8d12a0bca
Revert change for resizing buttons.
2003-05-13 23:38:01 +00:00
Ulrich Czekalla
535e0f6238
Fixed bad non-client calculation.
2003-05-13 22:05:50 +00:00
Huw Davies
89e2766fc7
Fix DTM_SETSYSTEMTIME.
...
Make the show/hide button actually do something.
Add support for the 'yyyy' format.
2003-05-13 22:04:40 +00:00
Vitaliy Margolen
32eb1c7354
Get rid of direct ImageList access hacks.
2003-05-13 03:36:54 +00:00
Vitaliy Margolen
e43edbd557
Rearrange members of HIMAGELIST to match Windows.
...
Reuse image and mask DCs.
2003-05-13 03:36:27 +00:00
Robert Shearman
c00aa9985a
Fix use of freed memory.
2003-05-13 00:30:10 +00:00
Huw Davies
130e21795c
Fixed a possible memory corruption.
...
Fixed a memory leak.
2003-05-12 03:19:35 +00:00
Stephan Beuze
442dd75420
Implemented Get/SetToolTips functions.
2003-05-11 03:44:13 +00:00
Alexandre Julliard
dd74d9d889
Ordinals 410-413 are the window subclassing functions.
2003-05-11 03:40:59 +00:00
Dimitrie O. Paun
c6e988eaa0
Fix custom draw for item 0.
2003-05-11 03:29:25 +00:00
Huw Davies
5594fcea74
Invalidate the window when the range is changed.
2003-05-11 02:38:05 +00:00
Igor Stepin
97b7bc1984
Added a lot of Russian translations.
2003-05-04 02:33:08 +00:00
Adam Gundy
a982259e3e
When items are inserted in a partially populated treeview, the first
...
visible item was not correctly updated.
The first visible item was sometimes used to calculate the location of
other items when it had been freed.
2003-05-02 20:15:36 +00:00
Adam Gundy
06d610ec9b
Check the mask flags in the item structure to determine how much
...
memory to read/write.
2003-05-02 20:14:33 +00:00
Mike Hearn
266a2f297e
Change return code comparison in AVI control (from patch by
...
stanleyg76@yahoo.com ).
2003-04-30 23:59:46 +00:00
Maxime Bellengé
0485fc19b6
Fix bounding rectangle computation for an ownerdraw tab.
2003-04-30 00:50:26 +00:00
Dimitrie O. Paun
dfdeaaf922
Generate custom draw notifications for ownerdraw listviews (based on a
...
patch by Maxime Bellengé).
Reorganize the custom draw code for better reuse.
2003-04-30 00:49:44 +00:00
Stephan BEUZE
8410e71fb5
Implemented message TCM_SETPADDING with the Dimitri's advice.
2003-04-27 20:34:30 +00:00
Maxime Bellengé
dcaf137736
Fix the computation of the trackbar's size.
2003-04-27 00:31:06 +00:00
Maxime Bellengé
5b44c77fb4
Remove the sending of NM_TOOLTIPSCREATED which is non existent under
...
Windows during the creation of the trackbar.
2003-04-26 02:07:43 +00:00
Vitaliy Margolen
4bddbe8b19
Fix buffer overflow in datetime.
2003-04-02 23:25:01 +00:00
Adam Gundy
9e3772f699
Zero initialize the reserved bytes in the toolbar details returned by
...
TOOLBAR_GetButton().
2003-04-02 23:19:45 +00:00
Vitaliy Margolen
1420acef09
Fix ImageList_Read - the root cause of ugly toolbar icons.
2003-04-02 23:18:17 +00:00
Mike Hearn
d0300d92e3
TreeView should not send two click notifications when bTrack is true.
2003-03-27 00:00:42 +00:00
Mike Hearn
b27587dd0a
TREEVIEW_GetItemA should ignore stateMask.
2003-03-26 23:35:50 +00:00
Mike Hearn
044a353161
Correct the check for changed treeview items, so item sets repaint
...
properly.
2003-03-26 01:22:10 +00:00
Dimitrie O. Paun
a50bd8117f
Send LVN_ODCACHEHINT notification for LVS_OWNERDATA style in all modes
...
(based on a patch by Vitaliy Margolen).
2003-03-24 19:28:50 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Jon Griffiths
cd4234aa49
Documentation updates.
2003-03-18 18:35:48 +00:00
Mike Hearn
c7b1874b54
Fix the tab height so the labels don't clip, and restore the offset
...
constant to what it was before.
2003-03-17 04:43:26 +00:00
Mike Hearn
22813d4634
Fix a typo.
2003-03-17 04:43:05 +00:00
Vitaliy Margolen
eded087e4e
Changes for Icon and SmallIcon modes:
...
- fix typo causing wrong scroll boundaries
- reverse mouse wheel scroll directions
- fix navigation with keyboard when auto arranged
2003-03-15 00:05:46 +00:00
Dimitrie O. Paun
d39af613a3
Spacing information is signed (debugged and fixed by Vitaliy
...
Margolen).
Decode spacing information in the window procedure.
Some spelling fixes.
2003-03-14 22:58:22 +00:00
Tony Lambregts
7ce3a5ad63
Replace DPRINTF with TRACE.
2003-03-14 04:11:17 +00:00
Mike Hearn
c6914b202a
- Reduced tab offset constant slightly to avoid clipping the label.
...
- Prevent label overdraw of updown control by reducing the width of
the invalidated region.
2003-03-12 20:14:12 +00:00
Mike Hearn
6b2d22a0f6
It's not just height that can be set to the default by passing zero to
...
TCM_SETITEMSIZE, but also width.
2003-03-10 19:04:13 +00:00
Adam Gundy
a4944ff123
TOOLBAR_AddBitmap() and TOOLBAR_ReplaceBitmap() are not supposed to
...
modify the bitmap - we call ImageList_AddMasked() which turns all
masked pixels black. Fixed by making a copy of the bitmap to give to
ImageList_AddMasked().
2003-03-07 23:02:46 +00:00
Adam Gundy
64eff97f51
When shifting the list's indices, we must not send notify messages if
...
we have to refocus. Item modification handlers are not supposed to be
called here.
2003-03-07 20:35:30 +00:00
Adam Gundy
1af319d9e2
PROPSHEET_CreateDialog() is documented to return -1 on failure, and
...
the dialog handle on success.
2003-03-07 20:29:58 +00:00
Tony Lambregts
e295d3996e
Janitorial. Get rid of W->A call.
2003-03-06 22:43:43 +00:00
Adam Gundy
292d8429ab
TREEVIEW_UpdateScrollBars() now copes with an empty tree.
2003-03-06 22:41:59 +00:00
Vitaliy Margolen
e6af4ec6bd
Fix invisible tabs in TabControls with fixed tab width.
2003-03-04 04:34:03 +00:00
Tim Segall
efa2b0c159
Accept either TVI_ROOT or NULL for the parent to imply sort the entire
...
tree.
2003-02-25 03:59:12 +00:00
Michael Stefaniuc
745a78f490
Remove some unreachable code.
2003-02-24 20:48:45 +00:00
Eric Pouech
a89063e3dc
Added handling for PSNRET_INVALID in PSN_APPLY notification.
2003-02-24 20:40:45 +00:00
Duane Clark
65a9f4daac
Support the undocumented behavior of deleting column zero.
2003-02-14 23:31:45 +00:00
Dimitrie O. Paun
00ccf38987
Correctly remember the first paint event, but delay item metrics
...
calculation until we actually have some items.
2003-02-14 19:24:11 +00:00
Gerald Pfeifer
820157b836
Avoid warnings caused by assert(...).
2003-02-12 21:28:04 +00:00
Dimitrie O. Paun
15e0657f6b
Compute matrix of first paint when we actually have some items
...
(problem first spotted & debugged by Duane Clark).
2003-02-11 22:17:31 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Alexandre Julliard
b4a4c05aed
Removed a few more #ifdef __WINE__.
2003-01-04 00:19:17 +00:00
Dimitrie O. Paun
cef5961d2b
Eliminate lots of __WINE__ conditionals from the headers.
2003-01-03 19:12:55 +00:00
Lionel Ulmer
5e36ae56b2
Check the value of the pfnCallback in addition to the callback bit.
2003-01-03 03:06:42 +00:00
Chris Morgan
fa93b446d0
Listview should scroll by at least one column, fixes bug where item
...
being wider than listview prevents any scrolling from occuring. Added
printing of the scroll code text during tracing of scroll functions.
2003-01-03 03:04:22 +00:00
Rein Klazes
0e162e4643
Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a
...
previously opened AVI clip when there isn't one.
2003-01-02 17:54:23 +00:00
Duane Clark
521aa7412d
Validate imagelists with christmas magic.
2003-01-02 17:51:13 +00:00
Duane Clark
3d2e380244
Report mode padding tweaks.
...
Fix to LISTVIEW_GetSubItemRect.
2002-12-23 02:02:06 +00:00
Rolf Kalbermatter
6c79930413
Add config.h/port.h to allow compilation/linking in MSVC.
...
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Robert Shearman
096becedd8
Implemented StrStrIW.
2002-12-13 23:25:59 +00:00
Rolf Kalbermatter
4f7ec6335c
Typo found by compiling with standard MSVC warning level.
2002-12-13 00:35:44 +00:00
Dimitrie O. Paun
9c50730354
Get rid of generic notification support in comctrl32. The MS docs were
...
misleading in that all controls send these notifications. They don't.
2002-12-10 19:07:59 +00:00
Dimitrie O. Paun
5720007370
- Plug a bunch of memory leaks.
...
- Make ranges_destroy behave more like free().
- Fix messed up indentation from tabs set to 4 chars.
- Updated the documentation.
2002-12-10 19:07:27 +00:00
Francois Gouget
3db0008552
Define PSH_WIZARD97 (problem reported by jaymz@free.fr).
2002-12-06 23:19:54 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Alexandre Julliard
18d029722f
Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
...
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Dimitrie O. Paun
d2e881d543
- Typesafe parameters from TREEVIEW_NotifyFormat.
...
- Rewrite TREEVIEW_NotifyFormat.
- Fix several invocations of TREEVIEW_SendTreeviewNotify.
2002-11-27 20:15:49 +00:00
Andreas Mohr
1e6258fca5
Added the missing cx member to the MyDLGITEMTEMPLATEEX struct.
2002-11-25 02:45:19 +00:00
Aric Stewart
eb56d81956
LVN_GETDISPINFO seems to always be Ansi.
2002-11-25 01:11:11 +00:00
Tisheng Chen
80a6620815
Added Simplified Chinese support.
2002-11-20 19:47:44 +00:00
Alexandre Julliard
bb0fd59674
Setting the horizontal scrollbar can change the values for the
...
vertical one so make sure we compute them separately.
2002-11-18 19:51:11 +00:00
Dimitrie O. Paun
0fe326c499
Use DeleteDC instead of DeleteObject to free HDCs (spotted by Dietrich
...
Teickner <Dietrich_Teickner@t-online.de>).
Clear the imagelist structure on deletion, as some stupid apps free
imagelists multiple times.
2002-11-18 19:45:22 +00:00
Ulrich Czekalla
fbf98737d2
- Add support for multiple image lists.
...
- Add TBN_INITCUSTOMIZE notification.
- Correctly populate TBN_QUERYDELETE.
- Support TBN_GETBUTTONINFOW.
2002-11-13 21:21:03 +00:00
Huw Davies
8d74ef1030
Check the return value of ImageList_GetImageInfo before adjusting the
...
size.
2002-11-13 19:39:09 +00:00
Rolf Kalbermatter
91befd6902
Fix some NULL dereferencing.
2002-11-11 22:19:42 +00:00
Dimitrie O. Paun
add721769b
Do not draw the text of the item being edited.
2002-11-06 22:32:00 +00:00
Dimitrie O. Paun
c6ff9064d0
Fix the 'jumping selection' bug ( #1108 ).
...
Misc small cleanups.
2002-11-06 22:01:56 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Carlos Lozano
5347222b23
lParam was not properly sent in COMBOEX_DrawItem.
2002-10-31 22:02:47 +00:00
Dimitrie O. Paun
40dab82a13
Append columns with large column indices.
2002-10-31 22:01:33 +00:00
Dmitry Timoshkov
601a3abec1
Fix some types and function prototypes according to Platform SDK
...
definitions.
2002-10-31 01:04:39 +00:00
Dimitrie O. Paun
4bbd7b3e26
Fix some treeview notification codes between ANSI/Unicode mode.
2002-10-31 00:54:53 +00:00
Rein Klazes
d9310e76c4
Fix for listview wheelmouse message handling.
2002-10-29 23:08:33 +00:00
Sander van Leeuwen
f9768f4792
Fixed font object leak in WM_SETFONT handler.
2002-10-29 21:28:37 +00:00
Dimitrie O. Paun
02af550a2a
Send the right notification code (A/W) depending on the Unicode
...
setting.
2002-10-29 21:25:35 +00:00
Alexandre Julliard
26a470e1f0
set_main_item: ignore meaningless bits in stateMask for LVS_OWNERDATA
...
instead of failing.
2002-10-28 21:21:42 +00:00
Dimitrie O. Paun
2d2e6acbbd
We should always have a main item in report mode.
2002-10-28 20:40:21 +00:00
Dimitrie O. Paun
7e12841030
Properly fill lParam in NMLISTVIEW.
2002-10-28 20:38:39 +00:00
Dimitrie O. Paun
173d40a493
Fix crash-inducing typo/thinko.
2002-10-28 20:38:03 +00:00
Dimitrie O. Paun
5574e750c5
Mark immutable objects as const. Fix inconsistent *-style.
2002-10-28 20:37:28 +00:00
Dimitrie O. Paun
f5221578f6
Add LVHITTESTINFO debug helper. More tracing.
2002-10-28 20:36:52 +00:00
Dimitrie O. Paun
17b97eb929
Despite what the docs say, we have to invalidate the list on
...
WM_SETREDRAW(TRUE).
2002-10-28 20:36:16 +00:00
Dimitrie O. Paun
ccc8f7dca9
Eliminate flicker when resizing, docs updates.
2002-10-28 20:35:44 +00:00
Dimitrie O. Paun
19a1c42386
Cleanup, and simplification of UpdateSize.
2002-10-28 20:35:09 +00:00
Dimitrie O. Paun
9a9fcab763
Handle focus item properly in SetItemCount.
2002-10-28 20:34:34 +00:00
Dimitrie O. Paun
f9e70d8b81
Remove only the necessary selections when setting the item count.
2002-10-28 20:34:00 +00:00
Dimitrie O. Paun
28a2f193a3
Rewrite of the SetItemCount: bugs got squashed,
...
LVSICF_{NOSCROLL,NOINVALIDATEALL} implemented.
2002-10-28 20:33:18 +00:00
Carlos
5803819971
lParam was not properly sent in TTM_ADDTOOLW.
2002-10-28 18:50:36 +00:00
Carlos
392defd3ef
lParam was not properly sent in CBEN_GETDISPINFOW.
2002-10-28 18:50:14 +00:00
Andreas Mohr
6e256c72fe
- fix some pselling
...
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Dimitrie O. Paun
5a11b009f1
Do not invalidate list on WM_SETREDRAW.
...
Update size info even if redrawing is disabled.
Trivial cleanups, and some tracing.
2002-10-25 03:21:25 +00:00
Dimitrie O. Paun
221398344e
We can avoid flicker on column resize only if it's left align.
2002-10-25 03:20:43 +00:00
Dimitrie O. Paun
fa5b29acd3
Always draw the main item in full row select.
2002-10-25 03:20:03 +00:00
Dimitrie O. Paun
f7441d00ed
Use iterators to render over the columns, in report mode.
2002-10-25 03:19:24 +00:00
Dimitrie O. Paun
863d6a87f5
Small iterator-over-range[s] cleanup.
2002-10-25 03:18:47 +00:00
Dimitrie O. Paun
83679e6b88
Eliminate most of the flicker when resizing columns.
...
More debug tracing.
2002-10-25 03:18:07 +00:00
Dimitrie O. Paun
ab97b86902
Fix subitem background color in full row select.
2002-10-25 03:17:36 +00:00
Dimitrie O. Paun
b14c82a8b8
We should callback for inexistent subitems.
...
Do not store callback items for subitems, even if we're asked to.
Small cleanup.
2002-10-25 03:17:04 +00:00
Dimitrie O. Paun
16db256923
Fix crash when computing the item width of a report with no columns.
...
Override custom draw bkgnd color for selection items.
Fill background for all items that have a bkgnd colour.
2002-10-25 03:16:26 +00:00
Dimitrie O. Paun
3520c83275
Keep autoarranging items until one is moved.
2002-10-25 03:15:51 +00:00
Dimitrie O. Paun
01e82f2b27
Abstract autoarranging decision to a helper function.
2002-10-25 03:15:18 +00:00
Dimitrie O. Paun
5b8361463d
Do not do screen work if refreshing is disabled.
...
Reimplement SetRedraw to cope with the changes.
2002-10-25 03:14:44 +00:00
Dimitrie O. Paun
c4e45d7f94
Rewrite the UpdateScroll function: simpler, faster.
...
Add debugging helper for SCROLLINFO.
Fix potential bug in debugging helpers.
2002-10-25 03:14:06 +00:00
Dimitrie O. Paun
89ab25a737
Avoid division by 0 by initializing the item size in on creation.
...
Rename update_icon_size to set_icon_size, fix parameters order.
Assorted cleanups.
2002-10-23 23:32:50 +00:00
Dimitrie O. Paun
5ffde298fe
Append to the end of the DPA, if insert index is too large.
2002-10-23 23:32:19 +00:00
Carlos
9fa51e4172
Fixed duplicated arrows in header control.
2002-10-23 23:31:35 +00:00
Dimitrie O. Paun
b894605987
Fix thinko that slipped in with the prev patch (reenables refresh).
...
Mark a few things that needs looking at.
Small cleanup.
2002-10-23 22:32:25 +00:00
Dimitrie O. Paun
9cdcd44eaa
Do not invalidate the window before the first paint job.
...
Assorted cleanups.
2002-10-23 22:31:47 +00:00
Dimitrie O. Paun
f7051c88ae
Use InvalidateItem instead of explicit InvalidateRect, it is cleaner,
...
and faster when redraw is disabled.
2002-10-23 22:31:13 +00:00
Dimitrie O. Paun
c093196c05
Transform the invalidation macros to proper functions.
2002-10-23 22:30:39 +00:00
Dimitrie O. Paun
bf46fab650
Delay some size computations until after first paint.
2002-10-23 22:29:47 +00:00
Rein Klazes
7d9b04dbe2
Reorganize the item size calculation (a bit simpler, and faster).
2002-10-23 22:28:44 +00:00
Rein Klazes
1fd077939f
Search through all items when LISTVIEW_FindItemW is called with
...
LVFI_PARAM flag.
2002-10-23 22:28:03 +00:00
Dimitrie O. Paun
bf761a331c
Delete the items if we actually own them.
2002-10-23 22:25:42 +00:00
Dimitrie O. Paun
8f15b6e6b3
Do not callback to the parent for lParam when in LVS_OWNERDATA.
...
Docs update.
2002-10-23 22:25:10 +00:00
Michael Stefaniuc
353529b2c8
- fix the "int format, HANDLE arg" type of warnings for comctl32
...
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc
85e40cf37a
Add casts to compile with -DSTRICT.
2002-10-23 20:58:33 +00:00
Dimitrie O. Paun
5acd96bb4e
Do not crash if callback text is not filled (behave like native).
...
Render report mode from top to bottom (easier on the eye).
Docs updates, type fixes, more traces.
2002-10-23 20:57:13 +00:00
Dimitrie O. Paun
6608328f76
Collect all bugs, missing features, etc in the header doc.
...
Minor cleanups.
2002-10-23 20:56:30 +00:00
Dimitrie O. Paun
9ff0da09ff
Do not autoarrange if we insert/delete from the end of the list.
2002-10-23 20:55:05 +00:00
Dimitrie O. Paun
c5da549d10
Rework SetItemPosition, bunch of bugs squashed in the process.
...
Complete icon alignment rewrite: cleaner, incremental, etc.
Completely avoid aligning all icons on every insert
- icon placement is incrementally computed now: it's fast.
Small cleanups, docs update, etc.
2002-10-23 20:54:23 +00:00
Dimitrie O. Paun
c5e2731939
Rename LISTVIEW_ITEM to ITEM_INFO for consistency.
...
Rename LISTVIEW_SUBITEM to SUBITEM_INFO for same reason.
Fix type in comment spotted by Bobby Bingham.
2002-10-23 20:53:42 +00:00
Patrik Stridvall
cf07e10017
Don't use wine/unicode.h in the header files, include it directly
...
where needed instead.
2002-10-23 20:20:59 +00:00
Michael Stefaniuc
f3d1893f80
Add needed casts for a "no warnings" compile of comctl32.
2002-10-23 20:19:22 +00:00
Christian Neumair
513eb2a24a
Collect all bugs, missing features, etc in the header doc.
2002-10-23 18:43:32 +00:00
Dimitrie O. Paun
d664540782
Bring header's height more inline with native's.
2002-10-22 00:41:45 +00:00
Dimitrie O. Paun
254e7484fa
DPAs can't have more than 0x8000 elements (fixed with lots of help
...
from Carlos <clozano@andago.com).
2002-10-21 19:54:06 +00:00
Dimitrie O. Paun
c7fbc1b2c9
No need to increment item size, it's already adjusted by DPA_SetPtr
...
(found, and fixed by Carlos <clozano@andago.com>).
2002-10-21 19:49:44 +00:00
Dimitrie O. Paun
6168b98176
Do not rely on HeapReAlloc to allocate a NULL pointer.
2002-10-21 19:49:12 +00:00
Dimitrie O. Paun
7888385d76
Rewrite DPA_InsertPtr in terms on DPA_SetPtr, so that it's simpler,
...
cleaner, and more correct.
It now expands the array to accomodate larger than current size
indexes.
2002-10-21 19:48:37 +00:00