c# Programming Glossary: wm_vscroll
ListView onScroll event http://stackoverflow.com/questions/1176703/listview-onscroll-event void WndProc ref Message m base.WndProc ref m if m.Msg WM_VSCROLL onScroll this new EventArgs But problem is that I dont know.. private const int WM_HSCROLL 0x114 private const int WM_VSCROLL 0x115 private const int SB_HORZ 0 private const int SB_VERT.. inspect the WParam would be something like this if m.Msg WM_VSCROLL ScrollInfoStruct si new ScrollInfoStruct si.fMask SIF_ALL si.cbSize..
Auto-scrolling text box uses more memory than expected http://stackoverflow.com/questions/1743448/auto-scrolling-text-box-uses-more-memory-than-expected 0x1 private const int WM_HSCROLL 0x114 private const int WM_VSCROLL 0x115 private const int SB_THUMBPOSITION 4 private const int.. savedVpos true PostMessageA this.txtBoxLogging.Handle WM_VSCROLL SB_THUMBPOSITION 0x10000 savedVpos 0 Now the strange thing..
C#: Synchronize Scroll Position of two RichTextBoxes? http://stackoverflow.com/questions/1827323/c-synchronize-scroll-position-of-two-richtextboxes System.Windows.Forms.Message message public const int WM_VSCROLL 0x115 protected override void WndProc ref System.Windows.Forms.Message.. WndProc ref System.Windows.Forms.Message msg if msg.Msg WM_VSCROLL if vScroll null vScroll msg base.WndProc ref msg public..
How do I listen for scrolling in a ListView? http://stackoverflow.com/questions/372034/how-do-i-listen-for-scrolling-in-a-listview private const int WM_HSCROLL 0x114 private const int WM_VSCROLL 0x115 public event EventHandler Scroll protected void OnScroll..
Disabling RichTextBox autoscroll http://stackoverflow.com/questions/4919969/disabling-richtextbox-autoscroll private const UInt32 SB_TOP 0x6 private const UInt32 WM_VSCROLL 0x115 return MarshalAs UnmanagedType.Bool DllImport user32.dll.. Object sender EventArgs e PostMessage handle WM_VSCROLL IntPtr SB_TOP IntPtr.Zero You could do the same with horizontal.. could do the same with horizontal scroll bar too. Replace WM_VSCROLL with WM_HSCROLL and SB_TOP with SB_LEFT private const UInt32..
|