摘要: const int WM_SYSCOMMAND = 0x112;const int SC_CLOSE = 0xF060;const int SC_MINIMIZE = 0xF020;const int SC_MAXIMIZE = 0xF030;protected override void WndProc(ref Message m){ if (m.Msg == WM_SYSCOMMAND) { if (m.WParam.ToInt32() == SC_MINIMIZE) //点击了最小化按钮 { //这里写点击最小化需要进行的操作 } if (m.WParam.ToInt32(... 阅读全文
posted @ 2013-12-04 14:48 雏菊之秋 阅读(530) 评论(0) 推荐(0) 编辑