Example #1
0
 public NativeUpDown(UpDown OwnerControl) {
     CreateParams cp = new CreateParams();
     cp.ClassName = "msctls_updown32";
     cp.X = cp.Y = 0;
     cp.Width = OwnerControl.Width;
     cp.Height = OwnerControl.Height;
     cp.Parent = OwnerControl.Handle;
     cp.Style = 0x50000040;
     CreateHandle(cp);
     fTrackMouseEvent = true;
     TME = new TRACKMOUSEEVENT();
     TME.cbSize = Marshal.SizeOf(TME);
     TME.dwFlags = 2;
     TME.hwndTrack = Handle;
 }
Example #2
0
 public NativeUpDown(UpDown OwnerControl) {
     CreateParams cp = new CreateParams();
     cp.ClassName = "msctls_updown32";
     cp.X = cp.Y = 0;
     cp.Width = OwnerControl.Width;
     cp.Height = OwnerControl.Height;
     cp.Parent = OwnerControl.Handle;
     cp.Style = 0x50000040;
     this.CreateHandle(cp);
     this.fTrackMouseEvent = true;
     this.TME = new QTTabBarLib.Interop.TRACKMOUSEEVENT();
     this.TME.cbSize = Marshal.SizeOf(this.TME);
     this.TME.dwFlags = 2;
     this.TME.hwndTrack = base.Handle;
 }
Example #3
0
            public NativeUpDown(UpDown OwnerControl)
            {
                CreateParams cp = new CreateParams();

                cp.ClassName = "msctls_updown32";
                cp.X         = cp.Y = 0;
                cp.Width     = OwnerControl.Width;
                cp.Height    = OwnerControl.Height;
                cp.Parent    = OwnerControl.Handle;
                cp.Style     = 0x50000040;
                this.CreateHandle(cp);
                this.fTrackMouseEvent = true;
                this.TME           = new QTTabBarLib.Interop.TRACKMOUSEEVENT();
                this.TME.cbSize    = Marshal.SizeOf(this.TME);
                this.TME.dwFlags   = 2;
                this.TME.hwndTrack = base.Handle;
            }
Example #4
0
            public NativeUpDown(UpDown OwnerControl)
            {
                CreateParams cp = new CreateParams();

                cp.ClassName = "msctls_updown32";
                cp.X         = cp.Y = 0;
                cp.Width     = OwnerControl.Width;
                cp.Height    = OwnerControl.Height;
                cp.Parent    = OwnerControl.Handle;
                cp.Style     = 0x50000040;
                CreateHandle(cp);
                fTrackMouseEvent = true;
                TME           = new TRACKMOUSEEVENT();
                TME.cbSize    = Marshal.SizeOf(TME);
                TME.dwFlags   = 2;
                TME.hwndTrack = Handle;
            }