示例#1
0
 internal static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS margins);
示例#2
0
 /// <summary>
 /// Extends the window frame into the client area.
 /// </summary>
 /// <param name="hWnd">The window handle whose client area to extend the window frame into.</param>
 /// <param name="margins">The amount of window frame to extend around the client area.</param>
 /// <returns>S_OK on success; otherwise, an HRESULT error code.</returns>
 public static int ExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS margins)
 {
     return(NativeMethods.DwmExtendFrameIntoClientArea(hWnd, ref margins));
 }