Jump to content
Sign in to follow this  
LOULOU

SetMenuItemInfo

Recommended Posts

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))

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...