Пример #1
0
 /// <summary>
 ///   Extends the window frame into the client area.
 /// </summary>
 ///
 /// <param name="window">
 ///   The handle to the window in which the frame will
 ///   be extended into the client area.</param>
 /// <param name="margins">
 ///   A pointer to a <see cref="ThemeMargins"/> structure that describes
 ///   the margins to use when extending the frame into the client area.</param>
 ///
 public static void ExtendAeroGlassIntoClientArea(IWin32Window window, ThemeMargins margins)
 {
     if (window == null)
     {
         throw new ArgumentNullException("window");
     }
     NativeMethods.DwmExtendFrameIntoClientArea(window.Handle, ref margins);
 }
Пример #2
0
 internal static extern void DwmExtendFrameIntoClientArea(IntPtr hwnd, ref ThemeMargins margins);