home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / TUTORIAL / DEBUGGER / DPMLINES / DPMLINES.DLG < prev    next >
Text File  |  1992-04-01  |  4KB  |  74 lines

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