Juha
2386917088
Improve WM_MOUSEWHEEL support for TabControl. Issue #41808 , patch by Alexander (Rouse_) Bagel.
2025-09-15 00:05:43 +03:00
Martin
b25b2ee1ba
LCL, Win32: Don't emulate GTK PageControl mouse-wheel under windows by default (make optional) 44ccd1b5f4
Issue #41808
2025-09-09 10:49:30 +02:00
Martin
f5987d2f9f
LCL-WS, Win32: While IME is active (and not custom handled) filter any WM_KeyUp that still come through. Issue #41755
...
- Known problem is WM_KeyUp for VK_Return which triggers EditDone and select all text.
- Other keys may be handled by some controls, and are meaningless when the IME handled them.
2025-08-25 10:03:36 +02:00
Juha
44ccd1b5f4
LCL-Win32: WM_MOUSEWHEEL support for TabControl. Issue #41808 , patch by Alexander (Rouse_) Bagel.
2025-08-24 10:39:02 +03:00
wp_xyz
758e2d084b
Graphics: Consistent behavior of the Arc method across widget sets. Issue #41782
2025-07-31 16:01:16 +02:00
wp_xyz
35ece202e8
Revert "* LCL/Graphics: Fix win32 widgetset Chord method overload with angle arguments to behave like all other widgetsets. Similar to issue #41748 . Update related comments in various include files."
...
This reverts commit 59dd9c21a0
.
2025-07-31 13:33:01 +02:00
Bart
dfb54acdae
Win32: fix WM_QUIT message causes an infinite loop. Patch by Michalgw. Issue #41608 .
2025-07-30 23:01:22 +02:00
Bart
769b7fdc4f
Win32: use class helper for TApplication instead of typecast hack. Part of issue #41567 .
2025-07-30 12:04:22 +02:00
Bart
047249a8f8
Win32: use class helper for TWinControl instead of typecast hack. Part of issue #41567 .
2025-07-30 11:54:33 +02:00
Bart
950b7a0f72
Win32: rename recently added class helpers, so their names better refelct their purpose. No functional changes. Part of issue #41567 .
2025-07-30 11:22:16 +02:00
Bart
52a346bb27
Win32: Add comments for recently added class helpers replacing typecast hacks. No functional changes. Part of issue #41567 .
2025-07-29 23:28:13 +02:00
Bart
6dd448b1e2
Win32: use class helper for TCustomListView instead of typecast hack. Part of issue #41567 .
2025-07-28 15:33:36 +02:00
Bart
a02acedfca
Win32: use class helper for TListColumn instead of typecast hack. Part of issue #41567 .
2025-07-28 13:32:14 +02:00
Bart
201d55bdd9
Win32: use class helper for TCustomBitBtn instead of typecast hack. Part of issue #41567 .
2025-07-28 13:23:03 +02:00
Bart
84589f3d33
Win32: use class helper for TStatusPanel instead of typecast hack. Part of issue #41567 .
2025-07-28 12:47:23 +02:00
Bart
69276c03b2
Win32: use class helper for TCustomPage instead of typecast hack. Part of issue #41567 .
2025-07-28 12:34:00 +02:00
Bart
6dfdef572d
Win32: fix typo in use class helper definition in commit 64aa817a
(no functional changes).
2025-07-28 11:35:26 +02:00
Bart
64aa817a50
Win32: use class helper for TCustomTaskDialog instead of typecast hack. Part of issue #41567 .
2025-07-26 17:35:08 +02:00
Martin
a3e9c04234
Revert "LCL, WS-Win32: skip WM_Move/Size with minimized values. In certain cases (DPI changes) windows sends the dummy minimize values (32000) as new pos/size. In the original WM_WindowPosChanged messaged those are marked as not to be used. Part of Issue #41448 "
...
This reverts commit 0ade8ab0a7
.
Those messages also occur in other cases, and then have an effect on the clientarea (e.g. scrollbar show/hide)
2025-07-19 22:09:59 +02:00
Martin
0ade8ab0a7
LCL, WS-Win32: skip WM_Move/Size with minimized values. In certain cases (DPI changes) windows sends the dummy minimize values (32000) as new pos/size. In the original WM_WindowPosChanged messaged those are marked as not to be used. Part of Issue #41448
2025-07-18 12:55:50 +02:00
Bart
7e7b41ca98
Win32: second attempt to refactor TWin32WSOpenDialog/TWin32WSSaveDialog.CreateHandle.
...
Let's hope I don't have to revert this one as well ;-)
2025-07-17 22:16:35 +02:00
Bart
08f783a09a
Win32: TWin32WSSavePictureDialog: setting FOS_FORCEPREVIEWPANEON on a Vista Save dialog has no effect, so don't force setting it.
2025-07-16 19:08:06 +02:00
Bart
8b87c6c294
Win32: if CoCreateInstance fails (Vista IFileDialog) for TOpenPictureDialog and TSavePictureDialog, use XP style fallback (if apllicable).
2025-07-16 18:16:11 +02:00
Bart
256b15ed8b
Win32: fix crash if CoCreateInstance fails (Vista IFileDialog) for TOpenPictureDialog and TSavePictureDialog. Similar to 1c7ecdbb
.
2025-07-16 18:05:45 +02:00
Bart
a5336962cc
Win32: fix WS registration of TSavePictureDialog. Issue #41765 .
2025-07-16 17:16:44 +02:00
Bart
df04887b85
Win32: partly revert f6261b54
(Win32: refactor TWin32WSOpenDialog/TWin32WSSaveDialog.CreateHandle/DestroyHandle.) Resolves issue #41760 .
2025-07-15 22:54:28 +02:00
wp_xyz
59dd9c21a0
* LCL/Graphics: Fix win32 widgetset Chord method overload with angle arguments to behave like all other widgetsets. Similar to issue #41748 . Update related comments in various include files.
2025-07-11 11:39:10 +02:00
wp_xyz
2fbf2c7787
LCL/Graphics: Fix compilation of win32 widgetset after previous commit.
2025-07-11 01:31:54 +02:00
wp_xyz
7b9621f234
LCL/Graphics: Fix win32 widgetset Arc method overload with angle arguments to behave like in all other widgetsets. Issue #41748 .
2025-07-11 00:42:00 +02:00
wp_xyz
9509e5aa8c
LCL/Graphics: Fix win32 WS not drawing incomplete continuous Bezier segments in PolyBezier. Do not copy points in overloaded procedure.
2025-07-09 18:07:38 +02:00
Martin
c604946f42
LCL: Reduce TListView flicker with Begin/EndUpdate. Removes SW_HIDE/SW_SHOW of the entire window. On XP adds WM_SETREDRAW for the header. Issue #41720
2025-06-22 19:36:31 +02:00
wp_xyz
630b9e7fe5
LCL/buttons: Fix incorrect measuring of text width in win32 buttons (single-line case), issue #41696
2025-06-19 09:57:06 +02:00
wp_xyz
81c8853fb6
LCL/buttons: Fix incorrect measuring of text width in win32 buttons, issue #41696
2025-06-15 10:24:42 +02:00
wp_xyz
18505ab603
LCL/win32/TButton: Don't word-wrap a single-line, too long caption.
2025-06-06 23:27:31 +02:00
wp_xyz
c648a3f54a
Fix usage of ampersand characters in button auto-sizing (see commit 95fd38692d
).
2025-06-05 14:15:29 +02:00
wp_xyz
95fd38692d
win32: Add multi-line support for TButton and TSpeedButton. Fix AutoSize of TToggleBox and for multi-lined buttons. Issue #41696 .
2025-06-04 19:24:06 +02:00
Lipinast Lekrisov
3636904959
Win32/WinCE: fixes in NotifyApplicationUserInput
2025-05-01 02:39:07 +03:00
Martin
92d902d141
Win32, LCL: fix crash of TWin32WSCustomShellTreeView on Win-XP.
2025-04-25 20:06:05 +02:00
Bart
79160f61db
Dialogs: remove TOpenOptionEx.ofForcePreviewPaneOn and move it's functionality to TOpenOption.ofAutoPreview.
2025-04-15 18:34:20 +02:00
Bart
126f2628d4
Win32: Fix crash in TWin32WSOpenDialog.DestroyHandle, caused by me in commit 7cfdbd74
.
2025-04-02 17:22:31 +02:00
Jesus Reyes A.
4d4d4060a3
LCL: fix TStringGrid OnKeyPress triggers twice at goEditing. Issue #41503
2025-03-27 18:20:42 -06:00
Martin
12afdd137b
Win32: Prevent Splitter from activating the "resize bar" window. Avoid focus changes to the form, or its components. Issue #41506 Patch by Lipinast Lekrisov
2025-03-10 00:18:10 +01:00
n7800
19319bf7de
Correction of dubious indentation in the code
2025-03-05 10:41:32 +00:00
Juha
28578a1e6a
LCL-Win32: Keep TTrayIcon helper window hidden. Issue #41279 , patch by Red_prig (Pavel).
2025-02-01 02:37:46 +02:00
mattias
fad6cd5192
lcl: win32: fixed change WindowState from wsMaximized to wsNormal when changing Constraints, issue #41325
2025-01-08 17:21:57 +01:00
Bart
7cfdbd74c8
Dialogs: implement TOpenOptionEx.ofUseXPStyleAsFallBack (obviously Windows only). Resolves issue #40298 .
2025-01-05 15:02:22 +01:00
Bart
f6261b5458
Win32: refactor TWin32WSOpenDialog/TWin32WSSaveDialog.CreateHandle/DestroyHandle.
2025-01-04 16:20:56 +01:00
Bart
1c7ecdbb56
Win32: fix crash if CoCreateInstance fails (Vista IFileDialog). OpenDialog.Execute will return False, no dialog is shown, as this is Delphi compatible. Part of issue #40298 .
2025-01-04 15:41:13 +01:00
Bart
43a9af055d
Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. Resolves issue #41301 .
2025-01-02 20:29:24 +01:00
Bart
7c3e5aa112
Win32: ifdef then const declaration of CC_ANYCOLOR for fpc < 3.3.1.
2024-12-10 18:26:39 +01:00