UPDATE_COMMAND_UI in dialog base program

Printable View