예제 #1
0
 public static extern Boolean GetScrollInfo(IntPtr hWnd, Int32 fnBar, SCROLLINFO scrollInfo);
예제 #2
0
 public static extern bool GetScrollInfo(IntPtr hwnd, SB fnBar, ref SCROLLINFO lpsi);
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 public static SCROLLINFO GetFullScrollInfo(Control lv, Boolean horizontalBar)
 {
     Int32 fnBar = (horizontalBar ? SB_HORZ : SB_VERT);
     SCROLLINFO scrollInfo = new SCROLLINFO();
     scrollInfo.fMask = SIF_ALL;
     if (GetScrollInfo(lv.Handle, fnBar, scrollInfo)) return scrollInfo;
     else return null;
 }
예제 #4
0
 private static extern bool GetScrollInfo(IntPtr hwnd, int fnBar, ref SCROLLINFO lpsi);