https://stackoverflow.com/questions/35207639/is-possible-to-use-messages-in-a-class-procedure
https://docwiki.embarcadero.com/RADStudio/Sydney/en/Declaring_a_New_Message-handling_Method
procedure WMPaint(var Msg: TWMPaint); message WM_PAINT;
procedure TForm1.WMPaint(var Msg: TWMPaint);
begin
Beep;
inherited;
end;
procedure WndProc(var msg: TMessage);
TApplicationEvent
TApplicationEvents.OnMessage
https://github.com/RRUZ/Delphi-IDE-Colorizer/blob/master/IDE%20PlugIn/Galileo/TApplicationEvents.pas
http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+25+Delphi+for+.NET+Preview+The+Language+and+the+RTL/New+Delphi+Language+Features/
https://www.syncfusion.com/succinctly-free-ebooks/delphi/object-oriented-programming-with-delphi
SetIncludeExclude (Delphi)
Description
Include(EventProp, eventHandler);
Exclude(EventProp, eventHandler);
Multicast Events
Delphi has always had the ability to set an event listener—
https://www.cynet.com.tw/learning/Delphi/Delphi_Basic/049.htm
Const
WM_MYFIRSTMESSAGE=WM_USER+0;
WM_MYSECONDMESSAGE=WM_USER+1;
https://docs.microsoft.com/zh-tw/windows/win32/winmsg/message-and-message-queue-functions
Adventures Delphi Messaging TWinControl message Perform WM_USER
沒有留言:
張貼留言