object_message(3)

NAME
object_message

SYNOPSIS
#include <allegro.h>

int object_message(DIALOG *dialog, int msg, int c);

DESCRIPTION
Sends a message to an object and returns the answer it has generated. Remember that the first parameter is the dialog object (not a whole array) that you wish to send the message to. For example, to make the second object in a dialog draw itself, you might write:
   object_message(&dialog[1], MSG_DRAW, 0);

SEE ALSO
dialog_message(3)