Jump to content

Recommended Posts

Posted (edited)

I am still creating my own menu items and I am on the final stretch.

In a normal menu bar, you click on a menu and a list of menu items comes up.

Then, if you move your mouse over a different menu, that menu automatically shows up.

I am trying to replicate this, but I can't seem to manually hide the context menu and show the next one. I have tried sending the escape key and also using the EndMenu dllcall. Both of these methods hide the context menu, but then I can't show the next context menu until I click with the mouse.

I have two messages registered to see if and what menu is open.

Am I missing a dllcall or is there a workaround I am unaware of?

The GUICtrlSetOnHover_UDF.au3 file can be found here.

FileMenu.au3

Edited by dantay9
Posted

I also tried _SendMessage($GUI, $WM_CANCELMODE). This hides the menu my other tries, but I still can't show the next menu until I click with the mouse. Then I tried mouseclick to simulate the clicking of the mouse to exit the menu with the same result.

Posted

Wow. I thought I just missed something easy. Guess not. I will put another gui over a menu for now. If anyone finds the answer, please tell me.

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
×
×
  • Create New...