diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-14 16:34:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-14 16:34:53 +0000 |
commit | e89f03b9f2af75ce231367befb584aaa948c420c (patch) | |
tree | 3d1a5dd4352fd91b7455a5e54f74527bdae21274 /plugins/HistoryPlusPlus/hpp_messages.pas | |
parent | 99f9bd745de40f36efc32fe1d7b0a4a4f5566635 (diff) |
strange service SRMsg/LaunchMessageWindow removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_messages.pas')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_messages.pas | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_messages.pas b/plugins/HistoryPlusPlus/hpp_messages.pas index 23f5f6bfdb..8cd67bbb8d 100644 --- a/plugins/HistoryPlusPlus/hpp_messages.pas +++ b/plugins/HistoryPlusPlus/hpp_messages.pas @@ -58,20 +58,8 @@ function SendMessageTo(hContact: THandle; const Text: String): Boolean; var
buff: AnsiString;
begin
- if boolean(ServiceExists(MS_MSG_SENDMESSAGEW)) then
- Result := (CallService(MS_MSG_SENDMESSAGEW,WPARAM(hContact),LPARAM(PChar(Text))) = 0)
- else
- begin
- buff := AnsiString(Text);
- Result := (CallService(MS_MSG_SENDMESSAGE,WPARAM(hContact),LPARAM(PAnsiChar(buff))) = 0);
- if not Result then
- Result := (CallService('SRMsg/LaunchMessageWindow',WPARAM(hContact),LPARAM(PAnsiChar(buff))) = 0);
- end;
+ buff := AnsiString(Text);
+ Result := (CallService(MS_MSG_SENDMESSAGE,WPARAM(hContact),LPARAM(PAnsiChar(buff))) = 0);
end;
-{function ForwardMessage(Text: AnsiString): Boolean;
-begin
- Result := (CallService(MS_MSG_FORWARDMESSAGE,0,LPARAM(PAnsiChar(Text)))=0);
-end;}
-
end.
|