vb.net - Odd WinForm behavior after introduction of WPF control -


I recently introduced a WPF control on my VB.net WinForms application. Although the control looks great and works great, depending on the application on which I run the application, I will get different behaviors. Two machines that are different, both of them are running Windows 8.1 with the default theme.

I have read some questions about adding proper topic settings and I believe this is a problem.

  • On loading the form with WPF control, the calling form will resize and move around the screen
  • < Li> Forming both the WPF control form on loading the forming size and changing the size of the form is often "ghost". By shrinking I mean the size of the window, the control size of all the controls, the font size, and so on ...

I am thinking that the application was made against a version of the library and DLL versions. There was a difference on the deployment environment

I got the problem.

This was the result of DPI scaling. At any time the DPI settings were set to anything other than 100%, it was making any application at any time. WPF control produces strange behavior in different ways than Vinom control. The following stack overflow Q / A describes how to remove DPI dependency


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -