start menu

  • Thread starter Thread starter mnsindhu74
  • Start date Start date
Hi,

Do you mean having an application that when is running can detect which item
is selection the user on the windows start menu?

If so, remember that the task is a windows by itself, you can easily query
it using the Win32 fucntion FindWindow (use Spy++ to get the name of the
classes) the whole start menu is a class with items, you can easily read the
values getting the handles.

If this is not what you mean, can you explain better,
Regards
Salva
 
yes, I wanted not only the item in the startmenu itself but also the
items in the submenus. My aim is to animate a taskbar icon when user
tries to load the app through startmenu->programs->App

thank you
 
Hi,

So the answer is in my previous message,

you need to FindWindow and get the Handle, then you can listen to the
messages using PeekMessage (so you read it but you also retrow it for its
message handler) and then you can do whatever you like. Is a window, so you
can send new messages if you want.

Hope this helps
Salva
 
Back
Top