Public TrayHwnd As Integer = FindWindow("Shell_TrayWnd", vbNullString)
Public TrayN As Integer = FindWindowEx(TrayHwnd, IntPtr.Zero, "TrayNotifyWnd", vbNullString)
2 个解决方案
#1
#2
GetWindowInfo 这个API吧
#1
#2
GetWindowInfo 这个API吧