Example #1
0
 public static extern uint SendMessage(IntPtr hWnd, int Msg, int wParam, COLORREF lParam);
Example #2
0
 public void init()
 {
     cbSize = (uint)Marshal.SizeOf(typeof(REBARBANDINFO));
     fMask = 0U;
     fStyle = 0U;
     clrFore = new COLORREF(System.Drawing.SystemColors.ControlText);
     clrBack = new COLORREF(System.Drawing.SystemColors.Control);
     lpText = "";
     cch = 0U;
     iImage = 0;
     hwndChild = IntPtr.Zero;
     cxMinChild = 0U;
     cyMinChild = 0U;
     cx = 0U;
     hbmBack = IntPtr.Zero;
     wID = 0U;
     cyChild = 0U; //Initial Child Height
     cyMaxChild = 0U;
     cyIntegral = 0U;
     cxIdeal = 0U;
     lParam = IntPtr.Zero;
     cxHeader = 0U;
 }