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

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