Jump to content

SetMenuItemInfo


LOULOU
 Share

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))
Link to comment
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
Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...