musicstashall Posted July 23, 2017 Share 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 ?? Link to comment Share on other sites More sharing options...
Trong Posted July 23, 2017 Share 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, Link to comment Share on other sites More sharing options...
musicstashall Posted July 23, 2017 Author Share 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 . Link to comment Share on other sites More sharing options...
Trong Posted July 23, 2017 Share 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, Link to comment Share on other sites More sharing options...
InunoTaishou Posted July 23, 2017 Share Posted July 23, 2017 Might have to kill dmw.exe or kill dwm.exe and explorer Link to comment Share on other sites More sharing options...
musicstashall Posted July 23, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
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