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

  1. /*************************************************************************
  2.  * File Name    : CLOCK.DLG
  3.  *
  4.  * Description  : This file contains the dialog box which is used as the
  5.  *                sample programs main window.
  6.  *
  7.  * Concepts     : See this sample program's C source file.
  8.  *                The WS_ANIMATE frame style allows this window to
  9.  *                respond to system sounds.
  10.  *
  11.  *
  12.  * MMPM/2 API's : None.
  13.  *
  14.  * Required
  15.  *    Files     : See this sample program's C source file.
  16.  *
  17.  *
  18.  * Copyright (C) IBM 1991, 1992, 1993
  19.  *************************************************************************/
  20.  
  21. DLGTEMPLATE ID_CLOCK_DIALOG_BOX LOADONCALL MOVEABLE DISCARDABLE
  22. {
  23.  
  24.     DIALOG "", ID_CLOCK_DIALOG_BOX,
  25.     X_CLOCK_DIALOG_POSTION,
  26.     Y_CLOCK_DIALOG_POSTION,
  27.     X_SIZE_FOR_THE_CLOCK_DIALOG,
  28.     Y_SIZE_FOR_THE_CLOCK_DIALOG,
  29.     WS_VISIBLE    | WS_SYNCPAINT  | FS_NOBYTEALIGN | WS_ANIMATE,
  30.     FCF_MINBUTTON | FCF_SYSMENU   | FCF_TITLEBAR | FCF_TASKLIST |
  31.     FCF_DLGBORDER | FCF_VERTSCROLL | FCF_HORZSCROLL | FCF_ICON
  32.     {
  33.        CONTROL "~Play chime", ID_PLAY_CHIME_PB,
  34.                X_PLAY_CHIME_POSITION,
  35.                Y_PLAY_CHIME_POSITION,
  36.                X_SIZE_OF_THE_BUTTONS,
  37.                Y_SIZE_OF_THE_BUTTONS,
  38.                WC_BUTTON,
  39.                BS_DEFAULT | WS_CLIPSIBLINGS | WS_VISIBLE | WS_GROUP |
  40.                WS_TABSTOP
  41.  
  42.        CONTROL "Cancel", ID_CANCEL_PB,
  43.                X_CANCEL_POSITION,
  44.                Y_CANCEL_POSITION,
  45.                X_SIZE_OF_THE_BUTTONS,
  46.                Y_SIZE_OF_THE_BUTTONS,
  47.                WC_BUTTON,
  48.                BS_PUSHBUTTON | WS_CLIPSIBLINGS | WS_VISIBLE
  49.  
  50.        CONTROL "Help", ID_HELP_PB,
  51.                X_HELP_POSITION,
  52.                Y_HELP_POSITION,
  53.                X_SIZE_OF_THE_BUTTONS,
  54.                Y_SIZE_OF_THE_BUTTONS,
  55.                WC_BUTTON,
  56.                BS_HELP | WS_CLIPSIBLINGS | WS_VISIBLE
  57.     }
  58. }
  59.