home *** CD-ROM | disk | FTP | other *** search
/ PC Open 19 / pcopen19.iso / Zipped / CALMIR21.ZIP / SOURCE.ZIP / SRC / CALMSGS.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1998-02-20  |  2.8 KB  |  63 lines

  1. {**************************************************************************}
  2. {                                                                          }
  3. {    Calmira shell for Microsoft« Windows(TM) 3.1                          }
  4. {    Source Release 2.1                                                    }
  5. {    Copyright (C) 1997-1998 Li-Hsin Huang                                 }
  6. {                                                                          }
  7. {    This program is free software; you can redistribute it and/or modify  }
  8. {    it under the terms of the GNU General Public License as published by  }
  9. {    the Free Software Foundation; either version 2 of the License, or     }
  10. {    (at your option) any later version.                                   }
  11. {                                                                          }
  12. {    This program is distributed in the hope that it will be useful,       }
  13. {    but WITHOUT ANY WARRANTY; without even the implied warranty of        }
  14. {    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         }
  15. {    GNU General Public License for more details.                          }
  16. {                                                                          }
  17. {    You should have received a copy of the GNU General Public License     }
  18. {    along with this program; if not, write to the Free Software           }
  19. {    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.             }
  20. {                                                                          }
  21. {**************************************************************************}
  22.  
  23. unit CalMsgs;
  24.  
  25. interface
  26.  
  27. uses WinTypes, Messages;
  28.  
  29. const
  30.   CM_PREVINSTANCE  = 1;   { activates the previous instance }
  31.   CM_EXPLORER      = 3;   { tells Calmira to display the tree view }
  32.   CM_RELOADOPTIONS = 15;  { reserved for future use }
  33.  
  34.   WM_SETTINGSCHANGED = WM_USER + 100;  { broadcast to all Calmira windows }
  35.   WM_OPENSHORT       = WM_USER + 101;  { used internally by TShort }
  36.  
  37.   { Used by Wndhooks DLL }
  38.  
  39.   WM_SHELLWNDCREATE  = WM_USER + 200; { top level window created }
  40.   WM_SHELLWNDDESTROY = WM_USER + 201; { top level window destroyed }
  41.   WM_MOUSEHOOK       = WM_USER + 202; { mouse has moved }
  42.   WM_HIDEQUERY       = WM_USER + 203; { window has been minimized }
  43.   WM_WINACTIVE       = WM_USER + 204; { window has been activated }
  44.   WM_DESKMENU        = WM_USER + 205; { right click on wallpaper }
  45.   WM_DESKACTIVATE    = WM_USER + 206;
  46.   WM_KEYBOARDHOOK    = WM_USER + 207;
  47.   WM_KEYBOARDACTION  = WM_USER + 208;
  48.  
  49.   { used internally by taskbar }
  50.  
  51.   WM_ADDBUTTON       = WM_USER + 210;
  52.  
  53. var
  54.   WM_CALMIRA : Word;
  55.  
  56. implementation
  57.  
  58. uses WinProcs;
  59.  
  60. initialization
  61.   WM_CALMIRA := RegisterWindowMessage('Calmira Registered Message');
  62. end.
  63.