When Internet Explorer 8 opens then WPF application UI freezes - wpf

System Information:
Win 7 32-Bit,
Internet Explorer 8,
.Net Framework 4 Installed.
Issue that;
When Internet Explorer 8 opens then WPF application UI freezes, application continues to work on the taskmanager without not-respond or have any exception. WPF window gets non-clickable and focusable UI.

Related

how to make my wpf window over a uwp fullscreen window

I have a wpf subtransparent window and I want it on the topmost. I set it's topmost property as true. For most cases, it can come at the most top. However, when there is a uwp app run in full screen mode, my window cannot come over. How should I do?
Back in Windows 8 I had a similar problem. I wanted an app to be visible top most over Windows 8 FullScreen app.
Any regular app is not visible over Windows 8 Apps or the Windows 8 Start-Screen, even if it is TopMost.
If I remember correctly, there are certain limitations: an app has to be signed and must run from inside the system32 folder! Than the app is still visible, even if a Windows 8 App is active. - Example of this is the Task-Manager.
In Windows 8 I was able to develop a test application that was still visible over Start-Screen and Metro-Apps. I assume in Windows 10 it is just the same thing.

Snapshot of UI while debugging in visual Studio

I am debugging a Windows form application in visual studio 2012. How can i see the snapshot of the UI while debugging?
Print screen is built in to windows. Sometimes labelled "PrtSc" on the keyboard. Use Alt-printscreen to snapshot just the window. There is also a "Snipping tool" program available in some versions of windows.
In Windows Vista and Later, the Desktop theme may affect the appearance of the App UI when the code is frozen at a breakpoint within the debugger. In Windows 7, for example: with Aero theme enabled, the current app UI is usually still visible if other obscuring windows are moved or closed, because Aero retains an image of the UI. So, for example, minimizing Visual Studio will typically let you see the application again.
If Aero is disabled (eg switch to a Basic theme in Win 7), then the app UI will not respond to paint events, and if other windows on top of it are removed or moved, the result is gibberish. If working on 1 monitor, once Visual Studio stops at a breakpoint you will no longer be able to see the UI until the code runs and responds to any pending Paint events.
So, if your question was about the UI freezing when the code is paused, enabling Aero might solve it.

Touch gestures support of WinForms controls in WPF application

There are two versions of WebBrowser control (WinForms and WPF). WPF version supports touch and multitouch gestures. Does WinForms version of WebBrowser embedded in WPF application with WindowsFormsHost support touch and multi-touch gestures?
Yes the WebBrowserControl regardless of how it is hosted. It will still get touch and multi-touch gestures as long as its the only thing getting the input and the touch is from a recognised touch device to Windows.
Note you can't quite hook into this nor can you touch outside and inside the WebBrowserControl as it runs in a different context similar to running in a different window
Also for what its worth the underlying ActiveX Host is just running an Internet Explorer frame. If you have IE8 or more recent (such as assuming windows 7 or 8 for you?) it will run it in IE7 Compatibility mode too.

Winforms control spacing in Windows 7

We have an in-house .net 2.0 winforms app currently developed on Visual Studio 2005 in Windows XP. Everyone in the office until now is running Windows XP, and there are no issues.
We recently ordered a new computer with Windows 7 for one of our managers we were hoping to use, and the app installs fine. The issue is the spacing around every label, textbox, and button - making some forms not fit.
Is there some setting that we can use to make Windows 7 display each control where it is placed in our XP development environment and like the rest of our XP clients show?
Ugh, what kind of idiot management team gives a new machine to a manager instead of a programmer?
Control Panel + Display, Advanced tab, change the DPI setting to repro the problem on your XP machine. Read the docs for the Form.AutoScaleMode to find out what's going on.

WPF application on Citrix

I'm trying to use a WPF application on our Citrix server, and made a really simple window with a button and a textbox. When running the application, noting but the application name on top of the window is shown. Is it not possible to use WPF on Citrix, or is our Citrix server too old?
It should be possible to use WPF on Citrix starting with PS 4.5 Feature pack 1.
Is your version older than this?

Resources