Bart
8a60ec04de
TTaskDialog: partially implemented TTaskDialogProgressBar.Initialize.
2023-08-23 15:23:43 +02:00
Juha
211d95da17
LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them.
2023-07-03 11:17:01 +03:00
juha
c437ccab26
LCL: Change message numbers from decimal to hexadecimal. Issue #38938 , patch by CudaText man.
...
git-svn-id: trunk@65331 -
2021-06-30 22:04:13 +00:00
martin
0d724cb5bb
New InputManager code for gtk2 / Experimental / Issue #38730 / Patch by Do-wan Kim
...
git-svn-id: trunk@65174 -
2021-06-05 22:29:27 +00:00
juha
9219ea531d
Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
...
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
jesus
8ff1532ca9
LCL: fix dbcombobox editing, issue #33164
...
git-svn-id: trunk@58686 -
2018-08-08 17:40:19 +00:00
ondrej
6ed2b220f6
LCL: LM_GETDLGCODE: WParam is the pressed virtual key.
...
https://msdn.microsoft.com/library/windows/desktop/ms645425(v=vs.85).aspx
git-svn-id: trunk@58257 -
2018-06-14 09:50:51 +00:00
michl
0f9a80a4da
LCL: Win32: TPageControl, TTabControl: Fixed Tabs of PageControl flickers. Issue #33824
...
git-svn-id: trunk@58119 -
2018-06-04 10:33:24 +00:00
juha
f79dd3199d
LCL: Support horizontal mouse wheel messages. Issue #32753 , patch from AlexeyT.
...
git-svn-id: trunk@56642 -
2017-12-05 21:30:57 +00:00
mattias
b23ae69ab1
lcl: added constant LM_MOUSEHWHEEL
...
git-svn-id: trunk@56538 -
2017-11-30 12:00:16 +00:00
michl
f2599a9873
LCL: GetMessageName adding missed CM_ and CN_ messages
...
git-svn-id: trunk@56504 -
2017-11-27 11:50:02 +00:00
michl
583ac91a32
LCL: Missing message names for function GetMessageName added.
...
git-svn-id: trunk@56051 -
2017-10-13 22:52:19 +00:00
juha
a714a91311
LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
...
Organize uses-sections by package so that dependencies can be easier seen.
git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
ondrej
7f6a826e0c
win32: HighDPI: handle WM_DPICHANGED message
...
git-svn-id: trunk@53488 -
2016-11-30 21:26:13 +00:00
ondrej
23f31975f0
lcl: fix Linux compilation after r51821 #be5322bd6d, Issue #29766
...
git-svn-id: trunk@51822 -
2016-03-04 06:44:48 +00:00
ondrej
dfaba8f0d8
lcl: add WinHandle check into CheckMouseButtonDownUp in case AWinControl is nil. Issue #29769
...
git-svn-id: trunk@51803 -
2016-03-02 14:29:31 +00:00
ondrej
84a559fbad
lcl: unify multiclick mouse message handling for all widgetsets
...
git-svn-id: trunk@51722 -
2016-02-27 06:21:22 +00:00
juha
4b38ed7b2b
LCL: use constants in controlconsts.inc. Issue #26673 , patch from ocean.
...
git-svn-id: trunk@46216 -
2014-09-13 21:28:55 +00:00
mattias
db564054c4
LCL: added TControl.ParentVisibleChanged
...
git-svn-id: trunk@46184 -
2014-09-11 16:40:12 +00:00
juha
7b162087fd
Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
paul
68d65a2b2c
lcl: don't allow LCL to handle arrow keys of TCustomEdit descendants (fixes bug #0022191 ), handle WantTabs and WantReturn of TCustomMemo inside CM_WANTSPECIALKEY handler
...
git-svn-id: trunk@37689 -
2012-06-19 01:17:25 +00:00
paul
82e9d3f4ce
lcl: remove LM_DEACTIVATE message. In windows and in Delphi both activation and deactivation are handled by WM_ACTIVATE message. Better to do this merge in LCL before 1.0 to prevent later problems
...
git-svn-id: trunk@35518 -
2012-02-21 06:59:12 +00:00
sekelsenmat
2c0cc4c4d4
Reverts the previous removal of TLMouseEvent.State
...
git-svn-id: trunk@33114 -
2011-10-27 18:03:01 +00:00
sekelsenmat
73f0887e09
Fixes bug #20065 . Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
...
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
paul
061c206371
lcl: remove TLMNoPara, use TLMNoParams for TLMEnter, TLMExit (issue #0019134 )
...
git-svn-id: trunk@30375 -
2011-04-19 02:26:47 +00:00
paul
9b4a80bc9c
lcl: add delphi compatible messages by Stephano (issue #0019134 )
...
git-svn-id: trunk@30356 -
2011-04-18 02:33:18 +00:00
paul
af80e73948
lcl: implement TControl.DesktopFont, add support for CM_SYSFONTCHANGED
...
git-svn-id: trunk@29879 -
2011-03-17 02:31:57 +00:00
mattias
b0feaa262a
LCL: CM_DESIGNHITTEST is for custom controls and does not need to be implemented by the LCL
...
git-svn-id: trunk@27940 -
2010-10-29 07:34:20 +00:00
paul
a1e50cfc99
lcl: unmark cm_designhittest as unimplemented
...
git-svn-id: trunk@27939 -
2010-10-29 07:31:14 +00:00
paul
64f66bd4d7
lcl: send CM_MENUCHANGED and CM_TABSTOPCHANGED messages
...
git-svn-id: trunk@27937 -
2010-10-29 07:28:13 +00:00
zeljko
e6a8e1e2a4
LCL: reverted TLMMouse Keys to PtrInt.
...
Qt: fixed wrong cast in TQtTimer.Create(), cast to THandle(PtrUInt) instead to PtrInt, fixes crash on 32bit with -Cr
git-svn-id: trunk@27788 -
2010-10-21 10:53:10 +00:00
zeljko
28632554b9
LCL: TLMMouse.Keys:PtrInt becomes TLMMouse.Keys: PtrUInt to avoid range check errors.
...
Qt, Gtk2: added various type casts to avoid range check errors. Patches by Juha Manninen. fixes #17531
git-svn-id: trunk@27786 -
2010-10-21 10:32:41 +00:00
paul
35a4f8ad05
lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065 )
...
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
paul
a3dac0b6df
lcl: redo context menu message handling:
...
- when called by keyboard pass -1, -1 coords
- remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
- don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)
git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +00:00
paul
bc8f5f3d69
lcl: map LM_PAINT to WM_PAINT message number, don't perform any special handling if control has no doublebuffering and Message.DC = 0
...
win32: don't use doublebuffing and other hacks for TBitBtn wm_paint handler - pass the message to LCL as is (windows 7 glue is not visible on focused bit buttons, to be done for regular buttons too)
git-svn-id: trunk@25400 -
2010-05-14 09:55:36 +00:00
paul
eef0d16e78
lcl: fix LM_CONTEXTMENU handling - use another message structure (windows compatible). also hopefully fixes 64bit compilation (issue #0016000 )
...
git-svn-id: trunk@24011 -
2010-03-15 14:23:02 +00:00
paul
636477433b
lcl: map LM_CONTEXTMENU to WM_CONTEXTMENU value
...
git-svn-id: trunk@23176 -
2009-12-18 03:28:54 +00:00
paul
77f497ae43
lcl: map LM_TIMER to WM_TIMER code
...
git-svn-id: trunk@22691 -
2009-11-20 09:49:59 +00:00
paul
82ae075ca3
lcl: notify controls using message on FontChanged, and ParentFontChanged for delphi compatibility
...
git-svn-id: trunk@22196 -
2009-10-16 13:36:52 +00:00
paul
8140fd8755
lcl: add more extra mouse buttons support
...
git-svn-id: trunk@20536 -
2009-06-09 04:25:32 +00:00
paul
3f5dc06930
lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
...
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
3005b7d87f
lcl: add TApplication.ShowButtonGlyphs property and handle change
...
git-svn-id: trunk@19938 -
2009-05-12 08:02:36 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
fb4e50d0fe
grids: don't intersect with window messages which are > WM_USER (UDM_SETBUDDY, etc). fixes #0012112
...
git-svn-id: trunk@16518 -
2008-09-10 03:09:55 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
a832fcc215
LCL: added big endian version of message records, that have splitted wparam or lparam parameters, so that postmessage(hwnd, msg, wparam, lparam) work on big endian CPUs too (bug #11441 ) from Phil
...
git-svn-id: trunk@15574 -
2008-06-25 11:12:15 +00:00
paul
67ebf94a2e
lcl: remove LM_INSERTTEXT, LM_DELETETEXT (not used in LCL anymore and fixes #0010930 )
...
git-svn-id: trunk@14461 -
2008-03-07 17:09:25 +00:00
paul
7bebb27eab
messages:
...
- change messages name from LM_CUTTOCLIP to LM_CUT, LM_COPYTOCLIP to LM_COPY, LM_PASTEFROMCLIP to LM_PASTE, LM_CLEARSEL to LM_CLEAR since they are come from WM_CUT, WM_COPY, WM_CLEAR, WM_PASTE
- assign windows message number to that messages (fixes issue #0010747 )
git-svn-id: trunk@14415 -
2008-03-05 03:52:01 +00:00
paul
4f7164b77c
docking:
...
- add special png images for docking (mdi buttons differ between widgetsets and not so informative)
- use toolbutton + image drawing instead of mdi button drawing
- track mouse on dock header (buttons become how and pressed)
- execute button actions on mouse-up instead of mouse-down
git-svn-id: trunk@14062 -
2008-02-10 08:52:06 +00:00