loading popup menu from resource
Posted on 1998-05-04
hi, i need a right-click menu in my app. if i create the CMenu using CreatePopupMenu() and add the items at runtime, everything works fine. but i'd like to load the menu from the resource. but when i use the Loadmenu() function to load the menu from the resource, it is not being displayed properly. i only get a thin vertical strip whose height depends on the number of items in the menu but whose width is always around 10-20 pixels which is not enough to display the text. please help me out if you know a solution.