Share this post

Link to post

Share on other sites

BrewManNH 1,136

BrewManNH 1,136

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Share on other sites

IanN1990 12

IanN1990 12

From the helpfile "If $iNotify is set to 2, the return value is the menu item identifier of the item that the user selected. If the user cancels the menu without making a selection or if an error occurs, then the return value is zero."

So that can only mean an error is happening but i don't see where?

GUICtrlMenu_TrackPopUpMenu generates the popup and pauses the scripts until a return is given.