Name of the evenement when a user click on internet icon is taskbar

xx xx 21 Reputation points
2022-12-14T14:01:13.327+00:00

I want to know if there is a name on the evenement when the user click on the internet icon in the taskbar because I want to ignite an event when the button is pressed

Thank you for your replies

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 90,686 Reputation points
    2022-12-14T14:15:47.347+00:00

    You can check messages with Spy++
    On Windows 10, clicking sends a standard WM_PARENTNOTIFY with WM_LBUTTONDOWN to the parent window (SysPager class, the Internet icon being in a Toolbar)
    But if you don't know Spy++ and messages, I don't see how you will intercept it (in C++ with Hooks (SetWindowsHookEx) or SetWinEventHook for example...)

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. xx xx 21 Reputation points
    2022-12-15T18:08:22.673+00:00

    I found this,
    271148-image.png

    and I suppose the value called TB_HITTEST is the value that differentiate all the button that the pointer is at.
    271172-image.png


  2. xx xx 21 Reputation points
    2022-12-15T20:19:16.427+00:00

    I selected the wrong tag, when I created this post I fixed that. And I needed this because I want to add a cosmetics addition to windows and I haven't found a way to trigger that.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.