---
name: "dialog_message"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/dialog_message"
---

# dialog\_message(3alleg)

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**(3alleg)](/object_message/3alleg.md), [**broadcast\_dialog\_message**(3alleg)](/broadcast_dialog_message/3alleg.md)
