Click to See Complete Forum and Search --> : Ownerdraw Menus


April 30th, 1999, 08:25 PM
Hello. I have a dialog that displays a popup menu when the user right clicks on the dialog. I want this menu to be an ownerdraw menu. I set the menu items to ownerdraw when I insert them using CMenu::AppendMenu(), and I've add message handlers for the WM_DRAWITEM and WM_MEASUREITEM messages. When the menu is displayed, the items are not displayed and the right side of the menu goes of the edge of the screen. Can anyone help me with ownerdraw menu items?

Thanks.
BGjr.