1 // this file is part of docking functionality for Notepad++ 2 // Copyright (C)2006 Jens Lorenz <jens.plugin.npp@gmx.de> 3 // 4 // This program is free software; you can redistribute it and/or 5 // modify it under the terms of the GNU General Public License 6 // as published by the Free Software Foundation; either 7 // version 2 of the License, or (at your option) any later version. 8 // 9 // Note that the GPL places important restrictions on "derived works", yet 10 // it does not provide a detailed definition of that term. To avoid 11 // misunderstandings, we consider an application to constitute a 12 // "derivative work" for the purpose of this license if it does any of the 13 // following: 14 // 1. Integrates source code from Notepad++. 15 // 2. Integrates/includes/aggregates Notepad++ into a proprietary executable 16 // installer, such as those produced by InstallShield. 17 // 3. Links to a library or executes a program that does any of the above. 18 // 19 // This program is distributed in the hope that it will be useful, 20 // but WITHOUT ANY WARRANTY; without even the implied warranty of 21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 // GNU General Public License for more details. 23 // 24 // You should have received a copy of the GNU General Public License 25 // along with this program; if not, write to the Free Software 26 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 27 /** 28 * 29 * 30 * License: GPL-2.0 or later 31 */ 32 module npp_api.powereditor.wincontrols.dockingwnd.dockingresource; 33 34 35 private static import core.sys.windows.windef; 36 37 enum DM_NOFOCUSWHILECLICKINGCAPTION = "NOFOCUSWHILECLICKINGCAPTION"; 38 39 enum IDD_PLUGIN_DLG = 103; 40 enum IDC_EDIT1 = 1000; 41 42 enum IDB_CLOSE_DOWN = 137; 43 enum IDB_CLOSE_UP = 138; 44 enum IDD_CONTAINER_DLG = 139; 45 46 enum IDC_TAB_CONT = 1027; 47 enum IDC_CLIENT_TAB = 1028; 48 enum IDC_BTN_CAPTION = 1050; 49 50 enum DMM_MSG = 0x5000; 51 enum DMM_CLOSE = .DMM_MSG + 1; 52 enum DMM_DOCK = .DMM_MSG + 2; 53 enum DMM_FLOAT = .DMM_MSG + 3; 54 enum DMM_DOCKALL = .DMM_MSG + 4; 55 enum DMM_FLOATALL = .DMM_MSG + 5; 56 enum DMM_MOVE = .DMM_MSG + 6; 57 enum DMM_UPDATEDISPINFO = .DMM_MSG + 7; 58 enum DMM_GETIMAGELIST = .DMM_MSG + 8; 59 enum DMM_GETICONPOS = .DMM_MSG + 9; 60 enum DMM_DROPDATA = .DMM_MSG + 10; 61 enum DMM_MOVE_SPLITTER = .DMM_MSG + 11; 62 enum DMM_CANCEL_MOVE = .DMM_MSG + 12; 63 enum DMM_LBUTTONUP = .DMM_MSG + 13; 64 65 enum DMN_FIRST = 1050; 66 enum DMN_CLOSE = .DMN_FIRST + 1; 67 //nmhdr.code = core.sys.windows.windef.DWORD(.DMN_CLOSE, 0)); 68 //nmhdr.hwndFrom = hwndNpp; 69 //nmhdr.idFrom = ctrlIdNpp; 70 71 enum DMN_DOCK = .DMN_FIRST + 2; 72 enum DMN_FLOAT = .DMN_FIRST + 3; 73 //nmhdr.code = core.sys.windows.windef.DWORD(DMN_XXX, int newContainer); 74 //nmhdr.hwndFrom = hwndNpp; 75 //nmhdr.idFrom = ctrlIdNpp; 76 77 enum DMN_SWITCHIN = .DMN_FIRST + 4; 78 enum DMN_SWITCHOFF = .DMN_FIRST + 5; 79 enum DMN_FLOATDROPPED = .DMN_FIRST + 6; 80 //nmhdr.code = core.sys.windows.windef.DWORD(DMN_XXX, 0); 81 //nmhdr.hwndFrom = DockingCont::_hself; 82 //nmhdr.idFrom = 0;