/*----------------------------------------------------------------------------*/
/*                                                                            */
/* Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.             */
/* Copyright (c) 2005-2014 Rexx Language Association. All rights reserved.    */
/*                                                                            */
/* This program and the accompanying materials are made available under       */
/* the terms of the Common Public License v1.0 which accompanies this         */
/* distribution. A copy is also available at the following address:           */
/* https://www.oorexx.org/license.html                                        */
/*                                                                            */
/* Redistribution and use in source and binary forms, with or                 */
/* without modification, are permitted provided that the following            */
/* conditions are met:                                                        */
/*                                                                            */
/* Redistributions of source code must retain the above copyright             */
/* notice, this list of conditions and the following disclaimer.              */
/* Redistributions in binary form must reproduce the above copyright          */
/* notice, this list of conditions and the following disclaimer in            */
/* the documentation and/or other materials provided with the distribution.   */
/*                                                                            */
/* Neither the name of Rexx Language Association nor the names                */
/* of its contributors may be used to endorse or promote products             */
/* derived from this software without specific prior written permission.      */
/*                                                                            */
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS        */
/* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT          */
/* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS          */
/* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT   */
/* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,      */
/* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED   */
/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,        */
/* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY     */
/* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING    */
/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS         */
/* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.               */
/*                                                                            */
/*----------------------------------------------------------------------------*/

#include <windows.h>
#include <commctrl.h>
#include "PropertySheetDemo.h"

LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_LISTVIEW_DLG DIALOG 6, 15, 300, 250
STYLE DS_SHELLFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_TABSTOP
CAPTION "List View Control"
FONT 9, "Arial"
{
    CONTROL         "ListView", IDC_LV_MAIN, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_REPORT, 7, 7, 286, 236
}



LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_NEWCONTROLS_DLG DIALOG 0, 0, 325, 300
STYLE DS_CENTER | DS_MODALFRAME | DS_SETFONT | WS_CAPTION | WS_VISIBLE | WS_POPUP | WS_SYSMENU
CAPTION "Example using ControlDialog objects"
FONT 9, "Arial"
{
    CONTROL         "Tab", IDC_TAB, WC_TABCONTROL, WS_TABSTOP, 10, 5, 305, 265
    PUSHBUTTON      "Previous Control", IDC_PB_PREVIOUS, 10, 278, 60, 14
    PUSHBUTTON      "Next Control", IDC_PB_NEXT, 80, 278, 60, 14
    DEFPUSHBUTTON   "Ok", IDOK, 185, 278, 60, 14
    PUSHBUTTON      "Cancel", IDCANCEL, 255, 278, 60, 14
}



LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_PROGRESSBAR_DLG DIALOG 6, 15, 300, 250
STYLE DS_SHELLFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_TABSTOP
CAPTION "Progress Bar Control"
FONT 9, "Arial"
{
    CTEXT           "Process A", IDC_ST_PROCESSA, 26, 12, 35, 8, SS_LEFT
    CONTROL         "Progress", IDC_PBAR_PROCESSA, PROGRESS_CLASS, PBS_VERTICAL, 36, 27, 13, 199
    CTEXT           "100%", IDC_ST_PERCENTA, 32, 229, 21, 8, SS_LEFT
    CTEXT           "Process B", IDC_ST_PROCESSB, 79, 12, 35, 8, SS_LEFT
    CONTROL         "Progress", IDC_PBAR_PROCESSB, PROGRESS_CLASS, PBS_VERTICAL, 89, 27, 13, 199
    CTEXT           "100%", IDC_ST_PERCENTB, 85, 229, 21, 8, SS_LEFT
    CTEXT           "Process C", IDC_ST_PROCESSC, 132, 12, 35, 8, SS_LEFT
    CONTROL         "Progress", IDC_PBAR_PROCESSC, PROGRESS_CLASS, PBS_VERTICAL, 142, 27, 13, 199
    CTEXT           "100%", IDC_ST_PERCENTC, 139, 229, 21, 8, SS_LEFT
    CTEXT           "Process D", IDC_ST_PROCESSD, 184, 12, 35, 8, SS_LEFT
    CONTROL         "Progress", IDC_PBAR_PROCESSD, PROGRESS_CLASS, WS_BORDER | PBS_SMOOTH | PBS_VERTICAL, 195, 27, 13, 199
    CTEXT           "100%", IDC_ST_PERCENTD, 192, 229, 21, 8, SS_LEFT
    CTEXT           "Process E", IDC_ST_PROCESSE, 236, 12, 35, 8, SS_LEFT
    CONTROL         "Progress", IDC_PBAR_PROCESSE, PROGRESS_CLASS, WS_BORDER | PBS_SMOOTH | PBS_VERTICAL, 248, 27, 13, 199
    CTEXT           "100%", IDC_ST_PERCENTE, 244, 229, 21, 8, SS_LEFT
}



LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_TAB_DLG DIALOG 6, 15, 300, 250
STYLE DS_SHELLFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_TABSTOP
CAPTION "Tab Control"
FONT 9, "Arial"
{
    CONTROL         "Tab", IDC_TAB_MAIN, WC_TABCONTROL, WS_TABSTOP, 5, 5, 290, 240
    CONTROL         "", IDC_PB_OWNERDRAW, WC_BUTTON, WS_TABSTOP | BS_OWNERDRAW, 17, 63, 267, 162
}



LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_TRACKBAR_DLG DIALOG 6, 15, 300, 250
STYLE DS_SHELLFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_TABSTOP
CAPTION "Track Bar Control"
FONT 9, "Arial"
{
    CONTROL         "", IDC_ST_FRAME_LEFT, WC_STATIC, SS_BLACKFRAME, 7, 7, 136, 236
    CONTROL         "Slider", IDC_TB_HORZ_BOTTOM, TRACKBAR_CLASS, WS_TABSTOP | TBS_AUTOTICKS, 10, 30, 119, 20
    LTEXT           "Text", IDC_ST_HORZ_BOTTOM, 41, 56, 60, 27, SS_LEFT
    CONTROL         "Slider", IDC_TB_HORZ_TOP, TRACKBAR_CLASS, WS_TABSTOP | TBS_AUTOTICKS | TBS_TOP, 10, 97, 119, 20
    LTEXT           "Text", IDC_ST_HORZ_TOP, 41, 128, 60, 27, SS_LEFT
    CONTROL         "Slider", IDC_TB_HORZ_BOTH, TRACKBAR_CLASS, WS_TABSTOP | TBS_AUTOTICKS | TBS_BOTH | TBS_ENABLESELRANGE, 10, 168, 119, 32
    LTEXT           "Text", IDC_ST_HORZ_BOTH, 41, 203, 60, 30, SS_LEFT
    CONTROL         "", IDC_ST_FRAME_RIGHT, WC_STATIC, SS_BLACKFRAME, 163, 7, 130, 236
    CONTROL         "Slider", IDC_TB_VERT_RIGHT, TRACKBAR_CLASS, WS_TABSTOP | TBS_AUTOTICKS | TBS_VERT | TBS_ENABLESELRANGE, 176, 33, 19, 192
    LTEXT           "Text", IDC_ST_VERT_RIGHT, 177, 17, 22, 8, SS_LEFT
    CONTROL         "Slider", IDC_TB_VERT_LEFT, TRACKBAR_CLASS, WS_TABSTOP | TBS_AUTOTICKS | TBS_VERT | TBS_TOP, 212, 33, 19, 192
    LTEXT           "Text", IDC_ST_VERT_LEFT, 216, 17, 27, 8, SS_LEFT
    CONTROL         "Slider", IDC_TB_VERT_BOTH, TRACKBAR_CLASS, WS_TABSTOP | TBS_AUTOTICKS | TBS_VERT | TBS_BOTH, 257, 33, 27, 192
    LTEXT           "Text", IDC_ST_VERT_BOTH, 261, 17, 21, 8, SS_LEFT
}



LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_TREEVIEW_DLG DIALOG 6, 15, 300, 250
STYLE DS_SHELLFONT | DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_TABSTOP
CAPTION "Tree View Control"
FONT 9, "Arial"
{
    CONTROL         "Tree", IDC_TV_MAIN, WC_TREEVIEW, WS_TABSTOP | WS_BORDER | TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS, 7, 7, 286, 236
}
