Window getting minimized on click of floating button
I have application which has button in the left most corner of application window, whenevr i try to click the button the application window minimize and I am not able to perform click action.
Aliases["App"]["HwndSource_WindowFrameVisual"]["WindowFrameVisual"]["WPFObject"]("LayoutRoot")["WPFObject"]("ClientBorder")["WPFObject"]("OverlayBarControl")["WPFObject"]("LayoutRoot")["WPFObject"]("movableBorder")["WPFObject"]("OverlayGrid")["WPFObject"]("Grid", "", 1)["WPFObject"]("MyButton")["WPFObject"]("Grid", "", 1)["WPFObject"]("Rectangle", "", 2)["Click"]()
Aliases["App"]["HwndSource_WindowFrameVisual"]["WindowFrameVisual"]["WPFObject"]("LayoutRoot")["WPFObject"]("ClientBorder")["WPFObject"]("OverlayBarControl")["WPFObject"]("LayoutRoot")["WPFObject"]("movableBorder")["WPFObject"]("OverlayGrid")["WPFObject"]("Grid", "", 1)["WPFObject"]("Border", "", 1)["WPFObject"]("Grid", "", 1)["WPFObject"]("SecondMouseEnterDetectionArea")["WPFObject"]("Button", "Save", 1)["ClickButton"]()
Aliases["App"]["HwndSource_WindowFrameVisual"]["WindowFrameVisual"]["WPFObject"]("LayoutRoot")["WPFObject"]("ClientBorder")["WPFObject"]("OverlayBarControl")["WPFObject"]("LayoutRoot")["WPFObject"]("movableBorder")["WPFObject"]("OverlayGrid")["WPFObject"]("Grid", "", 1)["WPFObject"]("Border", "", 1)["WPFObject"]("Grid", "", 1)["WPFObject"]("SecondMouseEnterDetectionArea")["WPFObject"]("Button", "Save Project as...", 2)
click action on any of them works outside the application window.
can anyone tell what is the reason for this or there is some solution where I can hold on application window