[Lazarus] WMEnterSizeMove Messages not firing
Ondrej Pokorny
lazarus at kluug.net
Tue Oct 27 18:27:15 CET 2015
On 10.10.2015 16:19, Ondrej Pokorny wrote:
> On 10.10.2015 15:36, Aradeonas wrote:
>> Now I get a kind message from Székely Balázs that show a temporary way.
>>
> Great! Thanks Balázs for the code and also thanks for sharing!
>
> I added the workaround to the bug report:
> http://bugs.freepascal.org/view.php?id=23302
Juha, just to keep the discussion about unhandled messages in Windows:
From http://bugs.freepascal.org/view.php?id=23302#c86677 :
/> But even if they do not exist everywhere IMO they could be passed
through to LCL at least from widgetsets where they are supported (?).//
//No, that goes against the fundamental idea of a cross-platform library.//
/
It's a matter of discussion. The message handling is low-level. So there
can be differences between widgetsets. It's important to have as little
differences in the high-level (events, virtual methods etc.). But small
differences even in those exist, unfortunately.
It is extremely useful to be able to access the low-level messages
without workarounds even with the limitation that they are available
only on some widgetsets (maybe only one).
Zeljko stated in the "How to create a non focusable form?" thread
http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-October/095047.html
that WMNCHitTest is Windows-only. And it is indeed passed to LCL. So LCL
is not very systematic about this issue at all. Wouldn't it be easier to
pass all messages to the LCL? Furthermore, compatibility to Delphi would
be achieved - only on Windows, though, but still better than nothing.
Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151027/2863f976/attachment-0003.html>
More information about the Lazarus
mailing list