/// /// Copyright © 2003-2008 JetBrains s.r.o. /// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder). /// namespace JetBrains.Interop.WinApi { /// /// Index constants for the and functions. /// public enum WindowLongPtrIndex { /// /// Sets a new extended window style. For more information, see CreateWindowEx. /// GWL_EXSTYLE = (-20), /// /// Sets a new window style. /// GWL_STYLE = (-16), /// /// Sets a new address for the window procedure. /// Same as GWL_WNDPROC that is for non-“ptr” versions. /// GWLP_WNDPROC = (-4), /// /// Sets a new application instance handle. /// Same as GWL_HINSTANCE that is for non-“ptr” versions. /// GWLP_HINSTANCE = (-6), /// /// Do not call with the index to change the parent of a child window. Instead, use the SetParent function. /// GWLP_HWNDPARENT = (-8), /// /// Sets a new identifier of the window. /// Same as GWL_ID that is for non-“ptr” versions. /// GWLP_ID = (-12), /// /// Sets the user data associated with the window. This data is intended for use by the application that created the window. Its value is initially zero. /// Same as GWL_USERDATA that is for non-“ptr” versions. /// GWLP_USERDATA = (-21), /// /// Sets the new pointer to the dialog box procedure. /// Valid for dialog boxes only. /// DWLP_DLGPROC = DWLP_MSGRESULT + 4, // Note: non-64bit-safe!! /// /// Sets the return value of a message processed in the dialog box procedure. /// Valid for dialog boxes only. /// DWLP_MSGRESULT = 0, /// /// Sets new extra information that is private to the application, such as handles or pointers. /// Valid for dialog boxes only. /// DWLP_USER = DWLP_DLGPROC + 4, // Note: non-64bit-safe!! } }