Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get menu state
#2
The first code sends menu message even if the item does not exist.

Maybe the menu item exists only when the menu is visible, or after it was visible once.

This code works.
Macro Macro2872
Code:
Copy      Help
int w1=win("Untitled - Notepad" "Notepad")
act w1
men 27 w1 ;;Status Bar
key Av ZZ ;;show menu, to update menu item state
out men(27 w1)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)