文件名称:WPF界面最大化不覆盖任务栏
文件大小:259KB
文件格式:RAR
更新时间:2024-01-01 13:32:49
WPF窗口最大化 WPF不覆盖任务栏
WPF界面最大化不覆盖任务栏 ,通过计算任务栏尺寸 IntPtr taskBarWnd = FindWindow("Shell_TrayWnd", null); IntPtr tray = FindWindowEx(taskBarWnd, IntPtr.Zero, "TrayNotifyWnd", null); IntPtr trayclock = FindWindowEx(tray, IntPtr.Zero, "TrayClockWClass", null);
【文件预览】:
WindowMaxSizeDemo
----WindowMaxSizeDemo.sln(1KB)
----.vs()
--------WindowMaxSizeDemo()
----WindowMaxSizeDemo()
--------WindowHelper.cs(6KB)
--------WindowMaxSizeDemo.csproj(4KB)
--------bin()
--------obj()
--------MainWindow.xaml(545B)
--------Properties()
--------MaxWindow2.xaml.cs(3KB)
--------MainWindow.xaml.cs(7KB)
--------MaxWindow2.xaml(837B)
--------App.xaml(388B)
--------App.xaml.cs(313B)