Intel® Fortran Compiler with Windows-Based Applications

ID 757211
Date 6/30/2025
Public
Document Table of Contents

Display Message Boxes

MESSAGEBOXQQ causes your program to display a message box. You can specify the message the box displays and the caption that appears in the title bar. Both strings must be null-terminated C strings. You can also specify the type of message box. Box types are symbolic constants defined in DFLIB.MOD, and can be combined by means of the IOR intrinsic function or the .OR. operator. The available box types are listed under MESSAGEBOXQQ in the Language Reference in the Intel® Fortran Compiler Developer Guide and Reference. For example:

   USE IFQWIN
  INTEGER response
  response = MESSAGEBOXQQ('Retry or Cancel?'C, 'Smith Chart   &
  & Simulator'C, MB$RETRYCANCELQWIN .OR. MB$DEFBUTTON2)