Using Intel® Visual Fortran to Create and Build Windows*-Based Applications

ID 757211
Date 7/23/2021
Public
Document Table of Contents
Give Feedback

Displaying 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. For example:

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