home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Found / FWNotifn / FWNotDef.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.3 KB  |  37 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWNotDef.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWNOTDEF_H
  11. #define FWNOTDEF_H
  12.  
  13. // FW_Message type describes the kind of notification sent by a Notifier to a Receiver
  14. // (defined here instead of "FWStdDef.h" because "FWNotDef.h" is included in .fr files)
  15. typedef long FW_Message; 
  16. typedef unsigned long FW_ObjectID;
  17.  
  18. // ODF reserves negative values for its notification messages
  19.  
  20. // Values which can be used in your view resources
  21. const FW_Message    FW_kNullMsg                    = 0;
  22. const FW_Message    FW_kChangedMsg                = -1;
  23. const FW_Message    FW_kButtonPressedMsg        = -10;    // standard msg for buttons
  24. const FW_Message    FW_kDefaultButtonMsg        = -12;    // reserved for dialogs
  25. const FW_Message    FW_kCancelButtonMsg            = -13;    // reserved for dialogs
  26. const FW_Message    FW_kPopupClickedMsg            = -20;    // standard msg for popup menus
  27. const FW_Message    FW_kListBoxDoubleClickedMsg    = -30;    // standard msg for list-boxes
  28.  
  29. // Values which cannot be used directly in your view resources
  30. const FW_Message    FW_kScrollMsg                 = -100;    
  31. const FW_Message    FW_kRadioClusterMsg            = -101;
  32. const FW_Message    FW_kNotifierDeletedMsg        = -102;    
  33.  
  34. #endif        
  35.  
  36.  
  37.