Getting resource ids,menu,buttons etc from an EXE

Hi all,
Is there any way to get the resource ids and information on menu,submenu in a GUI application from its EXE file?
I have used enumresourcenames but its not that helpful.
I am developing a testing tool for GUI applications that requires information about all the resources
in the application its going to test from its exe file.Please help me out.
[385 byte] By [Django] at [2007-11-19 1:59:25]
# 1 Re: Getting resource ids,menu,buttons etc from an EXE
Hi all,
Is there any way to get the resource ids and information on menu,submenu in a GUI application from its EXE file?
I have used enumresourcenames but its not that helpful.
I am developing a testing tool for GUI applications that requires information about all the resources
in the application its going to test from its exe file.Please help me out.Take a look at a "Resource Functions" in MSDN "Platform SDK: Windows User Interface", particulary at:
EnumResourceNames
EnumResourceTypes
....
Also searching the MSDN for these functions could be useful...

PS:
See the sample in "Creating a Resource List" article in MSDN
VictorN at 2007-11-11 0:49:50 >
# 2 Re: Getting resource ids,menu,buttons etc from an EXE
I have used enumresourcenames but its not that helpful.You probably mean EnumResourceNames... What's wrong with that? It's exactly the function for the task you're describing - why did you find it "not that helpful"?
gstercken at 2007-11-11 0:50:51 >
# 3 Re: Getting resource ids,menu,buttons etc from an EXE
Yes i have tried enumresourcenames and enumresourceid but i did not get any info about submenus, and buttons.I need some way to get those...
Anyway Thanx a lot for replying.

Regard,
Django
Django at 2007-11-11 0:51:49 >
# 4 Re: Getting resource ids,menu,buttons etc from an EXE
Yes i have tried enumresourcenames and enumresourceid but i did not get any info about submenus, and buttons.I need some way to get those...Well, as soon as EnumResourceNames() finds a menu resource, for example, you can load that resource using FindResource() (or FindResourceEx()) and LoadResource(). After that, you have a normal HMENU, in the menu example, and you can use the menu related API functions to iterate through submenus and items.
gstercken at 2007-11-11 0:52:49 >