LoginSignup
0
1

More than 5 years have passed since last update.

winAppDev > Link > Windows 10 > invisible border > 1px: visible, 8px: invisible

Last updated at Posted at 2018-04-25

関連

invisible border

上記のリンク先にてウィンドウ間のマージンができる件について、以下を見つけた。

Is it possible to turn visible the invisible window's borders of Windows 10?

At this point, knowing that In Windows 10 the real border width is 8 px, but only 1 px. is shown, and the rest of the border is just... invisible,

boder自体は8 pxあるが、見えるのは1 pxのようだ。

ウィンドウのWidth(やHeight)を取った時、invisible borderの幅(や高さ)も含めたサイズが返っていると認識している。

Windows 10の場合のみ、この埋め合わせをしないといけないのだろうか。

link

"invisible border"のキーワードで以下を見つけた。

answered May 18 '16 at 23:59
mikew
The resizable border on the left/right/bottom is now invisible on Windows 10

左、右、下がinvisibleとのこと。

対応

(追記 2018/04/26)

C++ Builder 10.2 Tokyo > Forms > フォームを並べたときに空白がないように配置する (Windows 7, 8.1, 10)
に記載のGetVisibleWindowSize()にてvisible borderの情報を取るようにして対応した。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1