Jump to content
Macro Express Forums

Windows Sizing Border - how to get the value


Recommended Posts

Hi Alan,

 

Did you have any success? Here, on my XP Pro PC, the BorderWidth key reports a value of -15 which is puzzling. (I don't have a PaddedBorderWidth key.)

 

Try exploring this alternative approach (with appropriate changes for Vista/Win 7/8/10).

Control Panel > Display > Appearance > Advanced > Item > Active Window Border > Size and capture from that box into your variable.

 

Yet another quite different idea (not tried) would be to actually measure it, counting pixels from just outside the border in a known environment.

 

 

--
Terry, East Grinstead, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...