mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 11:08:00 +02:00
added readme
git-svn-id: trunk@13395 -
This commit is contained in:
parent
db7b4e7e9a
commit
4708021126
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1689,6 +1689,7 @@ examples/messagedialogs.lpi svneol=native#text/plain
|
||||
examples/messagedialogs.pp svneol=native#text/pascal
|
||||
examples/messages/project1.lpi svneol=native#text/plain
|
||||
examples/messages/project1.lpr svneol=native#text/pascal
|
||||
examples/messages/readme.txt svneol=native#text/plain
|
||||
examples/messages/unit1.lfm svneol=native#text/plain
|
||||
examples/messages/unit1.lrs svneol=native#text/pascal
|
||||
examples/messages/unit1.pas svneol=native#text/pascal
|
||||
|
14
examples/messages/readme.txt
Normal file
14
examples/messages/readme.txt
Normal file
@ -0,0 +1,14 @@
|
||||
This example demonstrates usage of PostMessage, SendMessage and message methods in Lazarus and FreePascal.
|
||||
|
||||
PostMessage and SendMessage are not fully compatible with windows. For example passing windows messages to
|
||||
controls will not do anything except return of this message to message handler (for example if you pass
|
||||
WM_PAINT to control - it will not paint itself).
|
||||
|
||||
The only use of PostMessage and SendMessage outside windows consist in ability to call your message handlers.
|
||||
|
||||
SendMessage calls message handler and doesnot return until message become processed by message handler.
|
||||
PostMessage adds message to the message queue and doenot wait while message become processed.
|
||||
|
||||
Please do not use message from windows system range. Use only messages >= LM_USER.
|
||||
|
||||
For more info read comments in code.
|
Loading…
Reference in New Issue
Block a user