home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / SAMPLES / MM / MOVIE / MOVIE.DLG < prev    next >
Text File  |  1995-08-24  |  3KB  |  62 lines

  1. /*************************************************************************
  2. *
  3. *  File Name   : MOVIE.DLG
  4. *
  5. *  Copyright (C) IBM 1993
  6. *************************************************************************/
  7. #define INCL_SW               /* needed for graphic buttons controls */
  8.                               /* secondary windows, circular sliders */
  9.  
  10. #include <sw.h>
  11.  
  12. DLGTEMPLATE IDD_MAIN_WINDOW LOADONCALL MOVEABLE DISCARDABLE
  13. BEGIN
  14.       DIALOG  "",IDD_MAIN_WINDOW, 200, 15, 204, 170,
  15.              FS_NOBYTEALIGN | FS_SIZEBORDER | WS_VISIBLE | WS_SAVEBITS,
  16.              FCF_SYSMENU | FCF_TITLEBAR | FCF_MINBUTTON | FCF_NOBYTEALIGN |
  17.              FCF_TASKLIST | FCF_VERTSCROLL | FCF_HORZSCROLL | FCF_ICON
  18.     BEGIN
  19.        CONTROL "", IDC_GPB_REWIND, 5, 46, 23, 12, WC_GRAPHICBUTTON,
  20.                    GBS_3D_TEXTRAISED | WS_VISIBLE | BS_PUSHBUTTON
  21.                CTLDATA GB_RESOURCE, "", 1, ID_BMP_REWIND
  22.  
  23.        CONTROL "", IDC_GPB_STOP, 36, 46, 23, 12, WC_GRAPHICBUTTON,
  24.                    GBS_3D_TEXTRAISED | WS_VISIBLE | BS_PUSHBUTTON
  25.                CTLDATA GB_RESOURCE, "", 1, ID_BMP_STOP
  26.  
  27.        CONTROL "", IDC_GPB_PAUSE, 62, 46, 23, 12, WC_GRAPHICBUTTON,
  28.                    GBS_3D_TEXTRAISED | WS_VISIBLE | BS_PUSHBUTTON
  29.                CTLDATA GB_RESOURCE, "", 1, ID_BMP_PAUSE
  30.  
  31.        CONTROL "", IDC_GPB_PLAY, 90, 46, 30, 12, WC_GRAPHICBUTTON,
  32.                    GBS_3D_TEXTRAISED | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_DEFAULT
  33.                CTLDATA GB_RESOURCE, "", 1, ID_BMP_PLAY0
  34.  
  35.        CONTROL "", IDC_GPB_EDIT, 145, 46, 40, 20, WC_GRAPHICBUTTON,
  36.                    GBS_3D_TEXTRAISED | WS_VISIBLE | WS_GROUP | WS_TABSTOP | BS_DEFAULT
  37.                CTLDATA GB_RESOURCE, "Edit",0
  38.  
  39.        CONTROL "Play movie in application window",IDC_RADIO1, 71, 21, 114, 10,
  40.                       WC_BUTTON, BS_AUTORADIOBUTTON |
  41.                       WS_TABSTOP | WS_VISIBLE
  42.                    PRESPARAMS PP_FONTNAMESIZE, 0x65482E38L, 0x0000766CL
  43.  
  44.        CONTROL "Play movie in standard window", IDC_RADIO2, 71, 12, 113, 10,
  45.                        WC_BUTTON, BS_AUTORADIOBUTTON |
  46.                        WS_TABSTOP | WS_VISIBLE
  47.                    PRESPARAMS PP_FONTNAMESIZE, 0x65482E38L, 0x0000766CL
  48.  
  49.        CONTROL "Movie Selection Window", -1, 68, 10, 120, 29,
  50.                        WC_STATIC, SS_GROUPBOX | WS_VISIBLE
  51.                    PRESPARAMS PP_FONTNAMESIZE, 0x65482E38L, 0x0000766CL
  52.  
  53.       CONTROL "", IDC_VOLUME_SLIDER, 5, 2, 55, 40, WC_CIRCULARSLIDER,
  54.                   WS_GROUP | WS_VISIBLE | CSS_NOTEXT | WS_TABSTOP |
  55.                   CSS_MIDPOINT | CSS_PROPORTIONALTICKS
  56.                   PRESPARAMS PP_FONTNAMESIZE, 0x65482E38L, 0x0000766CL
  57.  
  58.    END
  59. END
  60.  
  61.  
  62.