Zephir Posted March 13, 2008 Share Posted March 13, 2008 Hello fellows, I am working on a little project and wanted to implement a right click menu ala windows. Since I did not find anything premade in autoit (it does have a nice right click on tray icon menu option though) I decided to make my own. Now my idea ís to having a while loop constantly listening to the users right mouse button. once it is clicked a little GUI is created at mouse coordinates with little buttons on it. Since this menu will only pop up if the right click is performed within the main GUI I do not have to block the windows context menu. What do you think? Is this the best way of doing it? I doubt it. Do not see a better option right now though. Please give me a hint Thank you, Zephir Link to comment Share on other sites More sharing options...
exodius Posted March 13, 2008 Share Posted March 13, 2008 (edited) Step 1: Download the latest stable version of AutoIt (3.2.10.0 at the time of this posting) Step 2: Search the helpfile for GuiCtrlCreateContextMenu Step 3: Profit Edited March 13, 2008 by exodius Link to comment Share on other sites More sharing options...
Zephir Posted March 13, 2008 Author Share Posted March 13, 2008 sweet they always implement the things when i need them thank you exodius Link to comment Share on other sites More sharing options...
exodius Posted March 13, 2008 Share Posted March 13, 2008 No prob, it snuck in there on me too, I just stumbled on it one day. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now