How do i get the text of an Item selected in the start menu ?
start menu
Collapse
This topic is closed.
X
X
-
mnsindhu74@yahoo.comTags: None -
Salvador
RE: start menu
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
"mnsindhu74@yah oo.com" wrote:
[color=blue]
> How do i get the text of an Item selected in the start menu ?
>
>[/color]
-
mnsindhu74@yahoo.com
Re: start menu
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
Salvador wrote:[color=blue]
> Hi,
>
> Do you mean having an application that when is running can detect[/color]
which item[color=blue]
> is selection the user on the windows start menu?
>
> If so, remember that the task is a windows by itself, you can easily[/color]
query[color=blue]
> it using the Win32 fucntion FindWindow (use Spy++ to get the name of[/color]
the[color=blue]
> classes) the whole start menu is a class with items, you can easily[/color]
read the[color=blue]
> values getting the handles.
>
> If this is not what you mean, can you explain better,
> Regards
> Salva
>
>
> "mnsindhu74@yah oo.com" wrote:
>[color=green]
> > How do i get the text of an Item selected in the start menu ?
> >
> >[/color][/color]
Comment
-
Salvador
Re: start menu
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
"mnsindhu74@yah oo.com" wrote:
[color=blue]
> 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
>
> Salvador wrote:[color=green]
> > Hi,
> >
> > Do you mean having an application that when is running can detect[/color]
> which item[color=green]
> > is selection the user on the windows start menu?
> >
> > If so, remember that the task is a windows by itself, you can easily[/color]
> query[color=green]
> > it using the Win32 fucntion FindWindow (use Spy++ to get the name of[/color]
> the[color=green]
> > classes) the whole start menu is a class with items, you can easily[/color]
> read the[color=green]
> > values getting the handles.
> >
> > If this is not what you mean, can you explain better,
> > Regards
> > Salva
> >
> >
> > "mnsindhu74@yah oo.com" wrote:
> >[color=darkred]
> > > How do i get the text of an Item selected in the start menu ?
> > >
> > >[/color][/color]
>
>[/color]
Comment
Comment