WPF Window's style
来源:互联网 发布:显微镜图像分析软件 编辑:程序博客网 时间:2024/06/02 23:18
private void OnLoaded(Object sender, EventArgs e)
{
int nStyle = Win32API.GetWindowLong(new WindowInteropHelper(this).Handle, Win32API.GWL_STYLE);
nStyle &= ~Win32API.WS_SYSMENU;
Win32API.SetWindowLong(new WindowInteropHelper(this).Handle, Win32API.GWL_STYLE, nStyle);
}
public class Win32API
{
public const int GWL_STYLE = -16;
public const int GWL_EXSTYLE = -20;
public const int WS_CAPTION = 0x00C00000;
public const int WS_SYSMENU = 0x00080000;
[DllImport("user32.dll")]
public static extern int SetWindowLong(IntPtr hWnd, int nIndex, int newN);
[DllImport("user32.dll")]
public static extern int GetWindowLong(IntPtr hWnd, int nIndex);
}
- WPF Window's style
- wpf Style
- Window Style
- Window Style
- wpf-Style注意点
- WPF中的Style
- wpf button ,datagrid style
- WPF ListBox Style
- [WPF]Watermask TextBox Style
- WPF 之 样式 Style
- WPF ContextMenu Style
- WPF listbox Style
- wpf Style也继承
- wpf button style
- 深入WPF--Style
- WPF中的Style
- WPF Style demo
- 深入WPF--Style
- ajax(3)之js+css基础
- Html控件与Web控件的区别与用途
- 透过汇编另眼看世界之DLL导出函数调用
- 个人blog全面迁移
- const的用法小结
- WPF Window's style
- iis ftp被动模式
- 瑞星程序员自曝2007内核内幕
- 关于div
- sql-server sql语句主键自增
- 在网上找到了小时候看过的《森林大帝》
- tomcat启动的时候报“warn no appenders could be found for logger ...."错的原因
- [AutoCAD2008新功能介绍3]在AutoCAD中使用.NET来添加一个新的缩放比例
- JSP:框架间的交互