VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Color your Form's Border Based on the Background Color

by james kahl (8 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

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

Download Color your Form's Border Based on the Background Color (3 KB)

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

No comments have been posted about Color your Form's Border Based on the Background Color. Why not be the first to post a comment about Color your Form's Border Based on the Background Color.

Post your comment

Subject:
Message:
0/1000 characters