---
name: "dialog_message"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dialog_message/3alleg4"
---

# dialog\_message(3alleg4)

Sends a message to all the objects in an array. Allegro game programming library.

## NAME

dialog\_message - Sends a message to all the objects in an array. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int dialog\_message(DIALOG \*dialog, int msg, int c, int \*obj);**

## DESCRIPTION

Sends a message to all the objects in an array. If any of the dialog  procedures return values other than D\_O\_K, it returns the value and sets  obj to the index of the object which produced it.

## SEE ALSO

**object\_message**(3alleg4), **broadcast\_dialog\_message**(3alleg4)
