Command Prompt for Windows




Dialog Batch Commands

Dialog Batch Commands are commands that are included in the WinOne® Command Prompt that allow you to write Windows style programs using Dialog Boxes and various controls, within a batch file. They include :-

  • CBADD
  • Add a string or get number of strings from the list box of a combo box.
  • CBDELETE
  • Delete a string from the list box of a combo box or clear the combo box.
  • CBDIR
  • Add a list of file names to the list box of a combo box.
  • CBFIND
  • Search the list box of a combo box for a string.
  • CBGET
  • Get the index of the currently selected string in the list box of a combo box.
  • CBINSERT
  • Insert a string into the list box of a combo box.
  • CBSET
  • Set the current selection for the list box of a combo box.
  • CBTEXT
  • Get a string from the list box of a combo box.
  • CHECK
  • Set the state of a check box.
  • DLGBOX
  • Create a dialog box.
  • DLGEND
  • End a dialog box.
  • DLGENDALL
  • End all dialog boxes.
  • DLGITEM
  • Add an item to a dialog box.
  • DLGMENU
  • Add an item to a dialog boxes menu bar.
  • DLGSHOW
  • Display a dialog box
  • ENABLE
  • Enable or disable an item in a dialog box.
  • GETFOCUS
  • Retrieve the identifier of the dialog item that has the keyboard input focus.
  • GETTEXT
  • Retrieve the caption of a dialog box or the text of a dialog box item.
  • GREY
  • Grey or ungrey a menu item in a dialog box.
  • ISCHECKED
  • Determine the state of a check box or a radio button.
  • ISENABLED
  • Determine whether an item is enabled or disabled.
  • ISGREYED
  • Determine whether or not a menu item is greyed.
  • ISTICKED
  • Determine whether or not a menu item is ticked.
  • LBADD
  • Add a string or return the number of strings contained in a list box.
  • LBDELETE
  • Delete a string from a list box or clear the contents of a list box.
  • LBDIR
  • Add a list of file names to a list box.
  • LBFIND
  • Search a list box for a string.
  • LBGET
  • Get the index of the currently selected string in a list box.
  • LBINSERT
  • Insert a string into a list box.
  • LBSET
  • Set the current selection for a list box.
  • LBTEXT
  • Get a string from a list box.
  • RADIO
  • Set the state of a group of radio buttons.
  • SETFOCUS
  • Set the keyboard input focus to the specified dialog box or item.
  • SETTEXT
  • Set the caption of a dialog box or the text for a dialog box item.
  • TICK
  • Tick or untick a menu item in a dialog box.