-
Hi !
I want to know how to change the bordercolors, of a Menu!
I have created my own custom Dynamic Menu, with changed backcolors and everything, the only problem now is I really really really need to change the Menus borders, change the borders, Or the Colors...
Please, if you can Help Me !!!
-
I'm not a pro but I wan't to learn API so I locked and I found this API
Code:
Public Declare Function SetSysColors Lib "user32" Alias "SetSysColors" (ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long
and I played with it until all colors where fu.. up but I did change the boardercolor somehow!
Any API pro that may assist?
-
I'm onto something.. please don't tell me the sollotion yet.. I fount this link at MS:
http://msdn.microsoft.com/library/ps...sinfo_619v.htm
I'm working to solve this for you... this was fun.
-
I don't want to change the color of EVERY border, just the menus that's created by me...I know the menus hMenu and that's all, please help me !
-
Test this. I don't know if this is what you want.. This changes make the whole Windows defalt color to change.. I like it.. pretty fun..
Code:
Dim l As Long
l = SetSysColors(1, 10, 244)
This will make the border red.
Don't forgett to declare the
Code:
Public Declare Function SetSysColors Lib "user32" Alias "SetSysColors" (ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long