Finding a window in taskbar

Andrew None 1 Reputation point
2021-04-06T16:57:02.36+00:00

Hi. Is there a way to find out a window handle of running app when mouse cursor is over app's taskbar button or app's group's taskbar button? Thanks.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,429 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. David Lowndes 4,711 Reputation points
    2021-04-06T20:31:43.24+00:00

    See if this helps to answer your question.


  2. Castorix31 81,831 Reputation points
    2021-09-19T15:13:33.847+00:00

    There is a way by injecting a DLL to hook Explorer internal interfaces like CTaskItem/ITaskItem, CTaskGroup/ITaskGroup, but it is complex
    You can see the method in taskbar_inspector.c

    0 comments No comments