Finding and simulating a click on a system tray icon?

前端 未结 2 1323
轮回少年
轮回少年 2021-01-14 15:27

I need to figure out how to programmatically find and select a context menu item from a separate application\'s system tray icon. The only way I could imagine accomplishing

2条回答
  •  半阙折子戏
    2021-01-14 16:34

    See this MSDN Forum article which discusses how to find the systemTray's Handle. The article then references a CodeProject Article on how to find the handle of the application you are searching for. I have not tried this but it looks like it might be a viable starting point.

提交回复
热议问题