Advertisement
HaLo2FrEeEk

Margins struct for DwmExtendFrameIntoClientArea

Jan 8th, 2011
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1. [StructLayout(LayoutKind.Sequential)]
  2. public struct Margins
  3. {
  4.     public int Left, Right, Top, Bottom;
  5.  
  6.     public Margins(bool fullWnd)
  7.     {
  8.         Left = Right = Top = Bottom = ((fullWnd) ? -1 : 0);
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement