| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ErrorClass > ErrorClass Methods >====== HistoryMsg (initialize the message window) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[getsilent get silent error flag.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[init initialize the errorclass object .htm|{{btn_next_n.gif|Next page}}]] | | || **HistoryMsg(**//caption//**,** //icon//**,** //buttons//**,** //default button//**), PROC, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **HistoryMsg** | Initialize the message box window and controls. | | //caption// | A string constant, variable, EQUATE, or expression that specifies the message box window caption. | | //icon// | An integer constant, variable, EQUATE, or expression that indicates the icon to display on the message box. | | //buttons// | An integer constant, variable, EQUATE, or expression that indicates which Windows standard buttons to place on the message box. This may indicate multiple buttons. | | //default button// | An integer constant, variable, EQUATE, or expression that indicates the default button on the message box. | The **HistoryMsg** method initializes the error message dialog. **Return Data Type:     LONG**