PC Review


Reply
Thread Tools Rate Thread

How do I find handle of the taskbar

 
 
=?Utf-8?B?U2FuamVldiBTaGFybWE=?=
Guest
Posts: n/a
 
      11th Jul 2007
I have rather two questions. First, where do I query technical stuff like
this(Q on Subject) about WIndows? And second the question itself. I need to
get handle for the taskbar but I don't know its window name so as to use
'FindWindow'. Anyother way? The code may be specific to WinXP and may be
coded in VB or C++.
 
Reply With Quote
 
 
 
 
·
Guest
Posts: n/a
 
      11th Jul 2007
Sanjeev Sharma wrote:

> I have rather two questions. First, where do I query technical stuff
> like this(Q on Subject) about WIndows? And second the question
> itself. I need to get handle for the taskbar but I don't know its
> window name so as to use 'FindWindow'. Anyother way? The code may be
> specific to WinXP and may be coded in VB or C++.


http://www.nirsoft.net/utils/winlister.html
(Enable "Display Hidden Windows" option)

http://www.nirsoft.net/utils/winexp.html


 
Reply With Quote
 
alanglloyd@aol.com
Guest
Posts: n/a
 
      11th Jul 2007
On Jul 11, 7:12?am, Sanjeev Sharma
<SanjeevSha...@discussions.microsoft.com> wrote:
> I have rather two questions. First, where do I query technical stuff like
> this(Q on Subject) about WIndows? And second the question itself. I need to
> get handle for the taskbar but I don't know its window name so as to use
> 'FindWindow'. Anyother way? The code may be specific to WinXP and may be
> coded in VB or C++.


Google is your friend <g>. Entering "Taskbar Handle" discovered ...

hTaskbar := FindWindow('Shell_TrayWnd', Nil );

Alan Lloyd

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      11th Jul 2007
Alan gave the information you need. To determine Window class, you may use one of these tools:

Spy++ (part of Visual Studio package)

or

Winspector - Ultimate Windows Message Spy:
http://www.windows-spy.com/


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Sanjeev Sharma" <(E-Mail Removed)> wrote in message news:4C0BF128-D0BA-48E0-BD20-(E-Mail Removed)...
I have rather two questions. First, where do I query technical stuff like
this(Q on Subject) about WIndows? And second the question itself. I need to
get handle for the taskbar but I don't know its window name so as to use
'FindWindow'. Anyother way? The code may be specific to WinXP and may be
coded in VB or C++.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get the handle for the Taskbar =?Utf-8?B?U2FuamVldiBTaGFybWE=?= Windows XP General 0 11th Jul 2007 07:06 AM
Toolbar handle for address button on taskbar =?Utf-8?B?eHByb2RhdGE=?= Windows XP General 1 25th Jul 2004 09:06 AM
OT: how to find out max. processer a mo-bo can handle Bucky Windows XP Setup 3 12th Jan 2004 06:03 AM
Find.execute , unable to find a handle to a window amit Microsoft C# .NET 0 18th Nov 2003 05:23 AM
Find.execute , unable to find a handle to a window amit Microsoft C# .NET 0 18th Nov 2003 05:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 AM.