home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / CSAPE32.ARJ / INCLUDE / MSGWIN.H < prev    next >
Text File  |  1990-08-28  |  643b  |  33 lines

  1. /*
  2.     msgwin.h        8/07/89
  3.  
  4.     % message window routines header.
  5.     by jmd.
  6.  
  7.     OWL    1.1
  8.     Copyright (c) 1989, by Oakland Group, Inc.
  9.     ALL RIGHTS RESERVED.
  10.  
  11.     Revision History:
  12.     -----------------
  13. */
  14.  
  15. /* #include "winobj.h" - already included via odisp.h */
  16.  
  17. /* -------------------------------------------------------------------------- */
  18.  
  19. extern class_func        (msgwin_Class);
  20.  
  21. typedef struct _msgwinxd {
  22.     win_xd        wd;
  23.  
  24.     char       *msg;
  25.  
  26. } msgwin_xd;
  27.  
  28. #define msgwin_getxd(win)            ((msgwin_xd *) win_getxd(win))
  29.  
  30. #define msgwin_GetMsg(win)            (msgwin_getxd(win)->msg)
  31. #define msgwin_SetMsg(win, m)        (msgwin_getxd(win)->msg = (m))
  32.  
  33.