#include <RESOURCE.H>

#define   IDC_STATIC         -1

#define   IDM_EXIT      7001
#define   IDM_TABCTRL   8001

#define   IDM_CUT       1004
#define   IDM_COPY      1005
#define   IDM_PASTE     1006
#define   IDM_DELETE    1007
#define   IDM_SELALL    1008

#define   IDD_DLG01     2000
#define   IDC_GRP01     2001
#define   IDC_STATIC01  2002
#define   IDC_REDIT01   2009
#define   IDC_REDIT02   2010
#define   IDC_REDIT03   2011
#define   IDC_REDIT04   2012
#define   IDC_REDIT05   2013
#define   IDC_CHK01     2014
#define   IDC_CHK02     2015
#define   IDC_GRP02     2016
#define   IDC_LISTBOX01 2017
#define   IDC_BUTT01    2018
#define   IDC_BUTT02    2019
#define   IDC_COMBO01   2020
#define   IDC_COMBO02   2021

;NOTE!! You may need to change the paths to the proper directory
901       BITMAP  DISCARDABLE     "Res\\B01_New.bmp"
902       BITMAP  DISCARDABLE     "Res\\B02_Open.bmp"
903       BITMAP  DISCARDABLE     "Res\\B03_Save.bmp"
904       BITMAP  DISCARDABLE     "Res\\B04_SAVEALL.bmp"
905       BITMAP  DISCARDABLE     "Res\\B05_Cut.bmp"
906       BITMAP  DISCARDABLE     "Res\\B06_Copy.bmp"
907       BITMAP  DISCARDABLE     "Res\\B07_Paste.bmp"
908       BITMAP  DISCARDABLE     "Res\\B08_Delete.bmp"
909       BITMAP  DISCARDABLE     "Res\\B09_UNDO.bmp"
910       BITMAP  DISCARDABLE     "Res\\B10_REDO.bmp"
911       BITMAP  DISCARDABLE     "Res\\B11_Find.bmp"
912       BITMAP  DISCARDABLE     "Res\\B12_FindNext.bmp"
913       BITMAP  DISCARDABLE     "Res\\B13_FindPrev.bmp"
914       BITMAP  DISCARDABLE     "Res\\B14_Replace.bmp"
915       BITMAP  DISCARDABLE     "Res\\B15_MULTI.bmp"
916       BITMAP  DISCARDABLE     "Res\\B16_Exit.bmp"

STRINGTABLE DISCARDABLE
BEGIN
/* toolbar tips */
    801     "This Is Tab #01"
    802     "This Is Tab #02"
    803     "This Is Tab #03"
    804     "This Is Tab #04"
    805     "This Is Tab #05"
    806     "This Is Tab #06"
    807     "This Is Tab #07"
    808     "This Is Tab #08"
    809     "This Is Tab #09"
    810     "This Is Tab #10"
    811     "This Is Tab #11"
    812     "This Is Tab #12"
    813     "This Is Tab #13"
    814     "This Is Tab #14"
    815     "This Is Tab #15"
    816     "This Is Tab #16"
END

MainMenu  MENU DISCARDABLE
BEGIN
   POPUP "&File"
   BEGIN
      MENUITEM "E&xit",               IDM_EXIT
   END
   POPUP "&Create"
   BEGIN
      MENUITEM "Create Tab Control",  IDM_TABCTRL
   END
END

PopupMenu  MENU DISCARDABLE
BEGIN
   POPUP "&Edit"
   BEGIN
      MENUITEM "Cu&t",                IDM_CUT
      MENUITEM "&Copy",               IDM_COPY
      MENUITEM "&Paste",              IDM_PASTE
      MENUITEM "&Delete",             IDM_DELETE
      MENUITEM SEPARATOR                        
      MENUITEM "&Select All",         IDM_SELALL
   END
END

IDD_DLG01 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0,0,246,158
CAPTION "Tab Control"
FONT    8, "MS Sans Serif"
STYLE   0x14C80000
EXSTYLE 0x00000180
BEGIN
    CONTROL "Tab Control Parameters",IDC_GRP01,"button",0x54000007,6,3,113,84,0x00000000
    CONTROL "X Position",IDC_STATIC01,"static",0x50000100,46,14,36,8,0x00000000
    CONTROL "Y Position",IDC_STATIC,"static",0x50000100,46,24,36,8,0x00000000
    CONTROL "Width",IDC_STATIC,"static",0x50000100,46,34,36,8,0x00000000
    CONTROL "Height",IDC_STATIC,"static",0x50000100,46,44,36,8,0x00000000
    CONTROL "Number of Tabs",IDC_STATIC,"static",0x50000100,46,54,54,8,0x00000000
    CONTROL "",IDC_REDIT01,"RichEdit20A",0x50810004,21,13,20,9,0x00000200
    CONTROL "",IDC_REDIT02,"RichEdit20A",0x50810004,21,23,20,9,0x00000200
    CONTROL "",IDC_REDIT03,"RichEdit20A",0x50810004,21,33,20,9,0x00000200
    CONTROL "",IDC_REDIT04,"RichEdit20A",0x50810004,21,43,20,9,0x00000200
    CONTROL "",IDC_REDIT05,"RichEdit20A",0x50810004,21,53,20,9,0x00000000
    CONTROL "Use Images and Text",IDC_CHK01,"button",0x50010003,21,64,83,8,0x00000000
    CONTROL "Use Images only",IDC_CHK02,"button",0x50010003,21,73,83,8,0x00000000
    CONTROL "Tab Control Styles",IDC_GRP02,"button",0x54000007,127,3,113,84,0x00000000
    CONTROL "",IDC_LISTBOX01,"listbox",0x50200149,133,12,101,71,0x00000200
    CONTROL "Preview",IDC_BUTT01,"button",0x50010000,98,96,49,11,0x00000000
    CONTROL "Create Code",IDC_BUTT02,"button",0x50010000,98,110,49,11,0x00000000
    CONTROL "Edit Tab text",IDC_STATIC,"static",0x50000100,5,94,86,7,0x00000000
    CONTROL "",IDC_COMBO01,"combobox",0x50200703,5,103,88,54,0x00000000
    CONTROL "Edit Tab Tooltip",IDC_STATIC,"static",0x50000100,153,94,86,7,0x00000000
    CONTROL "",IDC_COMBO02,"combobox",0x50200703,153,103,88,54,0x00000000
END

4401 DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 100,50,152,38
CAPTION "Text Edit"
FONT    8, "Tahoma"
STYLE   0x94C80A80
EXSTYLE 0x00000180
BEGIN
    CONTROL "",503,"edit",0x50800080,4,4,144,12,0x00000200
    CONTROL "Update",410,"button",0x50800000,20,20,45,14,0x00000000
    CONTROL "Cancel",IDCANCEL,"button",0x50800000,89,20,45,14,0x00000000
END
