LOULOU Posted October 14, 2006 Share Posted October 14, 2006 Is someone Can give me the right synthax in Autoit for these function ? These code doesn't work $p = DllStructCreate("int;int;int;int;int;int;int;int;int;int;int;int") ;think of this as p->dwOSVersionInfoSize = sizeof(OSVERSIONINFO) DllStructSetData($p,4,1) ;make the DllCall $ret = DllCall("user32.dll","int","SetMenuIteminfo","hwnd",$hSubMenuTarget,"int",1,"int",0,"ptr",DllStructGetPtr($p)) Link to comment Share on other sites More sharing options...
PaulIA Posted October 14, 2006 Share Posted October 14, 2006 Take a look at Auto3Lib. All of the menu calls are implemented in A3LMenu.au3. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
LOULOU Posted October 14, 2006 Author Share Posted October 14, 2006 Take a look at Auto3Lib. All of the menu calls are implemented in A3LMenu.au3.I Know but my problem is not with Gui created by Autoit. I want to add a submenu toi a menu and after making this submenu enabled and for that i need information about SetMenuItemInfo Link to comment Share on other sites More sharing options...
PaulIA Posted October 14, 2006 Share Posted October 14, 2006 Auto3Lib is not for use with GUI created by AutoIt. It is for manipulating controls in external applications, which is what I understand you are trying to do. If this is not what you are trying to do, can you be more specific? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
GaryFrost Posted October 14, 2006 Share Posted October 14, 2006 old stuff mostly http://www.autoitscript.com/forum/index.php?showtopic=6577not sure any of that will help SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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