Changes the title of a WinBatch box.
BoxCaption(box ID, caption)
(i) box ID the ID number of the desired WinBatch box.
(s) caption title for the box.
(i) @TRUE on success; @FALSE on failure.
This function sets the title of the Window. The main window always has a title (caption) bar. Windows created with the BoxNew function, using a "2" for the style parameter also have a caption bar. If the box does not have a caption bar, the function is effectively ignored.
;; sample script for BoxCaption BoxesUp("200,200,700,700", @NORMAL) BoxDrawText(1, "0,310,1000,1000", "WinBatch Box Example - BoxCaption%@crlf%%@crlf% Keep your eye on the Title Bar", @FALSE, 1) BoxCaption(1, "WinBatch BoxCaption Example") TimeDelay(5) BoxCaption(1, "Change the title to whatever you like") TimeDelay(3) BoxCaption(1, "You have the power") TimeDelay(3)