C# How to determine if hwnd is in tray icons

后端 未结 3 1802
难免孤独
难免孤独 2021-01-21 18:37

I am trying to get the hwnd of the current tray icons. what I did is getting the hWnd of system trat window by using this code:

[DllImport(\"user32.dll\", SetLas         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-21 19:05

    There are no child handles. You can verify this via Spy++.

    It is not hosing sub-controls, but rendering and handling things like tooltips directly.

    enter image description here

提交回复
热议问题