Hi,
I am still trying to convert from Delphi to Lazarus. Now I am at this point that I don't know how to handle Windows Messages. I tried this code
TForm1 = class(TForm)
...
public
...
procedure WMPowerBroadcast(var MyMessage: TMessage); message WM_POWERBROADCAST;
but it seems like there is no message routed to my procedure. Is there anything available I can reed first to find out which messages I have to handle which way? Or does anybody has a nice example code to learn from?
Best Regards