Commit Graph

1477 Commits (0a258964c28b0d1a09766ce7a00354fc5951278f)

Author SHA1 Message Date
Robert Shearman 847c81df89 Determine whether to do label edit before sending NM_CLICK. 2004-09-28 19:17:17 +00:00
Jon Griffiths f479f10660 Item height/expand button width must be >= than imagelist size.
Avoid a magic number, add FIXME for incorrect +/- drawing.
2004-09-28 02:35:48 +00:00
Robert Shearman ac5e454e2f - Implement WS_DISABLED style.
- Issue EN_CHANGE notification.
2004-09-25 00:30:08 +00:00
Robert Shearman 4790f82329 - Make the control look more like native by using the right font and
spacing.
- Use TextOutW rather than DrawTextW as we don't use any features of
  DrawTextW.
- Fix caret size and position.
- Implement WM_CHAR and WM_SYSCHAR messages.
2004-09-23 22:51:42 +00:00
Filip Navara 317d6c592a Fix obviously wrong condition in an "if" statement. 2004-09-23 22:51:29 +00:00
Filip Navara b6153a1165 Add note about unimplemented TB_SAVERESTORE message. 2004-09-23 22:51:14 +00:00
Dimitrie O. Paun 268f62f47d We now have ICC_LINK_CLASS. 2004-09-22 19:10:47 +00:00
Dimitrie O. Paun c26971c64c Cleanup W->A transition. 2004-09-22 19:10:27 +00:00
Robert Shearman 7cfe3c9ffc - Status update.
- Should create HOTKEY_INFO storage in WM_NCCREATE rather than in
  WM_CREATE so that we can also add the WS_EX_CLIENTEDGE style.
- Remove code that draws the client edge; it is already drawn by
  DefWindowProc.
2004-09-21 20:05:35 +00:00
Filip Navara 67c8cb28f9 - Implement PSM_INDEXTOID, PSM_INDEXTOPAGE and PSM_PAGETOINDEX messages.
- Partially implement the PSH_WIZARDCONTEXTHELP and PSH_NOCONTEXTHELP
  styles.
2004-09-20 19:13:36 +00:00
Robert Shearman 3c8fb21807 Document status of control against v6.0 of native version. 2004-09-20 19:10:43 +00:00
Robert Shearman 56b9d3c739 - Fix some TRACEs
- More A->W conversions missed by previous patch.
- Fix off-by-one error in validating drag-n-drop from available
  buttons list box to actual buttons list box.
- Unicode flag should be based on the notification window.
2004-09-20 19:10:05 +00:00
Robert Shearman f0509667e9 Use Unicode window messages. 2004-09-17 18:10:13 +00:00
Robert Shearman 6a4d392670 - Don't use TrackMouseEvents/WM_MOUSELEAVE API for handling the hot
button; use plain mouse capture instead like native.
- Return only HTTRANSPARENT/HTCLIENT from WM_NCHITTEST and remove
  associated hacks of WM_SETCURSOR, WM_NCLBUTTONDOWN and
  WM_NCLBUTTONUP.
- Refactor state change code so that state changes don't happen as
  side effects from messages such as WM_NCCALCSIZE, instead only from
  user input messages like WM_MOUSEMOVE.
2004-09-16 19:06:36 +00:00
Robert Shearman defcfc85db Use Unicode window messages. 2004-09-16 19:06:12 +00:00
Filip Navara 99423d4e48 Status update. 2004-09-14 01:06:44 +00:00
Robert Shearman d087c578b6 - Make customization list boxes into drag list boxes.
- Order available buttons in the same way as the native version.
2004-09-14 01:06:30 +00:00
Robert Shearman 3864956e7f - Clear data structure after dragging.
- WM_SETCURSOR does not need to be handled as it is not sent whilst
  the window is captured.
- Make uDragListMessage non-static so that we can re-use it
  elsewhere.
2004-09-14 01:06:11 +00:00
Robert Shearman b2499c9757 Set class hbrBackground and style to the same as native. 2004-09-14 00:45:26 +00:00
Robert Shearman 50c7fd4e85 - Set hbrBackground class property to same value as native.
- Use Unicode window functions instead of ANSI.
2004-09-14 00:44:38 +00:00
Robert Shearman 62d60b9b39 - Set hbrBackground class property to same value as native.
- Remove no longer needed WM_ERASEBKGND handler.
- Use Unicode window functions instead of ANSI.
2004-09-14 00:44:26 +00:00
Jon Griffiths 3772c73a6c CreateDCA -> CreateDCW 2004-09-13 23:22:30 +00:00
Filip Navara 043e27523d Fix resizing of wizards. 2004-09-13 23:19:51 +00:00
Vitaliy Margolen ba5d267b70 Make sure TreeView gets redrawn after calling EnsureVisible. 2004-09-13 19:17:35 +00:00
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