VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Color your Form's Border Based on the Background Color

james kahl  (8 Submissions)   Custom Controls/Forms/Menus   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Ever get frustrated that when you change the background color of a form the forms border doesn't change as well. Now it can.

API Declarations
GetSystemMetrics
GetWindowDC
ReleaseDC
CreatePen
DeleteObject
SelectObject
LineTo
OleTranslateColor

Rate Color your Form's Border Based on the Background Color (4(4 Vote))

Download Color your Form's Border Based on the Background Color

Color your Form's Border Based on the Background Color Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters