Generic FunctionPackage: ddeToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version