Results 1 to 5 of 5

Thread: Think I'm gonna start crying if someone won't help me with this...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Unhappy

    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 !!!

    Thank you, Jerry.

    Homepage: http://fraxionsoftware.cjb.net
    ICQ: 40269591
    Mail: Contact Me

  2. #2
    Lively Member
    Join Date
    May 1999
    Posts
    100
    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?

  3. #3
    Lively Member
    Join Date
    May 1999
    Posts
    100
    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.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Unhappy

    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 !

    Thank you, Jerry.

    Homepage: http://fraxionsoftware.cjb.net
    ICQ: 40269591
    Mail: Contact Me

  5. #5
    Lively Member
    Join Date
    May 1999
    Posts
    100
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width