SIL.FieldWorks.Discourse.ChartHeaderView.WndProc C# (CSharp) 메소드

WndProc() 보호된 메소드

Overrides M:System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message@).
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message The Windows to process.
리턴 void
		protected override void WndProc(ref Message m)
		{
			switch (m.Msg)
			{
			case WM_NOTIFY:
				Win32.NMHEADER nmhdr = (Win32.NMHEADER)m.GetLParam(typeof(Win32.NMHEADER));
				switch (nmhdr.hdr.code)
				{
				case HDN_DIVIDERDBLCLICKW:
					// double-click on line between column headers.
					// adjust width of column to match item of greatest length.
					m_chart.m_headerMainCols_ColumnAutoResize(nmhdr.iItem);
					break;
				default:
					base.WndProc(ref m);
					break;
				}

				break;
			default:
				base.WndProc(ref m);
				break;
			}
		}
	}