Results 1 to 5 of 5

Thread: [RESOLVED] Unique Right Click Menu With ComboBox

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    153

    Resolved [RESOLVED] Unique Right Click Menu With ComboBox

    Hi Dears,

    How Can you Create Unique Right Click Menu in ComboBox
    This is The Prophet MOHAMMAD!
    =======================
    My SuperMen:
    RhinoBull, gigemboy, jmcilhinney, |2eM!x, Edneeis and Hack

  2. #2
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Unique Right Click Menu With ComboBox

    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    153

    Re: Unique Right Click Menu With ComboBox

    I always Search before i post

    and i had tried this post. But i Could not Show my menu


    Edit: Check the last replay (it's mine) :P
    This is The Prophet MOHAMMAD!
    =======================
    My SuperMen:
    RhinoBull, gigemboy, jmcilhinney, |2eM!x, Edneeis and Hack

  4. #4
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Unique Right Click Menu With ComboBox

    Add the bold line in manavo11's code:
    VB Code:
    1. Select Case uMsg
    2.         Case WM_CONTEXTMENU
    3.           [b]Form1.PopupMenu Form1.mnuMyPopUpMenu[/b]
    4.            'assuming Form1 is the combobox's container and
    5.            ' mnuMyPopUpMenu is your custom popupmenu
    6.             Exit Function
    7.         Case WM_DESTROY
    8.             UnHook
    9.     End Select

    The value of WM_DESTROY is,
    VB Code:
    1. Private Const WM_DESTROY As Long = &H2
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    153

    Re: Unique Right Click Menu With ComboBox

    I was Tring to add

    Form1.MyMenuNam - Without Form1.PopupMenu

    ...


    Many Thanx
    This is The Prophet MOHAMMAD!
    =======================
    My SuperMen:
    RhinoBull, gigemboy, jmcilhinney, |2eM!x, Edneeis and Hack

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