OSDN Git Service

Merge git://github.com/Jopie64/tortoisegit master
[tortoisegit/TortoiseGitJp.git] / ext / ResizableLib / ResizableMsgSupport.cpp
1 // ResizableMsgSupport.cpp: support messages for custom resizable wnds\r
2 //\r
3 /////////////////////////////////////////////////////////////////////////////\r
4 //\r
5 // Copyright (C) 2000-2002 by Paolo Messina\r
6 // (http://www.geocities.com/ppescher - ppescher@yahoo.com)\r
7 //\r
8 // The contents of this file are subject to the Artistic License (the "License").\r
9 // You may not use this file except in compliance with the License. \r
10 // You may obtain a copy of the License at:\r
11 // http://www.opensource.org/licenses/artistic-license.html\r
12 //\r
13 // If you find this code useful, credits would be nice!\r
14 //\r
15 /////////////////////////////////////////////////////////////////////////////\r
16 \r
17 #include "stdafx.h"\r
18 #include "ResizableMsgSupport.h"\r
19 \r
20 #ifdef _DEBUG\r
21 #define new DEBUG_NEW\r
22 #undef THIS_FILE\r
23 static char THIS_FILE[] = __FILE__;\r
24 #endif\r
25 \r
26 /////////////////////////////////////////////////////////////////////////////\r
27 // Registered message to communicate with the library\r
28 \r
29 // static intializer must be called before user code\r
30 #pragma warning(disable:4073)\r
31 #pragma init_seg(lib)\r
32 \r
33 const UINT WMU_RESIZESUPPORT = ::RegisterWindowMessage(TEXT("WMU_RESIZESUPPORT"));\r
34 \r