回答編集履歴
1
ReleaseDC の引数修正
answer
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
Using g As Graphics = Graphics.FromHdc(hdc)
|
53
53
|
DrawBorder(g)
|
54
54
|
End Using
|
55
|
-
ReleaseDC(
|
55
|
+
ReleaseDC(m.HWnd, hdc)
|
56
56
|
Case BorderStyle.FixedSingle
|
57
57
|
Using g As Graphics = CreateGraphics()
|
58
58
|
DrawBorder(g)
|