Results for the createpopupmenuCreatePopupMenu -I'm using the CreatePopupMenu & InsertMenu API Calls to create the Favorites menu on the fly. I've already achieved that... however, does anybody know how to detect the click on any of those submenues. What's more... is there anyway to get their handle? SetMenuItemBitmaps & CreatePopupMenu [RESOLVED!!!!] - How can I set Pictures into a menu created by CreatePopupMenu?? Part of the problem is that this is Access2000 how do I get the handle of an Image... in an imaglist? or image control? CreatePopupMenu and Icons - I have created a program that creates a menu at runtime via CreatePopupMenu. Now I would like to add some icons to it. I have found a lot of code that adds icons to existing menus (both create in the menu editor and the system menu). But no one of them works. Does any one knows what c Menus in multiple parent windows - Let's say I have two windows (windows like the Internet Explorer window, or a dialog box window; it's that main parent container window with a title bar and an icon, along with the minimize maximize and close boxes), alright? I am trying to append a menu to each of them: case WM_ Appendmenu description string garbled - I am trying to use Appendmenu to dynamically add sub menus. I am playing with the code and can't get the menu description to display. It is just garbled ascii as if i was using a bad pointer. Here is the code, i am referencing win32.tlb so the i haven't declared these functions in Menu Checkmarks - I am making a program in which I create my own menues using CreatePopupMenu(), etc. I want to set custom checkmark bitmaps, but can't figure out how. When I try to use SetMenuItemBitmaps(...) it returns zero. When I try to use SetMenuItemInfo(...) it won't display correctly. I've tried System Tray Pop Up Menu - How can I get my form's icon in the system tray with menu without my form having a title bar? Can this be done with CreatePopUpMenu/DestroyMenu? Make the Popup Menu go away! - My program is using the Form.Popupmenu routine to create a popup menu, but when the user clicks somewhere out side of the popup menu's bounds, the menu does not go away. Is there a way to force it to disappear without using the API CreatePopupMenu instead? Creating menu on other application - ok, i want to create a new popup menu on another application. I know how to make a new menu on the application, but none of the submenus show up. I'm pretty sure that I'm supposed to use CreateMenu, CreatePopUpMenu, and AppendMenu, but I cant quite figure out how to use them properly Tooltip on menuitem [Unresolved] - Hi! I'm wonder if there is a way to make a tooltip on a menu item. I have a program that creates a menu with CreatePopupMenu and I would like to add a tooltip on the menu. I have seen one other programs that does this, but I think that the program was written in C. Regards, Henr Placing popupmenus into other programs - Hi, basically i have code that creates a menu inside another program, ie it lets me put a menu into notepad called "Alistair". However I cant work out (Becuse im dumb) how i get the items in the menu to do stuff? So does any1 know how? Thanks for any help I think Using APIs to Create submenu or submenu array - I know the code to create a popupmenu and fill it with items. Here is the code: Code: Public Declare Function CreatePopupMenu Lib "user32.dll" () As Long Public Type MENUITEMINFO cbSize As Long fMask As Long fType As Long fState As Long wID As Create a New Menu - hi all i used this code for create a new menu Code: Const MF_CHECKED = &H8& Const MF_APPEND = &H100& Const TPM_LEFTALIGN = &H0& Const MF_DISABLED = &H2& Const MF_GRAYED = &H1& Const MF_SEPARATOR = &H800& Const MF_STRING = & Am I missing something - This is rough coding right there...But It should work, BUT IT DOESN'T! What it does is take a file like MENU -MENU --MENU --MENU -MENU -MENU --MENU --MENU --MENU MENU -MENU -MENU -MENU --MENU --MENU and put it into seperate pop up menus. I dunno why it doesn't wor API Dynamic Menu - I've created subitem menus with the following function. If i know the handle of a specific subitem menu how can I disable it? Function AddPopupMenu(ByVal mhnd, ByVal menucap$, PopupHnd) As Boolean AddPopupMenu = False 'create a new popup and save the handle Menu Problems - Sorry I have posted this before but I really need to solve this problem. AppendMenu I am using appendmenu (API) to create a popup menu, dose anyone know how to make a second level menu item. The following is my code hMenu = CreatePopupMenu() 'Append a few menu items Popup menu help - Hi all. I saw this code (below)in another forum. It creats a popupmenu when you right click on the form...just wondering how you make it apply to a text box, so that when you right-click on a text box, it will come up. Any help much appreaciated. Option Explicit Const MENU_OPEN Menu seperator - How do I create a menu seperator (in a Win32 program). I've got the following code; Code: // Creates sub menu hSubMenu = CreatePopupMenu(); AppendMenu(hSubMenu, MF_STRING, IDC_MENU_NEW, "&New"); AppendMenu(hSubMenu, MF_STRING, IDC_MENU_OPEN, "&Open" Addin in a menu - hey im trying to create an menu addin, i can create the menu item and but all of the submenu items are disabled? is there a differnet function that should be used? Code: ghwnd_Kazaa = FindWindow("KaZaA",NULL); hKazaaMain = GetMenu(ghwnd_Kazaa); HMENU hSubMenu = NULL Using the createpopupmenu API - Im useing the create pop up menu api, and i got this fora code VB Code: Const MF_CHECKED = &H8&Const MF_APPEND = &H100&Const TPM_LEFTALIGN = &H0&Const MF_DISABLED = &H2&Const MF_GRAYED = &H1&Const MF_SEPARATOR = &H800&Const MF_ST |