added transparent click through region
This commit is contained in:
@@ -34,8 +34,6 @@ namespace FasdDesktopUi.Pages.SearchPage
|
|||||||
public partial class SearchPageView : Window, ISearchUiProvider
|
public partial class SearchPageView : Window, ISearchUiProvider
|
||||||
{
|
{
|
||||||
private static SearchPageView _instance = null;
|
private static SearchPageView _instance = null;
|
||||||
private const int WM_NCHITTEST = 0x0084;
|
|
||||||
private const int HTTRANSPARENT = -1;
|
|
||||||
|
|
||||||
#region Ticketübersicht
|
#region Ticketübersicht
|
||||||
|
|
||||||
@@ -1683,6 +1681,11 @@ namespace FasdDesktopUi.Pages.SearchPage
|
|||||||
|
|
||||||
#endregion
|
#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)
|
private IntPtr SearchViewWindowProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
|
||||||
{
|
{
|
||||||
if (msg == WM_NCHITTEST)
|
if (msg == WM_NCHITTEST)
|
||||||
@@ -1749,6 +1752,8 @@ namespace FasdDesktopUi.Pages.SearchPage
|
|||||||
return LogicalTreeHelper.GetParent(current);
|
return LogicalTreeHelper.GetParent(current);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
private void UpdateSearchResults(cFilteredResults filteredResults)
|
private void UpdateSearchResults(cFilteredResults filteredResults)
|
||||||
{
|
{
|
||||||
this.Dispatcher.Invoke(new Action(() =>
|
this.Dispatcher.Invoke(new Action(() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user