DPI Awareness of Nevron components


Author
Message
Tobias Breuer
Tobias Breuer
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 5, Visits: 11
Hi all,

I'm currently struggling with the DPI awareness of Nevron components. For WinForms applications one can set the process to be DPI aware which leads to the fact, that controls are painted correctly regardless if the user has a DPI Setting of 100, 120, 150 or other values. This can be achieved using the following native method via PInvoke:

[DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();

Unfortunately this leads to the fact, that the WinForms components are drawn correctly, the Nevron components on the other side are obviously not affected by this. and are streched and becoming very large. Is there any property that I can set on these controls or some other approach to make the Nevron components behave in the same way as the WinForms controls do?

Thanks and best regards,

Tobias
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Tobias Breuer - 11 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search