Results 1 to 2 of 2

Thread: PopupMenus (DYNAMIC)

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 1999
    Location
    Grand Ledge, Mi USA
    Posts
    1

    Question

    Hi,

    I'd just recently learned how to create dynamic menus using API calls. It works great to place/handle these menus on the form's menu bar, but unfortunately the PopupMenu function doesn't support menu handles. I believe there is an API that invokes a popup menu, but I have no idea how to use it.

    Does anyone know how to use the API call, or know of a better way?
    I am the LightAngel. I live how I want, and get what I want (though it may take some time). I ride the mists of morning, awaiting the true beauty of nature and the powers of light, color, and logic. My counterpart is the DarkAngel.

    "There are only three things in life you need to do to make it through: Live everyday as if you were to die tomarrow, Love everyone who is close to you, and Learn all that you possibly can; you never know when you may need it."

  2. #2
    Guest
    maybe this?

    Code:
    Public Declare Function GetMenu Lib "user32" Alias "GetMenu" (ByVal hwnd As Long) As Long

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