WindowHelper.WinAPI.GetWindowLong C# (CSharp) Метод

GetWindowLong() приватный Метод

private GetWindowLong ( IntPtr hWnd, int nIndex ) : int
hWnd System.IntPtr
nIndex int
Результат int
        internal static extern int GetWindowLong(IntPtr hWnd, int nIndex);

Usage Example

Пример #1
0
        public void AddBorder()
        {
            int style = WinAPI.GetWindowLong(this.Handle, WinAPI.GWL_STYLE);

            WinAPI.SetWindowLong(this.Handle, WinAPI.GWL_STYLE, (style & WinAPI.WS_THICKFRAME));
        }
All Usage Examples Of WindowHelper.WinAPI::GetWindowLong