Search found 319 matches
Thanks but I still dont know exactly what set dpi awareness does. The doco says: "Setting the process-default DPI awareness via API call can lead to unexpected application behavior" and "For older applications, it is strongly recommended to not use SetProcessDpiAwareness" Is PS an 'older application...
To keep it simple. If we wish to cater for multiple resolutions/scaling is it true that we must run the snippet set-dpiawareness that you have provided in our form load event? Is it possible to explain exactly what this code is doing?
Dynamically scaling means yes, calculating sizes based on DPI and scaling factors of the current monitor. Windows does already a lot of that by itself. This is the bit I dont get. When does Windows do alot of that by itself? And when do I have to code for it? In my case someone ran my PS app on a 4...
Based on your design, anchoring controls to each other, to the sides of the form and dynamically scaling by code might be the solution, but we cannot see anything. How do you anchor controls to each other - all I see is top,bottom, left, right which is only to the sides of the form? By dynamically ...
I know. But I want to extend the form and add a button to the bottom. Its a real pain to have to undo all the anchors manually to add it then re-add the anchors. I thought there might be an easier way.
Greetings, Ive started to anchor stuff but Ive run into another issue. Let's say I wanted to add a button to the bottom of an existing form. Without anchors I could just extend the size of the form and add the button - all other controls would stay where they are. Now that I have anchors, when I go ...
- Tue Sep 15, 2020 3:06 pm
- Forum: PowerShell GUIs
- Topic: Tooltip on datagridview control not shown
- Replies: 3
- Views: 486
Its all in the documentation
https://docs.microsoft.com/en-us/dotnet ... etcore-3.1