miguelleeuwe
Programmer
Hi all,
windows 7 - border fill has a value of 4. Our applicationa has been designed at minimum resolution of 1024x768.
problem:
problem of window not fitting completely on the screen at resolution of 1024.
If setting manually the windows border fill to 0 (aero themes) or use windows classic Theme, everything goes fine but client does not want to oblige all of it's users to do so.
We have too many windows to manually redesign them to occupy less.
In registry exists "PaddedBorderWidth" (someway the value assigned shows as 'value x -15') but users do not have rights to change the setting manually and would affect other many applications at client).
Decided to used api: "SetWindowTheme" and so far achieved to assign windows classic theme to the main window, but border thickness (really 'border edge fill' still remains the same: 4 or whatever users assigned in his windows settings (metrics).
Does anyone know how to change the border thickness (edge fill) by means of API functions?
I'd be very greatfull sin msdn documentation is quit miserable.
TIA,
Miguel Leeuwe
regards,
Miguel L.
windows 7 - border fill has a value of 4. Our applicationa has been designed at minimum resolution of 1024x768.
problem:
problem of window not fitting completely on the screen at resolution of 1024.
If setting manually the windows border fill to 0 (aero themes) or use windows classic Theme, everything goes fine but client does not want to oblige all of it's users to do so.
We have too many windows to manually redesign them to occupy less.
In registry exists "PaddedBorderWidth" (someway the value assigned shows as 'value x -15') but users do not have rights to change the setting manually and would affect other many applications at client).
Decided to used api: "SetWindowTheme" and so far achieved to assign windows classic theme to the main window, but border thickness (really 'border edge fill' still remains the same: 4 or whatever users assigned in his windows settings (metrics).
Does anyone know how to change the border thickness (edge fill) by means of API functions?
I'd be very greatfull sin msdn documentation is quit miserable.
TIA,
Miguel Leeuwe
regards,
Miguel L.