diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-12 17:49:53 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-12 17:49:53 +0000 |
commit | 7de38a08b97e0554e318b8c25806cef5d47259e6 (patch) | |
tree | 2400708e16b437245da88623046e96fb833e23b9 /plugins/ExternalAPI/delphi/m_snapping_windows.inc | |
parent | 1b88f240b94fc04aa11ef352b720fda741c0ebc6 (diff) |
headers of not adopted plugins moved to !Deprecated
git-svn-id: http://svn.miranda-ng.org/main/trunk@9438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_snapping_windows.inc')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_snapping_windows.inc | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/plugins/ExternalAPI/delphi/m_snapping_windows.inc b/plugins/ExternalAPI/delphi/m_snapping_windows.inc deleted file mode 100644 index e3c513482a..0000000000 --- a/plugins/ExternalAPI/delphi/m_snapping_windows.inc +++ /dev/null @@ -1,35 +0,0 @@ -{$IFNDEF SNAPPING_WINDOWS}
-{$DEFINE SNAPPING_WINDOWS}
-
-type
- PSnapWindowProc = ^TSnapWindowProc;
- TSnapWindowProc = record
- hWnd : THWND;
- m_szMoveOffset : TSIZE;
- wParam : WPARAM;
- lParam : LPARAM;
- Reserved1 : int;
- Reserved2 : int;
- Reserved3 : int;
- end;
-
-const
- MS_SNAPWINDOWPROC = 'Utils/SnapWindowProc';
-
-function CallSnappingWindowProc(hwnd:hwnd; nMessage:int;
- wParam:WPARAM;lParam:LPARAM):int;// cdecl;
-const
- SnapInfo:TSnapWindowProc=();
-begin
- result:=0;
- if (nMessage=WM_MOVING) or (nMessage=WM_NCLBUTTONDOWN) or
- (nMessage=WM_SYSCOMMAND) or (nMessage=WM_SIZING) then
- begin
- SnapInfo.hWnd := hwnd;
- SnapInfo.wParam := wParam;
- SnapInfo.lParam := lParam;
- CallService(MS_SNAPWINDOWPROC,WPARAM(@SnapInfo),nMessage);
- if nMessage=WM_SIZING then result:=1;
- end;
-end;
-{$ENDIF}
|