Results 1 to 2 of 2

Thread: Menu Addins How

  1. #1

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335

    Menu Addins How

    i was reading this post
    Addin in a menu and i got happy for a moment. He has a sample there but can i get the ins and outs of doing this? Can someone tell me how this is done. Nice question john tindell. Can you also tell me how you did it or learned this or about it.
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  2. #2

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335
    whats wrong with
    Code:
    HWND i;
    HMENU x;
    HMENU y = NULL;
    
    i = ::FindWindow("KaZaA",0);
    x = ::GetMenu(i);
    //y = ::CreateMenu();
    //::AppendMenu(y,MF_ENABLED | MF_STRING,ID_MN_ONE,"Jason");
    y = CreatePopupMenu();
    AppendMenu(y,MF_STRING | MF_ENABLED,ID_MN_ONE,"A&ddIn");
    AppendMenu(x,MF_STRING | MF_POPUP | MF_ENABLED,(UINT_PTR)y,"A&ddIn");
    
    ::SetMenu(i,x);
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

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