What are the parameters of the WM_SYSCOMMAND message handling procedure?
1 answer
procedure MessageProc(var msg: TWMSysCommand); message WM_SYSCOMMAND;
- oneThe definition of the WinAPi function of the same name is: Function MessageProc (nCode: integer; wParam, LPARAM: Longint): Longint; - AseN
- Speech in question about [Message methods] [1]. [Declaring a New Message-handling Method] [2] - in more detail. [1]: docwiki.embarcadero.com/RADStudio/en/Methods#Message_Methods [2]: docwiki.embarcadero.com/RADStudio/en/… - Yura Ivanov
- Actually, this is the wrong answer, despite the fact that the
TWMSysCommand
structure is proposed out of the box. - karmadro4 - This can not be the case. "Invalid" means it does not work. In fact, yes TWMSysCommand use more correctly. - Yura Ivanov
- oneEdited :) Actually, msdn describes a command that is not described in TWMSysCommand - SC_MONITORPOWER ... - Yura Ivanov
|