LCL lclmessageglue: added SendSimpleMessage to interface

git-svn-id: trunk@12984 -
This commit is contained in:
tombo 2007-11-23 14:06:16 +00:00
parent 4db98e9394
commit 4b37f3cafe

View File

@ -34,6 +34,7 @@ interface
uses Classes, Forms, LCLProc, Controls, LMessages, LCLType;
function DeliverMessage(const Target: TObject; var AMessage): PtrInt;
function SendSimpleMessage(const Target: TControl; Msg: Cardinal): PtrInt;
function LCLSendActivateMsg(const Target: TControl; Active: Boolean; Minimized: Boolean; ActiveWindow: HWND = 0): PtrInt;
function LCLSendSetFocusMsg(const Target: TControl): PtrInt;
@ -112,6 +113,18 @@ begin
Result := TLMessage(AMessage).Result;
end;
{******************************************************************************
* *
* SendSimpleMessage *
* *
* Returns : 0 to accept the message, non-zero to reject the message *
* *
* Params *
* *
* Target : The Control that will recieve the simple message *
* Msg : Message type constant *
* *
******************************************************************************}
function SendSimpleMessage(const Target: TControl; Msg: Cardinal): PtrInt;
var
Mess : TLMessage;