All pastes #124970 Raw Edit

Dragon

public text v1 · immutable
·published 2006-08-10 10:29 UTC
rendered paste body
            switch (message.Msg)
            {
                case WM_NOTIFY:
                    NMHDR n = (NMHDR)System.Runtime.InteropServices.Marshal.PtrToStructure(message.LParam, typeof(NMHDR));
                    if ((n.code == -12))// && (n.code != -321))
                        if (this.View == View.Details && this.Columns.Count > 0)
                        {
                            this.Columns[this.Columns.Count - 1].Width = -2;
                        }
                    break;
            }