added transparent click through region

This commit is contained in:
Meik
2026-02-09 20:00:30 +01:00
parent ca584d3929
commit 9e5a7f7946

View File

@@ -34,8 +34,6 @@ namespace FasdDesktopUi.Pages.SearchPage
public partial class SearchPageView : Window, ISearchUiProvider
{
private static SearchPageView _instance = null;
private const int WM_NCHITTEST = 0x0084;
private const int HTTRANSPARENT = -1;
#region Ticketübersicht
@@ -1683,6 +1681,11 @@ namespace FasdDesktopUi.Pages.SearchPage
#endregion
#region Click-Through fuer transparente SearchView-Bereiche
private const int WM_NCHITTEST = 0x0084;
private const int HTTRANSPARENT = -1;
private IntPtr SearchViewWindowProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
if (msg == WM_NCHITTEST)
@@ -1749,6 +1752,8 @@ namespace FasdDesktopUi.Pages.SearchPage
return LogicalTreeHelper.GetParent(current);
}
#endregion
private void UpdateSearchResults(cFilteredResults filteredResults)
{
this.Dispatcher.Invoke(new Action(() =>