摘要:
WPF中隐藏窗口最小化、最大化和关闭按钮隐藏最小化、最大化按钮,十分简单,设置属性ResizeMode的值为NoResize即可。隐藏关闭按钮代码如下:private const int GWL_STYLE = -16;private const int WS_SYSMENU = 0x80000;[System.Runtime.InteropServices.DllImport("user32.dll", SetLastError = true)]private static extern int GetWindowLong(IntPtr hWnd, int nIndex) 阅读全文
posted @ 2012-11-06 09:58
独孤正龙
阅读(590)
评论(0)
推荐(0)

浙公网安备 33010602011771号