added transparent click through region
This commit is contained in:
@@ -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(() =>
|
||||
|
||||
Reference in New Issue
Block a user