Skip to content

TitleBar Buttons not working in some cases #1373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update User32.cs
  • Loading branch information
Alessio2405 authored Mar 4, 2025
commit f8f7453cd6eae8f97035c3a3de3aa31d636c86a3
3 changes: 3 additions & 0 deletions src/Wpf.Ui/Interop/User32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,9 @@ [In] IntPtr lParam
[DllImport(Libraries.User32, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool GetCursorPos([Out] out WinDef.POINT lpPoint);
[DllImport(Libraries.User32), SetLastError = true)]
public static extern bool GetCursorPos(out System.Drawing.Point lpPoint);


[DllImport(Libraries.User32)]
public static extern bool UnionRect(out WinDef.RECT rcDst, ref WinDef.RECT rc1, ref WinDef.RECT rc2);
Expand Down