new context menu Event

Discussion in 'Basic4ppc Wishlist' started by Cableguy, Aug 5, 2008.

  1. Cableguy

    Cableguy Expert Licensed User

    Erel, could you possible include the pop-up Event of the context menu..
    it would be helpfull determining wich menu items to be made enable before showing the actual menu, as this event fires BEFORE the show...
     
  2. DaveW

    DaveW Active Member Licensed User

    Erel,

    I don't want to be a nag, but this is a very interesting suggestion. I was happily working on my programs interface when I was amazed to find that there is no click event for the top level menu items! I am really not sure how I am going to set the enabled states of the items now :-(

    Perhaps this could be done with Door.dll?

    :signOops:Answered my own question - it can be done with dzEventMagic

    dzem.New1("frmMain", False)
    dzem.Hook(279)

    279 is WM_INITMENUPOPUP
    dzem.lParam returns a digit 1 = first item, 2 = second, etc.
     
    Last edited: Nov 12, 2008
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice