Jump to content

How do I find handle of the taskbar


Recommended Posts

Guest Sanjeev Sharma
Posted

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++.

  • Replies 3
  • Created
  • Last Reply

Popular Days

Posted

Re: How do I find handle of the taskbar

 

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

Guest alanglloyd@aol.com
Posted

Re: How do I find handle of the taskbar

 

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

Guest Ramesh, MS-MVP
Posted

Re: How do I find handle of the taskbar

 

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" <SanjeevSharma@discussions.microsoft.com> wrote in message news:4C0BF128-D0BA-48E0-BD20-45881CA003C4@microsoft.com...

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++.


×
×
  • Create New...