Пример #1
0
 public void SetColumnPosition(int column, int position)
 {
     Win32.LV_COLUMN pcol = new Win32.LV_COLUMN();
     pcol.mask   = Win32.LVCF_ORDER;
     pcol.iOrder = position;
     Win32.SendMessage(Handle, Win32.LVM_SETCOLUMN, column, ref pcol);
 }
Пример #2
0
 public int GetColumnPosition(int column)
 {
     Win32.LV_COLUMN pcol = new Win32.LV_COLUMN();
     pcol.mask = Win32.LVCF_ORDER;
     Win32.SendMessage(Handle, Win32.LVM_GETCOLUMN, column, ref pcol);
     return((int)pcol.iOrder);
 }
Пример #3
0
		public void SetColumnPosition(int column, int position)
		{
			Win32.LV_COLUMN pcol = new Win32.LV_COLUMN();
			pcol.mask = Win32.LVCF_ORDER;
			pcol.iOrder = position;
			Win32.SendMessage(Handle, Win32.LVM_SETCOLUMN, column, ref pcol);
		}
Пример #4
0
		public int GetColumnPosition(int column)
		{
			Win32.LV_COLUMN pcol = new Win32.LV_COLUMN();
			pcol.mask = Win32.LVCF_ORDER;
			Win32.SendMessage(Handle, Win32.LVM_GETCOLUMN, column, ref pcol);
			return (int)pcol.iOrder;
		}