Use UI Automation
(Inspect tool from SDK to do tests)
How can a vb.net 2019 windows app to access the desktop start bar menus?
I have a VB.net 2019 windows app that uses NativeMethods.keybd_event() and SendKeys.Send() to automatically navigate thru the desktop start bar menus. After a series of SendKeys.Send()'s one of the start menus is selected and a tooltip is displayed. Is there an API I can use in my app to retrieve the selected start bar menu text/tooltip? Thanks.
2 answers
Sort by: Most helpful
-
Castorix31 86,501 Reputation points
2020-12-21T19:20:02.32+00:00 -
Dylan Zhu-MSFT 6,421 Reputation points
2020-12-22T06:48:19.733+00:00 Hi MikeH,
Please refer to this blog: The TaskBar and VB.NET, maybe it could help you.
Best Regards, Dylan
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**