Commit Graph

1453 Commits

Author SHA1 Message Date
Filip Navara 8a8a66c328 Fill the area next to watermark bitmap with window color and subclass
exterior wizard pages to suppress drawing background.
2004-09-13 19:17:00 +00:00
Vitaliy Margolen 4cf764f503 Send correct tracing notification messages. 2004-09-13 18:05:02 +00:00
Filip Navara 4387895d86 Correct displaying of wizard subtitle. 2004-09-13 18:02:32 +00:00
Robert Shearman 8974541d6c - Status update.
- Remove no longer valid comment.
- Minor coding style cleanups.
2004-09-09 00:26:13 +00:00
Filip Navara 3b0aaea137 Do not distinguish exterior wizard pages by their position, but
instead expect that every page in wizard that doesn't have header is
exterior.
2004-09-08 21:47:03 +00:00
Robert Shearman 7bc76766cc Implement titles. 2004-09-07 20:43:44 +00:00
Robert Shearman e18a31eb4c Add 16x16 error, info and warning icons. 2004-09-07 20:43:30 +00:00
Filip Navara 32b23b3419 - Revert incorrect change to tab control resizing from revision 1.109.
- Move the property sheet resizing code from PROPSHEET_CreatePage to
  PROPSHEET_SetCurSel. It needs to be executed on every page change
  because the application can modify it during the notifications.
2004-09-07 20:28:14 +00:00
Filip Navara 002d91199a - Draw the Wizard97 header bitmaps before drawing the header strings.
- Center the header bitmap of the new Wizard97 correctly.
- Display the correct wizard title for any wizard type and do not
  change it for reqular property sheets.
2004-09-07 19:31:50 +00:00
Robert Shearman 8f870346cb - Obey TBCDRF_NOOFFSET for the button text.
- Make anchor highlighting behave more like native version.
- Don't recalculate toolbar in TOOLBAR_Unkwn460.
- Obey WM_SETREDRAW for the WM_ERASEBKGND message as well as
  WM_PAINT.
2004-09-06 21:26:25 +00:00
Kevin Koltzau c95959dc7f Fix bug with chained messages. 2004-09-06 20:26:04 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Ferenc Wagner e07e1ee547 Added \n to ok() strings in the imagelist tests. 2004-09-02 20:08:15 +00:00
Francois Gouget d661e1a2a9 MSVC does not like the typeof() in the function pointer declaration.
Fix a warning.
2004-08-31 17:32:43 +00:00
Filip Navara 335983ed91 Fix loading wizard title and subtitle from resources. 2004-08-30 18:39:32 +00:00
Robert Shearman 4d7892f886 TB_MARKITEM should redraw button. 2004-08-30 18:36:55 +00:00
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