Results 1 to 4 of 4

Thread: Color the PopUp menu...

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    45

    Color the PopUp menu...

    I wont to color the popup menu,
    is there any way to do this with api or else?

    Thanx
    VBmaster

  2. #2
    champgary
    Guest

    Re: Color the PopUp menu...

    Originally posted by shaykan
    I wont to color the popup menu,
    is there any way to do this with api or else?

    Thanx
    This thread contain some threads which help you

    http://209.120.143.185/search.php?s=...ost&sortorder=

    Gary

  3. #3
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Well I've seen Menu bars coloured in... why not PopUp Menus...

    Have you tried adding the code to colour in the Menu Bars and then had a look at what happens when the popup menu appears?

    In theory it could be the same colour as that of the menu.

    But... just a theory.
    Don't Rate my posts.

  4. #4
    Lively Member The Hand's Avatar
    Join Date
    Jun 2001
    Posts
    88

    Post

    Owner drawn menus.

    I capture the menu on WM_INITMENUPOPUP, apply the OD style, and then draw them how I want.

    For changing the background color, you just need to modify the routine to use CreateSolidBrush instead of CreatePatternBrush.
    Visit EliteVB for slimy subclassing tricks and GDI32 goodness.

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