Hi all,
I am working on an application which has a list view, and can open a context menu on each one of the list item.
How can I get information about the menu?
I managed to go through the menu items by sending "down" commands.
But how can I check for example the items text?
I tried this:
$hMenu = _GUICtrlMenu_GetMenu($hListViewHandle)
$itemtext =_GUICtrlMenu_GetItemText($hMenu, 1)
ConsoleWrite("Menu item text: " & $itemtext & @CRLF)
but $itemtext was empty.
I think my problem is getting the menu handler, because I am familiar with the _GUICtrlMenu functuions.
Thanks!