Jump to content

how to detect the focus menu item


Recommended Posts

Hello
I have an inquiry please
when i use the control get focus
it don't detect the menu item
there are any Method to do that?
i'll use that to make a custom screen reader in my program
please help me to do that
I am waiting for your answers
greetings to you
Thank you in advance

 

Link to comment
Share on other sites

  • 5 months later...

A common way to do this is to listen for WM_MENUSELECT messages that are sent when a menu item becomes highlighted and gets input focus.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...