Alsing.Windows.Forms.CoreLib.SplitViewControl.InvokeMouseDownh C# (CSharp) Method

InvokeMouseDownh() public method

Start dragging the horizontal splitter.
public InvokeMouseDownh ( ) : void
return void
        public void InvokeMouseDownh()
        {
            IntPtr hwnd = Horizontal.Handle;
            NativeMethods.SendMessage(hwnd, (int) WindowMessage.WM_LBUTTONDOWN, 0, 0);
        }

Usage Example

Beispiel #1
0
        protected void TopThumb_MouseDown(object sender, MouseEventArgs e)
        {
            ActivateSplits();

            long t = DateTime.Now.Ticks - _ticks;

            _ticks = DateTime.Now.Ticks;


            if (t < 3000000)
            {
                splitView.Split5050h();
            }
            else
            {
                splitView.InvokeMouseDownh();
            }
        }