Results 1 to 4 of 4

Thread: How to change the backcolor of menu?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Location
    china
    Posts
    2

    Talking How to change the backcolor of menu?

    How?

  2. #2
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    Use the Appearance tab on the Display properties when R-Clicking on desktop.

    This can be done programatically but will affect all other window applications at the same time!

    For this reason it is not reccommended.
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  3. #3
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    The API to use is
    Code:
    Public Declare Function SetSysColors Lib "user32" (ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long
    Public Const COLOR_MENU = 4
    
    '=====CALL=====
    ' Change menu to green
    SetSysColors 1, COLOR_MENU, 32768
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  4. #4

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