Commit Graph

1389 Commits

Author SHA1 Message Date
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