home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / COMPILER / UILINES / PMLINES.DLG < prev    next >
Text File  |  1992-04-01  |  4KB  |  73 lines

  1. /*+--------------------------------------------------------------------------+*/
  2. /*|                                                                          |*/
  3. /*| PMLINES - A Simple OS/2 Presentation Manager Graphics Demo               |*/
  4. /*|                                                                          |*/
  5. /*| PMLINES.DLG Dialog File                                                  |*/
  6. /*|                                                                          |*/
  7. /*| COPYRIGHT:                                                               |*/
  8. /*| ----------                                                               |*/
  9. /*|  Copyright (C) International Business Machines Corp., 1991,1992.         |*/
  10. /*|                                                                          |*/
  11. /*│ DISCLAIMER OF WARRANTIES:                                                │*/
  12. /*│ -------------------------                                                │*/
  13. /*│  The following [enclosed] code is sample code created by IBM Corporation.│*/
  14. /*│  This sample code is not part of any standard IBM product and is provided│*/
  15. /*│  to you solely for the purpose of assisting you in the development of    │*/
  16. /*│  your applications.  The code is provided "AS IS", without warranty of   │*/
  17. /*│  any kind.  IBM shall not be liable for any damages arising out of your  │*/
  18. /*│  use of the sample code, even if they have been advised of the           │*/
  19. /*│  possibility of such damages.                                            │*/
  20. /*| REVISION LEVEL: 1.0                                                      |*/
  21. /*| ---------------                                                          |*/
  22. /*|                                                                          |*/
  23. /*+--------------------------------------------------------------------------+*/
  24.  
  25. DLGINCLUDE 1 "PMLINES.H"
  26.  
  27. DLGTEMPLATE IDD_HELP PRELOAD MOVEABLE DISCARDABLE
  28. BEGIN
  29.    DIALOG "PMLINES - Product Information", IDD_HELP, 40, 40, 300, 160,
  30.       FS_NOBYTEALIGN | FS_DLGBORDER | FS_BORDER | FS_SCREENALIGN | WS_VISIBLE |
  31.       WS_CLIPSIBLINGS | WS_SAVEBITS, FCF_TITLEBAR
  32.    BEGIN
  33.       CONTROL "PMLINES", ID_NULL, 50, 145, 200, 10,
  34.          WC_STATIC, SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
  35.  
  36.       CONTROL "An OS/2 PM Graphics Demonstration", ID_NULL, 45, 130, 210, 10,
  37.          WC_STATIC, SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
  38.  
  39.       CONTROL "Copyright (C) International Business Machines Corp., 1991.",
  40.          ID_NULL, 20, 115, 260, 10, WC_STATIC,
  41.          SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
  42.  
  43.       CONTROL ID_WINDOW, ID_NULL, 10, 125, 32, 32,
  44.          WC_STATIC, SS_ICON | WS_GROUP | WS_VISIBLE
  45.  
  46.       CONTROL "PMLINES illustrates some of the basic principles of PM programming.  It displays a standard window and uses a second thread to draw to the client area.",
  47.          ID_NULL, 10, 80, 280, 30, WC_STATIC,
  48.          SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | WS_GROUP | WS_VISIBLE
  49.  
  50.       CONTROL "PM programming concepts touched upon by PMLINES are:",
  51.          ID_NULL, 10, 70, 250, 10, WC_STATIC,
  52.          SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  53.  
  54.       CONTROL "- Creating standard windows", ID_NULL, 25, 60, 250, 10,
  55.          WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  56.  
  57.       CONTROL "- Using simple menus and dialog boxes",
  58.          ID_NULL, 25, 50, 250, 10, WC_STATIC,
  59.          SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  60.  
  61.       CONTROL "- Using multiple threads in the PM environment",
  62.          ID_NULL, 25, 40, 250, 10, WC_STATIC,
  63.          SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  64.  
  65.       CONTROL "- Displaying graphics on the screen using basic GPI calls",
  66.          ID_NULL, 25, 30, 250, 10, WC_STATIC,
  67.          SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
  68.  
  69.       CONTROL "OK", DID_OK, 125, 5, 50, 15,
  70.          WC_BUTTON, BS_PUSHBUTTON | BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
  71.    END
  72. END
  73.