home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / zfamily.zip / zfamily / ZISFUNCS / SAMPLE / TSTABOUT.INC < prev    next >
Text File  |  1993-11-17  |  2KB  |  51 lines

  1. /*
  2. ** /----------------------------------------------------------------------\
  3. ** |             IBM Z Family Reusable Libraries/2 (5641-504)             |
  4. ** |----------------------------------------------------------------------|
  5. ** | (C) Copyright International Business Machines Corporation 1993, 1994 |
  6. ** |----------------------------------------------------------------------|
  7. ** |                       DISCLAIMER OF WARRANTIES                       |
  8. ** |                       ------------------------                       |
  9. ** | The following code is sample code created by IBM Corporation.        |
  10. ** | Such a code is provided to you solely for the purpose of assisting   |
  11. ** | you in the development of your applications. The code is provided    |
  12. ** | "AS IS", without warranty of any kind.  IBM shall not be liable for  |
  13. ** | any damages arising out of your use of the following code, even if   |
  14. ** | they have been advised of the possibility of such damages.           |                                                                         *
  15. ** \----------------------------------------------------------------------/
  16. **
  17. **  Header  : TSTABOUT.INC
  18. **  Author  : Dario de Judicibus (DEJUDICI at ROMEPPC)
  19. **  Created : 26 Oct 1992
  20. **  Updated : 17 Nov 1993
  21. **  Version : 3.20
  22. **  Content : Called by WndProc in About case statement.
  23. **
  24. */
  25. {
  26.   zLIBVERS    lv ;
  27.   zzzLOGODATA ld ;
  28.   APIRET      rc ;
  29.  
  30.  /*
  31.  **  Fill the Library Version structure
  32.  */
  33.   zisLibraryVersion(&lv) ;
  34.  
  35.  /*
  36.  **  Fill the Logo Data structure
  37.  */
  38.   ld.cb = sizeof(zzzLOGODATA) ;
  39.   strcpy (ld.Version, lv.String) ;
  40.   strcpy (ld.Library, lv.Name) ;
  41.   strcpy (ld.Copyright, zCOPYRIGHT) ;
  42.  
  43.   WinLoadString(hAB, 0, tstSTR_DLLAUTHOR, zzzMAXSTRLEN, ld.Author) ;
  44.  
  45.  /*
  46.  **  Call the Logo Dialog
  47.  */
  48.   rc = WinDlgBox( HWND_DESKTOP, hWnd, (PFNWP)zzzLogoDlgProc,
  49.                   0, ZZZLOGODLG, (PVOID)&ld) ;
  50. }
  51.