home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / iwftech.zip / samples / WFPeek / wfpeek.rc < prev    next >
Text File  |  1994-06-08  |  3KB  |  48 lines

  1. /*+--------------------------------------------------------------------------+*/
  2. /*|WF/2 Message spy sample                                                   |*/
  3. /*|--------------------------------------------------------------------------|*/
  4. /*|                                                                          |*/
  5. /*| PROGRAM NAME: WFPEEK                                                     |*/
  6. /*| -------------                                                            |*/
  7. /*|                                                                          |*/
  8. /*| COPYRIGHT:                                                               |*/
  9. /*| ----------                                                               |*/
  10. /*|  Copyright (C) International Business Machines Corp., 1991,1992,1993.    |*/
  11. /*|                                                                          |*/
  12. /*| DISCLAIMER OF WARRANTIES:                                                |*/
  13. /*| -------------------------                                                |*/
  14. /*| The following [enclosed] code is sample code created by IBM              |*/
  15. /*| Corporation.  This sample code is not part of any standard IBM product   |*/
  16. /*| and is provided to you solely for the purpose of assisting you in the    |*/
  17. /*| development of your applications.  The code is provided "AS IS",         |*/
  18. /*| without warranty of any kind.  IBM shall not be liable for any damages   |*/
  19. /*| arising out of your use of the sample code, even if they have been       |*/
  20. /*| advised of the possibility of such damages.                              |*/
  21. /*|                                                                          |*/
  22. /*| REVISION LEVEL: 2.1                                                      |*/
  23. /*| -------------------                                                      |*/
  24. /*|                                                                          |*/
  25. /*|  This program illustrates registering a PM program with WF/2 and         |*/
  26. /*|  receiving messages from WF/2.                                           |*/
  27. /*|                                                                          |*/
  28. /*+--------------------------------------------------------------------------+*/
  29. #include <os2.h>
  30. #include "WFPEEK.H"
  31.  
  32. STRINGTABLE
  33. BEGIN
  34.    IDS_WFPEEK_TITLE,    "WorkFrame/2 Message Spy"
  35. END
  36.  
  37.  
  38. DLGTEMPLATE IDD_WFPEEK_MAIN LOADONCALL MOVEABLE DISCARDABLE
  39. BEGIN
  40.     DIALOG  "WorkFrame/2 Message Spy", IDD_WFPEEK_MAIN, 12, 6, 240, 77,
  41.             FS_SIZEBORDER | WS_VISIBLE | WS_PARENTCLIP ,
  42.             FCF_SYSMENU | FCF_TITLEBAR | FCF_MINMAX | FCF_SIZEBORDER | FCF_TASKLIST 
  43.     BEGIN
  44.         LISTBOX IDC_WFPEEK_LISTBOX, 0, 2, 240, 76,
  45.                 LS_NOADJUSTPOS | LS_HORZSCROLL | LS_EXTENDEDSEL | WS_GROUP
  46.     END
  47. END
  48.