Re: Getting menu handle from a floating menu bar

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Vaibhav Sanghavi (VaibhavSanghavi_at_discussions.microsoft.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 04:09:02 -0800

Hi David,

Basically I am showing the list of applications installed on the PC. User
will select the multiple applications from that list and will start the
process. Now for all those selected applications I want to capture the
registry keys and files in which application specific data is stored. For
example If I set that after every 5 minutes Outlook Express should check for
the new emails, this woudl be stored somewhere in the registry or in some
file. I want to capture that registry item or the file. But my application
does not know that what are the registry keys it needs to capture for a
particular application.

So what I am doing is I am launching all user selected applications in the
background (i.e. actually afterwards I will create a new desktop and luach
the application in that new desktop) and then getting the handle of its main
window and the menu. I am hitting all the menu items which will access or
modify registry and file system. I am monitoring these registry and file
system changes using Regmon and Filemon utilities and capturing all such
access and modified items.

So to do this I require the handle of the menu from which I will get the
CMenu* using which I will hit the menu.

I hope I have given a clear picture to you.
Will wait for your reply.

Thanks,
Vaibhav



Relevant Pages

  • Re: How do I get rid of this annoying site
    ... > and your registry is forced into a total conflictive mess. ... I wish that antispyware applications were at that point, ... Same for immunization from spyware - although IE-SpyAd is pretty ... > legitimate software like Real Player and Ipod install spyware on your ...
    (microsoft.public.windowsxp.help_and_support)
  • Pc Again Slowing down.......
    ... Having to reinstall Windows and all applications, ... I Wonder if M'soft has ever thought of (if it IS the registry), ... and on one occasion - where I still had some apps previously installed ...
    (microsoft.public.windowsxp.general)
  • Re: Pc Again Slowing down.......
    ... XP needs nothing listed in msconfig/startup to boot. ... Having to reinstall Windows and all applications, ... I Wonder if M'soft has ever thought of (if it IS the registry), ...
    (microsoft.public.windowsxp.general)
  • Re: Shutdown Problem
    ... You said you have around 7 hung applications so the software for the Linksys ... card maybe one of them but I cannot see how it would make the others ... Setting the timeout to 1 second will help shutdown as you have ... To create or modify the registry, ...
    (microsoft.public.win2000.general)
  • Re: Honestly Curious
    ... Other applications shouldn't be dependent on other applications ... registry settings. ... If an application is dependent on another applications dlls then it ... How do you know what .dlls are used by more than one app? ...
    (comp.sys.mac.advocacy)