i want do something like:
this code opens the tray notification icons window:
Dim Shell_TrayWnd As IntPtr = FindWindow("Shell_TrayWnd", "")
Dim TrayNotifyWnd As IntPtr = FindWindowEx(Shell_TrayWnd, 0, "TrayNotifyWnd", "")
Dim TrayNotifyButtonWnd As IntPtr = FindWindowEx(TrayNotifyWnd, 0, "Button", "")
Dim BM_CLICK As Integer = &HF5
SendMessage(TrayNotifyButtonWnd, BM_CLICK, 0, 0)
now i want to do something like:
RightMouseClick(SkypetrayIcon)
ClickOnOption(SkypetrayIconMenuHandle,0)
how can i do something like that?. Maybe there is another way to do it(easier way)