
Allows you to control the menu box of a Windows application.
Example
Running this code will create UI buttons showing options for menu box controls.

This code will create a UI button that will run “Notepad”.


This code will create a UI button that will enable all menu box controls.


This code will create a UI button that will disable all menu box controls.


This code will create a UI button that will disable "Minimize" in the menu box controls.


This code will create a UI button that will disable "Maximize" in the menu box controls.


This code will create a UI button that will disable "Close" in the menu box controls.
ui button("Run Notepad") {
shell("cmd /c start \"\" \"notepad.exe\"")
}
ui button("Enable All") {
plugin command("Desktop Automation.dll", "app window menu box control", "notepad", "", "True", "True", "True", 0)
}
ui button("Disable All") {
plugin command("Desktop Automation.dll", "app window menu box control", "notepad", "", "False", "False", "False", 0)
}
ui button("Disable Minimize") {
plugin command("Desktop Automation.dll", "app window menu box control", "notepad", "", "False", "True", "True", 0)
}
ui button("Disable Maximize") {
plugin command("Desktop Automation.dll", "app window menu box control", "notepad", "", "True", "False", "True", 0)
}
ui button("Disable Close") {
plugin command("Desktop Automation.dll", "app window menu box control", "notepad", "", "True", "True", "False", 0)
}