Generic FunctionPackage: ddeToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

dde-message

Arguments: (port dde-port) message &key warning

This generic function is called as various DDE events occur, to tell a DDE client or server that is running in lisp what has happened. The default method may be overridden in order to handle or display the messages as desired.

port is the client-port or server-port (each is a sublcass of dde-port) to which the message pertains. message is a string containing the message. warning is true if the message is a warning rather than simply informational.

Here is the default method, which simply prints the messages to *trace-output* when *generate-dde-messages* is true:

(defmethod dde-message ((port dde-port) message &key warning)
  (when *generate-dde-messages*
    (when warning (win:MessageBeep 0))
    (format *trace-output* 
        (if warning
            "~&DDE Warning:  ~a~%"
          "~&DDE: ~a~%")
      message)))

See dde.htm for information about DDE support.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version