PDA

Click to See Complete Forum and Search --> : PopupMenus (DYNAMIC)


SpiSoft
Jun 1st, 2000, 03:37 AM
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?

Jun 2nd, 2000, 08:48 AM
maybe this?


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