Tech Support > Microsoft Windows > Development Resources > build context menus dynamically & FindResource
build context menus dynamically & FindResource
Posted by Sue on April 26th, 2007


Hi,

I build some context menus dynamically. My question is can I use
FindResource function to find the dynamically built menu by providing
the menu's resource ID? Thanks.

Posted by David Lowndes on April 27th, 2007


How (what APIs)?

If it's a resource, you should be able to, but I assume when you say
you built the menu dynamically you just mean by using functions like
CreateMenu, InsertMenuItem, etc. - in which case the menu isn't a
resource.

Dave


Similar Posts