musicstashall Posted July 23, 2017 Posted July 23, 2017 Who is familiar with the procedure? How to set and display the thickness of the border of the window? It is only known that the values are set in the registry: 'HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics'Keys: 'BorderWidth' and 'PaddedBorderWidth' Values: - (0 ... 10) × 15Can I somehow use the function in real time to get the result ??
Trong Posted July 23, 2017 Posted July 23, 2017 Local $BorderWidth = RegRead('HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics', 'BorderWidth') Local $PaddedBorderWidth = RegRead('HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics', 'PaddedBorderWidth') ConsoleWrite($BorderWidth & @CRLF) ConsoleWrite($PaddedBorderWidth & @CRLF) Regards,
musicstashall Posted July 23, 2017 Author Posted July 23, 2017 I meant something like _WinAPI_DwmSetWindowAttribute You need a real-time result. Not for a specific window, but globally for all windows .
Trong Posted July 23, 2017 Posted July 23, 2017 To take effect immediately after set value in registry. You may need to kill explorer or log out and log back in! I do not know how to make real-time result! Regards,
InunoTaishou Posted July 23, 2017 Posted July 23, 2017 Might have to kill dmw.exe or kill dwm.exe and explorer
musicstashall Posted July 23, 2017 Author Posted July 23, 2017 Kill the Explorer or DWM - does not work, only the log out and log back in. Winaero Tweaker somehow does this.. Winaero Tweaker
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now