Deleted unnecessiary file

Deleted unnecessiary file


no message

no message

git-svn-id: 41bd7e47c31e4d43f97241d7529f6785d233c6d8@1115 23f926e6-80f1-49ca-85a0-60d4a27bb3ac

; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=RPShapeTerminateDlg1_MJ
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "rdo_process.h"
LastPage=0

ClassCount=18
Class1=RPDockWnd
Class2=RPPageCtrl
Class3=RPPageCtrlItemLabel
Class4=RPPageCtrlItem
Class5=RPProjectBar
Class6=CSizingControlBarG
Class7=CSizingControlBar
Class8=CSCBMiniDockFrameWnd
Class9=RPApp
Class10=RPAboutDlg
Class11=RPChildFrame
Class12=RPFlowChart
Class13=RPMainFrame

ResourceCount=9
Resource1=IDD_ABOUT
Resource2=IDR_RDO_PRTYPE (English (U.S.))
Resource3=IDD_ABOUTBOX (English (U.S.))
Resource4=IDD_DIALOG_CREATE_2_MJ
Class14=RPShapeCreateDlg1_MJ
Resource5=IDD_DIALOG_CREATE_1_MJ
Class15=RPShapeCreateDlg2_MJ
Resource6=IDD_DIALOG_TERMINATE_1_MJ
Class16=RPShapeProcessDlg1_MJ
Resource7=IDD_DIALOG_PROCESS_2_MJ
Class17=RPShapeProcessDlg2_MJ
Resource8=IDD_DIALOG_PROCESS_1_MJ
Class18=RPShapeTerminateDlg1_MJ
Resource9=IDR_MAINFRAME (English (U.S.))

[CLS:RPDockWnd]
Type=0
BaseClass=CSizingControlBarG
HeaderFile=ctrl\rdoprocess_dockwnd.h
ImplementationFile=ctrl\rdoprocess_dockwnd.cpp

[CLS:RPPageCtrl]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItemLabel]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItem]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp
Filter=W
VirtualFilter=WC
LastObject=ID_APP_ABOUT

[CLS:RPProjectBar]
Type=0
BaseClass=RPDockWnd
HeaderFile=ctrl\rdoprocess_projectbar.h
ImplementationFile=ctrl\rdoprocess_projectbar.cpp

[CLS:CSizingControlBarG]
Type=0
BaseClass=baseCSizingControlBarG
HeaderFile=ctrl\sizecbar\scbarg.h
ImplementationFile=ctrl\sizecbar\scbarg.cpp

[CLS:CSizingControlBar]
Type=0
BaseClass=baseCSizingControlBar
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp

[CLS:CSCBMiniDockFrameWnd]
Type=0
BaseClass=baseCSCBMiniDockFrameWnd
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp
Filter=N
LastObject=CSCBMiniDockFrameWnd

[CLS:RPApp]
Type=0
BaseClass=CWinApp
HeaderFile=rdoprocess_app.h
ImplementationFile=rdoprocess_app.cpp

[CLS:RPChildFrame]
Type=0
BaseClass=CMDIChildWnd
HeaderFile=rdoprocess_childfrm.h
ImplementationFile=rdoprocess_childfrm.cpp
Filter=M
LastObject=ID_APP_ABOUT

[CLS:RPFlowChart]
Type=0
BaseClass=CWnd
HeaderFile=rdoprocess_flowchart.h
ImplementationFile=rdoprocess_flowchart.cpp
Filter=W
VirtualFilter=WC
LastObject=RPFlowChart

[CLS:RPMainFrame]
Type=0
BaseClass=CMDIFrameWnd
HeaderFile=rdoprocess_mainfrm.h
ImplementationFile=rdoprocess_mainfrm.cpp

[TB:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_EDIT_CUT
Command3=ID_EDIT_COPY
Command4=ID_EDIT_PASTE
Command5=ID_FLOW_SELECT
Command6=ID_FLOW_CONNECTOR
Command7=ID_FLOW_ROTATE
CommandCount=7

[MNU:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_APP_EXIT
Command3=ID_VIEW_TOOLBAR
Command4=ID_VIEW_STATUS_BAR
Command5=ID_APP_ABOUT
CommandCount=5

[MNU:IDR_RDO_PRTYPE (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_CLOSE
Command3=ID_APP_EXIT
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_EDIT_COPY
Command7=ID_EDIT_PASTE
Command8=ID_VIEW_TOOLBAR
Command9=ID_VIEW_STATUS_BAR
Command10=ID_WINDOW_CASCADE
Command11=ID_WINDOW_TILE_HORZ
Command12=ID_WINDOW_ARRANGE
Command13=ID_APP_ABOUT
CommandCount=13

[ACL:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_EDIT_COPY
Command2=ID_FILE_NEW
Command3=ID_EDIT_PASTE
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_NEXT_PANE
Command7=ID_PREV_PANE
Command8=ID_EDIT_COPY
Command9=ID_EDIT_PASTE
Command10=ID_EDIT_CUT
Command11=ID_EDIT_UNDO
CommandCount=11

[DLG:IDD_ABOUTBOX (English (U.S.))]
Type=1
Class=?
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889

[DLG:IDD_ABOUT]
Type=1
Class=?
ControlCount=9
Control1=IDOK,button,1342242817
Control2=IDC_ABOUT_PICTURE,static,1342177283
Control3=IDC_ABOUT_CAPTION,static,1342308353
Control4=IDC_ABOUT_ADDRESS,static,1342308353
Control5=IDC_ABOUT_TEL,static,1342308354
Control6=IDC_ABOUR_EMAIL_STATIC,static,1342308354
Control7=IDC_ABOUT_EMAIL,static,1342308608
Control8=IDC_ABOUR_WEB_STATIC,static,1342308354
Control9=IDC_ABOUT_WEB,static,1342308608

[DLG:IDD_DIALOG_CREATE_1_MJ]
Type=1
Class=RPShapeCreateDlg1_MJ
ControlCount=22
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_EDIT1,edit,1350631552
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_EDIT3,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,button,1342177287
Control10=IDC_STATIC,static,1342308352
Control11=IDC_COMBO1,combobox,1344340227
Control12=IDC_EDIT4,edit,1350631552
Control13=IDC_EDIT5,edit,1484849280
Control14=IDC_EDIT6,edit,1476460672
Control15=IDC_EDIT7,edit,1476460672
Control16=IDC_EDIT8,edit,1350631552
Control17=IDC_STATIC,static,1342308352
Control18=IDC_STATIC,static,1342308352
Control19=IDC_STATIC,static,1342308352
Control20=IDC_STATIC,static,1342308352
Control21=IDC_STATIC,static,1342308352
Control22=IDC_BUTTON1,button,1342242816

[CLS:RPShapeCreateDlg1_MJ]
Type=0
HeaderFile=rdoprocess_shape_create_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
LastObject=ID_APP_ABOUT

[DLG:IDD_DIALOG_CREATE_2_MJ]
Type=1
Class=RPShapeCreateDlg2_MJ
ControlCount=13
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT3,edit,1350631552
Control10=IDC_EDIT4,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT5,edit,1350631552
Control13=IDC_STATIC,button,1342177287

[CLS:RPShapeCreateDlg2_MJ]
Type=0
HeaderFile=rdoprocess_shape_create_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC

[DLG:IDD_DIALOG_PROCESS_1_MJ]
Type=1
Class=RPShapeProcessDlg1_MJ
ControlCount=30
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,button,1342177287
Control4=IDC_STATIC,static,1342308352
Control5=IDC_COMBO1,combobox,1344340227
Control6=IDC_EDIT4,edit,1350631552
Control7=IDC_EDIT5,edit,1484849280
Control8=IDC_EDIT6,edit,1476460672
Control9=IDC_EDIT7,edit,1476460672
Control10=IDC_EDIT8,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_STATIC,static,1342308352
Control15=IDC_STATIC,static,1342308352
Control16=IDC_STATIC,static,1342308352
Control17=IDC_EDIT1,edit,1350631552
Control18=IDC_STATIC,static,1342308352
Control19=IDC_COMBO2,combobox,1344340227
Control20=IDC_STATIC,static,1342308352
Control21=IDC_EDIT2,edit,1350631552
Control22=IDC_STATIC,button,1342177287
Control23=IDC_BUTTON1,button,1342242816
Control24=IDC_BUTTON2,button,1342242816
Control25=IDC_LIST1,listbox,1352728835
Control26=IDC_STATIC,static,1342308352
Control27=IDC_COMBO3,combobox,1344340227
Control28=IDC_STATIC,button,1342177287
Control29=IDC_STATIC,static,1342308352
Control30=IDC_COMBO4,combobox,1344340227

[CLS:RPShapeProcessDlg1_MJ]
Type=0
HeaderFile=rdoprocess_shape_process_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp
BaseClass=CDialog
Filter=D
LastObject=ID_APP_ABOUT
VirtualFilter=dWC

[DLG:IDD_DIALOG_PROCESS_2_MJ]
Type=1
Class=RPShapeProcessDlg2_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_COMBO1,combobox,1344340226

[CLS:RPShapeProcessDlg2_MJ]
Type=0
HeaderFile=rdoprocess_shape_process_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp
BaseClass=CDialog
Filter=D
LastObject=ID_APP_ABOUT

[DLG:IDD_DIALOG_TERMINATE_1_MJ]
Type=1
Class=RPShapeTerminateDlg1_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552

[CLS:RPShapeTerminateDlg1_MJ]
Type=0
HeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC

; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=RPShapeTerminateDlg1_MJ
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "rdo_process.h"
LastPage=0

ClassCount=18
Class1=RPDockWnd
Class2=RPPageCtrl
Class3=RPPageCtrlItemLabel
Class4=RPPageCtrlItem
Class5=RPProjectBar
Class6=CSizingControlBarG
Class7=CSizingControlBar
Class8=CSCBMiniDockFrameWnd
Class9=RPApp
Class10=RPAboutDlg
Class11=RPChildFrame
Class12=RPFlowChart
Class13=RPMainFrame

ResourceCount=9
Resource1=IDD_DIALOG_TERMINATE_1_MJ
Resource2=IDR_RDO_PRTYPE (English (U.S.))
Resource3=IDD_ABOUTBOX (English (U.S.))
Resource4=IDD_ABOUT
Class14=RPShapeCreateDlg1_MJ
Resource5=IDD_DIALOG_CREATE_1_MJ
Class15=RPShapeCreateDlg2_MJ
Resource6=IDD_DIALOG_PROCESS_2_MJ
Class16=RPShapeProcessDlg1_MJ
Resource7=IDD_DIALOG_CREATE_2_MJ
Class17=RPShapeProcessDlg2_MJ
Resource8=IDD_DIALOG_PROCESS_1_MJ
Class18=RPShapeTerminateDlg1_MJ
Resource9=IDR_MAINFRAME (English (U.S.))

[CLS:RPDockWnd]
Type=0
BaseClass=CSizingControlBarG
HeaderFile=ctrl\rdoprocess_dockwnd.h
ImplementationFile=ctrl\rdoprocess_dockwnd.cpp

[CLS:RPPageCtrl]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItemLabel]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItem]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp
Filter=W
VirtualFilter=WC
LastObject=ID_APP_ABOUT

[CLS:RPProjectBar]
Type=0
BaseClass=RPDockWnd
HeaderFile=ctrl\rdoprocess_projectbar.h
ImplementationFile=ctrl\rdoprocess_projectbar.cpp

[CLS:CSizingControlBarG]
Type=0
BaseClass=baseCSizingControlBarG
HeaderFile=ctrl\sizecbar\scbarg.h
ImplementationFile=ctrl\sizecbar\scbarg.cpp

[CLS:CSizingControlBar]
Type=0
BaseClass=baseCSizingControlBar
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp

[CLS:CSCBMiniDockFrameWnd]
Type=0
BaseClass=baseCSCBMiniDockFrameWnd
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp
Filter=N
LastObject=CSCBMiniDockFrameWnd

[CLS:RPApp]
Type=0
BaseClass=CWinApp
HeaderFile=rdoprocess_app.h
ImplementationFile=rdoprocess_app.cpp

[CLS:RPChildFrame]
Type=0
BaseClass=CMDIChildWnd
HeaderFile=rdoprocess_childfrm.h
ImplementationFile=rdoprocess_childfrm.cpp
Filter=M
LastObject=ID_APP_ABOUT

[CLS:RPFlowChart]
Type=0
BaseClass=CWnd
HeaderFile=rdoprocess_flowchart.h
ImplementationFile=rdoprocess_flowchart.cpp
Filter=W
VirtualFilter=WC
LastObject=RPFlowChart

[CLS:RPMainFrame]
Type=0
BaseClass=CMDIFrameWnd
HeaderFile=rdoprocess_mainfrm.h
ImplementationFile=rdoprocess_mainfrm.cpp

[TB:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_EDIT_CUT
Command3=ID_EDIT_COPY
Command4=ID_EDIT_PASTE
Command5=ID_FLOW_SELECT
Command6=ID_FLOW_CONNECTOR
Command7=ID_FLOW_ROTATE
CommandCount=7

[MNU:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_APP_EXIT
Command3=ID_VIEW_TOOLBAR
Command4=ID_VIEW_STATUS_BAR
Command5=ID_APP_ABOUT
CommandCount=5

[MNU:IDR_RDO_PRTYPE (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_CLOSE
Command3=ID_APP_EXIT
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_EDIT_COPY
Command7=ID_EDIT_PASTE
Command8=ID_VIEW_TOOLBAR
Command9=ID_VIEW_STATUS_BAR
Command10=ID_WINDOW_CASCADE
Command11=ID_WINDOW_TILE_HORZ
Command12=ID_WINDOW_ARRANGE
Command13=ID_APP_ABOUT
CommandCount=13

[ACL:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_EDIT_COPY
Command2=ID_FILE_NEW
Command3=ID_EDIT_PASTE
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_NEXT_PANE
Command7=ID_PREV_PANE
Command8=ID_EDIT_COPY
Command9=ID_EDIT_PASTE
Command10=ID_EDIT_CUT
Command11=ID_EDIT_UNDO
CommandCount=11

[DLG:IDD_ABOUTBOX (English (U.S.))]
Type=1
Class=?
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889

[DLG:IDD_ABOUT]
Type=1
Class=?
ControlCount=9
Control1=IDOK,button,1342242817
Control2=IDC_ABOUT_PICTURE,static,1342177283
Control3=IDC_ABOUT_CAPTION,static,1342308353
Control4=IDC_ABOUT_ADDRESS,static,1342308353
Control5=IDC_ABOUT_TEL,static,1342308354
Control6=IDC_ABOUR_EMAIL_STATIC,static,1342308354
Control7=IDC_ABOUT_EMAIL,static,1342308608
Control8=IDC_ABOUR_WEB_STATIC,static,1342308354
Control9=IDC_ABOUT_WEB,static,1342308608

[DLG:IDD_DIALOG_CREATE_1_MJ]
Type=1
Class=RPShapeCreateDlg1_MJ
ControlCount=22
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_EDIT1,edit,1350631552
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_EDIT3,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,button,1342177287
Control10=IDC_STATIC,static,1342308352
Control11=IDC_COMBO1,combobox,1344340227
Control12=IDC_EDIT4,edit,1350631552
Control13=IDC_EDIT5,edit,1484849280
Control14=IDC_EDIT6,edit,1476460672
Control15=IDC_EDIT7,edit,1476460672
Control16=IDC_EDIT8,edit,1350631552
Control17=IDC_STATIC,static,1342308352
Control18=IDC_STATIC,static,1342308352
Control19=IDC_STATIC,static,1342308352
Control20=IDC_STATIC,static,1342308352
Control21=IDC_STATIC,static,1342308352
Control22=IDC_BUTTON1,button,1342242816

[CLS:RPShapeCreateDlg1_MJ]
Type=0
HeaderFile=rdoprocess_shape_create_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
LastObject=ID_APP_ABOUT

[DLG:IDD_DIALOG_CREATE_2_MJ]
Type=1
Class=RPShapeCreateDlg2_MJ
ControlCount=13
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT3,edit,1350631552
Control10=IDC_EDIT4,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT5,edit,1350631552
Control13=IDC_STATIC,button,1342177287

[CLS:RPShapeCreateDlg2_MJ]
Type=0
HeaderFile=rdoprocess_shape_create_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC

[DLG:IDD_DIALOG_PROCESS_1_MJ]
Type=1
Class=RPShapeProcessDlg1_MJ
ControlCount=30
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,button,1342177287
Control4=IDC_STATIC,static,1342308352
Control5=IDC_COMBO1,combobox,1344340227
Control6=IDC_EDIT4,edit,1350631552
Control7=IDC_EDIT5,edit,1484849280
Control8=IDC_EDIT6,edit,1476460672
Control9=IDC_EDIT7,edit,1476460672
Control10=IDC_EDIT8,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_STATIC,static,1342308352
Control15=IDC_STATIC,static,1342308352
Control16=IDC_STATIC,static,1342308352
Control17=IDC_EDIT1,edit,1350631552
Control18=IDC_STATIC,static,1342308352
Control19=IDC_COMBO2,combobox,1344340227
Control20=IDC_STATIC,static,1342308352
Control21=IDC_EDIT2,edit,1350631552
Control22=IDC_STATIC,button,1342177287
Control23=IDC_BUTTON1,button,1342242816
Control24=IDC_BUTTON2,button,1342242816
Control25=IDC_LIST1,listbox,1352728835
Control26=IDC_STATIC,static,1342308352
Control27=IDC_COMBO3,combobox,1344340227
Control28=IDC_STATIC,button,1342177287
Control29=IDC_STATIC,static,1342308352
Control30=IDC_COMBO4,combobox,1344340227

[CLS:RPShapeProcessDlg1_MJ]
Type=0
HeaderFile=rdoprocess_shape_process_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp
BaseClass=CDialog
Filter=D
LastObject=ID_APP_ABOUT
VirtualFilter=dWC

[DLG:IDD_DIALOG_PROCESS_2_MJ]
Type=1
Class=RPShapeProcessDlg2_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_COMBO1,combobox,1344340226

[CLS:RPShapeProcessDlg2_MJ]
Type=0
HeaderFile=rdoprocess_shape_process_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp
BaseClass=CDialog
Filter=D
LastObject=ID_APP_ABOUT

[DLG:IDD_DIALOG_TERMINATE_1_MJ]
Type=1
Class=RPShapeTerminateDlg1_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552

[CLS:RPShapeTerminateDlg1_MJ]
Type=0
HeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC


no message

no message

git-svn-id: 41bd7e47c31e4d43f97241d7529f6785d233c6d8@1160 23f926e6-80f1-49ca-85a0-60d4a27bb3ac

; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=RPMainFrame
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "rdo_process.h"
LastPage=0

ClassCount=27
Class1=CColourPicker
Class2=CColourPopup
Class3=RDOLink
Class4=RPColorPicker
Class5=RPDockWnd
Class6=RPPageCtrl
Class7=RPPageCtrlItemLabel
Class8=RPPageCtrlItem
Class9=RPProjectBar
Class10=RPToolBar
Class11=CSizingControlBarG
Class12=CSizingControlBar
Class13=CSCBMiniDockFrameWnd
Class14=RPApp
Class15=RPAboutDlg
Class16=RPChildFrame
Class17=RPFlowChart
Class18=RP_GENERATION_TYPE_MJ
Class19=RPMainFrame
Class20=RPShapeCreateDlg1_MJ
Class21=RPShapeCreateDlg2_MJ
Class22=RPListBox
Class23=RPShapeProcessDlg1_MJ
Class24=RPShapeProcessDlg2_MJ
Class25=RPShapeResourceDLG1_MJ
Class26=RPShapeTerminateDlg1_MJ
Class27=RPToolBarBlockMJ

ResourceCount=12
Resource1=IDR_RDO_PRTYPE (English (U.S.))
Resource2=IDD_DIALOG_GEN_TYPE
Resource3=TOOLBARBLOCKMJ
Resource4=IDD_ABOUT
Resource5=IDD_DIALOG_CREATE_1_MJ
Resource6=IDR_STYLEANDCOLOR
Resource7=IDD_DIALOG_PROCESS_1_MJ
Resource8=IDD_DIALOG_PROCESS_2_MJ
Resource9=IDD_DIALOG_TERMINATE_1_MJ
Resource10=IDD_DIALOG_RESOURCE_DLG1
Resource11=IDD_DIALOG_CREATE_2_MJ
Resource12=IDR_MAINFRAME

[CLS:CColourPicker]
Type=0
BaseClass=CButton
HeaderFile=ctrl\colourpicker\ColourPicker.h
ImplementationFile=ctrl\colourpicker\ColourPicker.cpp
LastObject=CColourPicker

[CLS:CColourPopup]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\colourpicker\ColourPopup.h
ImplementationFile=ctrl\colourpicker\ColourPopup.cpp

[CLS:RDOLink]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdolink.h
ImplementationFile=ctrl\rdolink.cpp

[CLS:RPColorPicker]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_colorpicker.h
ImplementationFile=ctrl\rdoprocess_colorpicker.cpp

[CLS:RPDockWnd]
Type=0
BaseClass=CSizingControlBarG
HeaderFile=ctrl\rdoprocess_dockwnd.h
ImplementationFile=ctrl\rdoprocess_dockwnd.cpp

[CLS:RPPageCtrl]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItemLabel]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItem]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPProjectBar]
Type=0
BaseClass=RPDockWnd
HeaderFile=ctrl\rdoprocess_projectbar.h
ImplementationFile=ctrl\rdoprocess_projectbar.cpp

[CLS:RPToolBar]
Type=0
BaseClass=CToolBar
HeaderFile=ctrl\rdoprocess_toolbar.h
ImplementationFile=ctrl\rdoprocess_toolbar.cpp
Filter=W
LastObject=RPToolBar

[CLS:CSizingControlBarG]
Type=0
BaseClass=baseCSizingControlBarG
HeaderFile=ctrl\sizecbar\scbarg.h
ImplementationFile=ctrl\sizecbar\scbarg.cpp

[CLS:CSizingControlBar]
Type=0
BaseClass=baseCSizingControlBar
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp

[CLS:CSCBMiniDockFrameWnd]
Type=0
BaseClass=baseCSCBMiniDockFrameWnd
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp

[CLS:RPApp]
Type=0
BaseClass=CWinApp
HeaderFile=rdoprocess_app.h
ImplementationFile=rdoprocess_app.cpp

[CLS:RPAboutDlg]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_app.h
ImplementationFile=rdoprocess_app.cpp

[CLS:RPChildFrame]
Type=0
BaseClass=CMDIChildWnd
HeaderFile=rdoprocess_childfrm.h
ImplementationFile=rdoprocess_childfrm.cpp

[CLS:RPFlowChart]
Type=0
BaseClass=CWnd
HeaderFile=rdoprocess_flowchart.h
ImplementationFile=rdoprocess_flowchart.cpp

[CLS:RP_GENERATION_TYPE_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_generation_type_MJ.h
ImplementationFile=rdoprocess_generation_type_MJ.cpp

[CLS:RPMainFrame]
Type=0
BaseClass=CMDIFrameWnd
HeaderFile=rdoprocess_mainfrm.h
ImplementationFile=rdoprocess_mainfrm.cpp
Filter=T
VirtualFilter=fWC
LastObject=RPMainFrame

[CLS:RPShapeCreateDlg1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_create_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp

[CLS:RPShapeCreateDlg2_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_create_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp

[CLS:RPListBox]
Type=0
BaseClass=CListBox
HeaderFile=rdoprocess_shape_process_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp

[CLS:RPShapeProcessDlg1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_process_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp

[CLS:RPShapeProcessDlg2_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_process_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp

[CLS:RPShapeResourceDLG1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_resource_DLG1_MJ.h
ImplementationFile=rdoprocess_shape_resource_DLG1_MJ.cpp

[CLS:RPShapeTerminateDlg1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp

[CLS:RPToolBarBlockMJ]
Type=0
BaseClass=CStatusBarCtrl
HeaderFile=rdoprocess_tool_bar_blockMJ.h
ImplementationFile=rdoprocess_tool_bar_blockMJ.cpp

[DLG:IDD_ABOUT]
Type=1
Class=RPAboutDlg
ControlCount=9
Control1=IDOK,button,1342242817
Control2=IDC_ABOUT_PICTURE,static,1342177283
Control3=IDC_ABOUT_CAPTION,static,1342308353
Control4=IDC_ABOUT_ADDRESS,static,1342308353
Control5=IDC_ABOUT_TEL,static,1342308354
Control6=IDC_ABOUR_EMAIL_STATIC,static,1342308354
Control7=IDC_ABOUT_EMAIL,static,1342308608
Control8=IDC_ABOUR_WEB_STATIC,static,1342308354
Control9=IDC_ABOUT_WEB,static,1342308608

[DLG:IDD_DIALOG_GEN_TYPE]
Type=1
Class=RP_GENERATION_TYPE_MJ
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_COMBO1,combobox,1344339970
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_STATIC,static,1342308352

[DLG:IDD_DIALOG_CREATE_1_MJ]
Type=1
Class=RPShapeCreateDlg1_MJ
ControlCount=22
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_EDIT1,edit,1350631552
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_EDIT3,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,button,1342177287
Control10=IDC_STATIC,static,1342308352
Control11=IDC_COMBO1,combobox,1344340227
Control12=IDC_EDIT4,edit,1350631552
Control13=IDC_EDIT5,edit,1484849280
Control14=IDC_EDIT6,edit,1476460672
Control15=IDC_EDIT7,edit,1476460672
Control16=IDC_EDIT8,edit,1350631552
Control17=IDC_STATIC,static,1342308352
Control18=IDC_STATIC,static,1342308352
Control19=IDC_STATIC,static,1342308352
Control20=IDC_STATIC,static,1342308352
Control21=IDC_STATIC,static,1342308352
Control22=IDC_BUTTON1,button,1342242816

[DLG:IDD_DIALOG_CREATE_2_MJ]
Type=1
Class=RPShapeCreateDlg2_MJ
ControlCount=13
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT3,edit,1350631552
Control10=IDC_EDIT4,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT5,edit,1350631552
Control13=IDC_STATIC,button,1342177287

[DLG:IDD_DIALOG_PROCESS_1_MJ]
Type=1
Class=RPShapeProcessDlg1_MJ
ControlCount=30
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,button,1342177287
Control4=IDC_STATIC,static,1342308352
Control5=IDC_COMBO1,combobox,1344340227
Control6=IDC_EDIT4,edit,1350631552
Control7=IDC_EDIT5,edit,1484849280
Control8=IDC_EDIT6,edit,1476460672
Control9=IDC_EDIT7,edit,1476460672
Control10=IDC_EDIT8,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_STATIC,static,1342308352
Control15=IDC_STATIC,static,1342308352
Control16=IDC_STATIC,static,1342308352
Control17=IDC_EDIT1,edit,1350631552
Control18=IDC_STATIC,static,1342308352
Control19=IDC_COMBO2,combobox,1344339971
Control20=IDC_STATIC,static,1342308352
Control21=IDC_EDIT2,edit,1350631552
Control22=IDC_STATIC,button,1342177287
Control23=IDC_BUTTON1,button,1342242816
Control24=IDC_BUTTON2,button,1342242816
Control25=IDC_LIST1,listbox,1352728833
Control26=IDC_STATIC,static,1342308352
Control27=IDC_COMBO3,combobox,1344340227
Control28=IDC_STATIC,button,1342177287
Control29=IDC_STATIC,static,1342308352
Control30=IDC_COMBO4,combobox,1344340227

[DLG:IDD_DIALOG_PROCESS_2_MJ]
Type=1
Class=RPShapeProcessDlg2_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_COMBO1,combobox,1344340226

[DLG:IDD_DIALOG_RESOURCE_DLG1]
Type=1
Class=RPShapeResourceDLG1_MJ
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_EDIT1,edit,1350631552
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_STATIC,static,1342308352

[DLG:IDD_DIALOG_TERMINATE_1_MJ]
Type=1
Class=RPShapeTerminateDlg1_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552

[TB:TOOLBARBLOCKMJ]
Type=1
Class=?
Command1=ID_BUTTON32779
Command2=ID_BUTTON32781
Command3=ID_BUTTON32782
Command4=ID_BUTTON32783
CommandCount=4

[TB:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_EDIT_CUT
Command3=ID_EDIT_COPY
Command4=ID_EDIT_PASTE
Command5=ID_FLOW_SELECT
Command6=ID_FLOW_CONNECTOR
Command7=ID_FLOW_ROTATE
Command8=ID_GENERATE
Command9=ID_GEN_TYPE
CommandCount=9

[TB:IDR_STYLEANDCOLOR]
Type=1
Class=?
Command1=ID_BTN_FILL_BRUSH
Command2=ID_BTN_FILL_PEN
Command3=ID_BTN_FILL_TEXT
CommandCount=3

[MNU:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_APP_EXIT
Command3=ID_VIEW_TOOLBAR
Command4=ID_VIEW_STATUS_BAR
Command5=ID_APP_ABOUT
CommandCount=5

[MNU:IDR_RDO_PRTYPE (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_CLOSE
Command3=ID_APP_EXIT
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_EDIT_COPY
Command7=ID_EDIT_PASTE
Command8=ID_VIEW_TOOLBAR
Command9=ID_VIEW_STATUS_BAR
Command10=ID_WINDOW_CASCADE
Command11=ID_WINDOW_TILE_HORZ
Command12=ID_WINDOW_ARRANGE
Command13=ID_APP_ABOUT
CommandCount=13

[ACL:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_EDIT_COPY
Command2=ID_FILE_NEW
Command3=ID_EDIT_PASTE
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_NEXT_PANE
Command7=ID_PREV_PANE
Command8=ID_EDIT_COPY
Command9=ID_EDIT_PASTE
Command10=ID_EDIT_CUT
Command11=ID_EDIT_UNDO
CommandCount=11

; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=RPMainFrame
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "rdo_process.h"
LastPage=0

ClassCount=27
Class1=CColourPicker
Class2=CColourPopup
Class3=RDOLink
Class4=RPColorPicker
Class5=RPDockWnd
Class6=RPPageCtrl
Class7=RPPageCtrlItemLabel
Class8=RPPageCtrlItem
Class9=RPProjectBar
Class10=RPToolBar
Class11=CSizingControlBarG
Class12=CSizingControlBar
Class13=CSCBMiniDockFrameWnd
Class14=RPApp
Class15=RPAboutDlg
Class16=RPChildFrame
Class17=RPFlowChart
Class18=RP_GENERATION_TYPE_MJ
Class19=RPMainFrame
Class20=RPShapeCreateDlg1_MJ
Class21=RPShapeCreateDlg2_MJ
Class22=RPListBox
Class23=RPShapeProcessDlg1_MJ
Class24=RPShapeProcessDlg2_MJ
Class25=RPShapeResourceDLG1_MJ
Class26=RPShapeTerminateDlg1_MJ
Class27=RPToolBarBlockMJ

ResourceCount=12
Resource1=IDR_RDO_PRTYPE (English (U.S.))
Resource2=TOOLBARBLOCKMJ
Resource3=IDD_ABOUT
Resource4=IDD_DIALOG_CREATE_1_MJ
Resource5=IDD_DIALOG_CREATE_2_MJ
Resource6=IDR_STYLEANDCOLOR
Resource7=IDD_DIALOG_PROCESS_2_MJ
Resource8=IDD_DIALOG_TERMINATE_1_MJ
Resource9=IDD_DIALOG_RESOURCE_DLG1
Resource10=IDD_DIALOG_GEN_TYPE
Resource11=IDD_DIALOG_PROCESS_1_MJ
Resource12=IDR_MAINFRAME

[CLS:CColourPicker]
Type=0
BaseClass=CButton
HeaderFile=ctrl\colourpicker\ColourPicker.h
ImplementationFile=ctrl\colourpicker\ColourPicker.cpp
LastObject=CColourPicker

[CLS:CColourPopup]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\colourpicker\ColourPopup.h
ImplementationFile=ctrl\colourpicker\ColourPopup.cpp

[CLS:RDOLink]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdolink.h
ImplementationFile=ctrl\rdolink.cpp

[CLS:RPColorPicker]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_colorpicker.h
ImplementationFile=ctrl\rdoprocess_colorpicker.cpp

[CLS:RPDockWnd]
Type=0
BaseClass=CSizingControlBarG
HeaderFile=ctrl\rdoprocess_dockwnd.h
ImplementationFile=ctrl\rdoprocess_dockwnd.cpp

[CLS:RPPageCtrl]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItemLabel]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPPageCtrlItem]
Type=0
BaseClass=CWnd
HeaderFile=ctrl\rdoprocess_pagectrl.h
ImplementationFile=ctrl\rdoprocess_pagectrl.cpp

[CLS:RPProjectBar]
Type=0
BaseClass=RPDockWnd
HeaderFile=ctrl\rdoprocess_projectbar.h
ImplementationFile=ctrl\rdoprocess_projectbar.cpp

[CLS:RPToolBar]
Type=0
BaseClass=CToolBar
HeaderFile=ctrl\rdoprocess_toolbar.h
ImplementationFile=ctrl\rdoprocess_toolbar.cpp
Filter=W
LastObject=RPToolBar

[CLS:CSizingControlBarG]
Type=0
BaseClass=baseCSizingControlBarG
HeaderFile=ctrl\sizecbar\scbarg.h
ImplementationFile=ctrl\sizecbar\scbarg.cpp

[CLS:CSizingControlBar]
Type=0
BaseClass=baseCSizingControlBar
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp

[CLS:CSCBMiniDockFrameWnd]
Type=0
BaseClass=baseCSCBMiniDockFrameWnd
HeaderFile=ctrl\sizecbar\sizecbar.h
ImplementationFile=ctrl\sizecbar\sizecbar.cpp

[CLS:RPApp]
Type=0
BaseClass=CWinApp
HeaderFile=rdoprocess_app.h
ImplementationFile=rdoprocess_app.cpp

[CLS:RPAboutDlg]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_app.h
ImplementationFile=rdoprocess_app.cpp

[CLS:RPChildFrame]
Type=0
BaseClass=CMDIChildWnd
HeaderFile=rdoprocess_childfrm.h
ImplementationFile=rdoprocess_childfrm.cpp

[CLS:RPFlowChart]
Type=0
BaseClass=CWnd
HeaderFile=rdoprocess_flowchart.h
ImplementationFile=rdoprocess_flowchart.cpp

[CLS:RP_GENERATION_TYPE_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_generation_type_MJ.h
ImplementationFile=rdoprocess_generation_type_MJ.cpp

[CLS:RPMainFrame]
Type=0
BaseClass=CMDIFrameWnd
HeaderFile=rdoprocess_mainfrm.h
ImplementationFile=rdoprocess_mainfrm.cpp
Filter=T
VirtualFilter=fWC
LastObject=RPMainFrame

[CLS:RPShapeCreateDlg1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_create_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg1_MJ.cpp

[CLS:RPShapeCreateDlg2_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_create_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_create_dlg2_MJ.cpp

[CLS:RPListBox]
Type=0
BaseClass=CListBox
HeaderFile=rdoprocess_shape_process_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp

[CLS:RPShapeProcessDlg1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_process_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg1_MJ.cpp

[CLS:RPShapeProcessDlg2_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_process_dlg2_MJ.h
ImplementationFile=rdoprocess_shape_process_dlg2_MJ.cpp

[CLS:RPShapeResourceDLG1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_resource_DLG1_MJ.h
ImplementationFile=rdoprocess_shape_resource_DLG1_MJ.cpp

[CLS:RPShapeTerminateDlg1_MJ]
Type=0
BaseClass=CDialog
HeaderFile=rdoprocess_shape_terminate_dlg1_MJ.h
ImplementationFile=rdoprocess_shape_terminate_dlg1_MJ.cpp

[CLS:RPToolBarBlockMJ]
Type=0
BaseClass=CStatusBarCtrl
HeaderFile=rdoprocess_tool_bar_blockMJ.h
ImplementationFile=rdoprocess_tool_bar_blockMJ.cpp

[DLG:IDD_ABOUT]
Type=1
Class=RPAboutDlg
ControlCount=9
Control1=IDOK,button,1342242817
Control2=IDC_ABOUT_PICTURE,static,1342177283
Control3=IDC_ABOUT_CAPTION,static,1342308353
Control4=IDC_ABOUT_ADDRESS,static,1342308353
Control5=IDC_ABOUT_TEL,static,1342308354
Control6=IDC_ABOUR_EMAIL_STATIC,static,1342308354
Control7=IDC_ABOUT_EMAIL,static,1342308608
Control8=IDC_ABOUR_WEB_STATIC,static,1342308354
Control9=IDC_ABOUT_WEB,static,1342308608

[DLG:IDD_DIALOG_GEN_TYPE]
Type=1
Class=RP_GENERATION_TYPE_MJ
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_COMBO1,combobox,1344339970
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_STATIC,static,1342308352

[DLG:IDD_DIALOG_CREATE_1_MJ]
Type=1
Class=RPShapeCreateDlg1_MJ
ControlCount=22
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_EDIT1,edit,1350631552
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_EDIT3,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,button,1342177287
Control10=IDC_STATIC,static,1342308352
Control11=IDC_COMBO1,combobox,1344340227
Control12=IDC_EDIT4,edit,1350631552
Control13=IDC_EDIT5,edit,1484849280
Control14=IDC_EDIT6,edit,1476460672
Control15=IDC_EDIT7,edit,1476460672
Control16=IDC_EDIT8,edit,1350631552
Control17=IDC_STATIC,static,1342308352
Control18=IDC_STATIC,static,1342308352
Control19=IDC_STATIC,static,1342308352
Control20=IDC_STATIC,static,1342308352
Control21=IDC_STATIC,static,1342308352
Control22=IDC_BUTTON1,button,1342242816

[DLG:IDD_DIALOG_CREATE_2_MJ]
Type=1
Class=RPShapeCreateDlg2_MJ
ControlCount=13
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT3,edit,1350631552
Control10=IDC_EDIT4,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT5,edit,1350631552
Control13=IDC_STATIC,button,1342177287

[DLG:IDD_DIALOG_PROCESS_1_MJ]
Type=1
Class=RPShapeProcessDlg1_MJ
ControlCount=30
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,button,1342177287
Control4=IDC_STATIC,static,1342308352
Control5=IDC_COMBO1,combobox,1344340227
Control6=IDC_EDIT4,edit,1350631552
Control7=IDC_EDIT5,edit,1484849280
Control8=IDC_EDIT6,edit,1476460672
Control9=IDC_EDIT7,edit,1476460672
Control10=IDC_EDIT8,edit,1350631552
Control11=IDC_STATIC,static,1342308352
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_STATIC,static,1342308352
Control15=IDC_STATIC,static,1342308352
Control16=IDC_STATIC,static,1342308352
Control17=IDC_EDIT1,edit,1350631552
Control18=IDC_STATIC,static,1342308352
Control19=IDC_COMBO2,combobox,1344339971
Control20=IDC_STATIC,static,1342308352
Control21=IDC_EDIT2,edit,1350631552
Control22=IDC_STATIC,button,1342177287
Control23=IDC_BUTTON1,button,1342242816
Control24=IDC_BUTTON2,button,1342242816
Control25=IDC_LIST1,listbox,1352728833
Control26=IDC_STATIC,static,1342308352
Control27=IDC_COMBO3,combobox,1344340227
Control28=IDC_STATIC,button,1342177287
Control29=IDC_STATIC,static,1342308352
Control30=IDC_COMBO4,combobox,1344340227

[DLG:IDD_DIALOG_PROCESS_2_MJ]
Type=1
Class=RPShapeProcessDlg2_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_COMBO1,combobox,1344340226

[DLG:IDD_DIALOG_RESOURCE_DLG1]
Type=1
Class=RPShapeResourceDLG1_MJ
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_EDIT1,edit,1350631552
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT2,edit,1350631552
Control7=IDC_STATIC,static,1342308352

[DLG:IDD_DIALOG_TERMINATE_1_MJ]
Type=1
Class=RPShapeTerminateDlg1_MJ
ControlCount=4
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_EDIT1,edit,1350631552

[TB:TOOLBARBLOCKMJ]
Type=1
Class=?
Command1=ID_BUTTON32779
Command2=ID_BUTTON32781
Command3=ID_BUTTON32782
Command4=ID_BUTTON32783
CommandCount=4

[TB:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_EDIT_CUT
Command3=ID_EDIT_COPY
Command4=ID_EDIT_PASTE
Command5=ID_FLOW_SELECT
Command6=ID_FLOW_CONNECTOR
Command7=ID_FLOW_ROTATE
Command8=ID_GENERATE
Command9=ID_GEN_TYPE
CommandCount=9

[TB:IDR_STYLEANDCOLOR]
Type=1
Class=?
Command1=ID_BTN_FILL_BRUSH
Command2=ID_BTN_FILL_PEN
Command3=ID_BTN_FILL_TEXT
CommandCount=3

[MNU:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_APP_EXIT
Command3=ID_VIEW_TOOLBAR
Command4=ID_VIEW_STATUS_BAR
Command5=ID_APP_ABOUT
CommandCount=5

[MNU:IDR_RDO_PRTYPE (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_CLOSE
Command3=ID_APP_EXIT
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_EDIT_COPY
Command7=ID_EDIT_PASTE
Command8=ID_VIEW_TOOLBAR
Command9=ID_VIEW_STATUS_BAR
Command10=ID_WINDOW_CASCADE
Command11=ID_WINDOW_TILE_HORZ
Command12=ID_WINDOW_ARRANGE
Command13=ID_APP_ABOUT
CommandCount=13

[ACL:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_EDIT_COPY
Command2=ID_FILE_NEW
Command3=ID_EDIT_PASTE
Command4=ID_EDIT_UNDO
Command5=ID_EDIT_CUT
Command6=ID_NEXT_PANE
Command7=ID_PREV_PANE
Command8=ID_EDIT_COPY
Command9=ID_EDIT_PASTE
Command10=ID_EDIT_CUT
Command11=ID_EDIT_UNDO
CommandCount=11


bug fixes

bug fixes

! http://clarionedge.com, http://fushnisoft.com
! Licensed under the MIT license: https://github.com/fushnisoft/ClarionMetroWizard/blob/master/LICENSE.txt

      Member()
         omit('***$***',_VER_C55)
_ABCDllMode_  EQUATE(0)
_ABCLinkMode_ EQUATE(1)
         ***$***
      Include('Equates.CLW'),ONCE
      Include('Keycodes.CLW'),ONCE
      Include('Errors.CLW'),ONCE
      Map
      End ! map
      Include('ce_MetroWizardForm.inc'),ONCE

ce_MetroWizardForm.Construct  PROCEDURE
  CODE

  SELF.headerHeight = 40
  SELF.footerHeight = 80

  SELF.listTitleFontSize = 16
  SELF.headerFontSize = 14
  SELF.footerFontSize = 9

  SELF.lightColor = 0D1B171H
  SELF.darkColor = 04F453Ch
  SELF.fontColor = COLOR:White
  SELF.fontSelectedColor = COLOR:Black

  SELF.promptTabHeaderUpper = FALSE
  SELF.promptTabDetailUpper = TRUE

  SELF.headerImage = '~header_ce_metro_24x24.ico'

  SELF.buttonCloseIcon =  '~cancel_ce_metro_24x24.ico'
  SELF.buttonNextIcon = '~navigation-right_ce_metro_24x24.ico'
  SELF.buttonPreviousIcon = '~navigation-left_ce_metro_24x24.ico'
  SELF.buttonOKIcon = '~thumb_up_ce_metro_24x24.ico'

  SELF.themeColors[1, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[1, CMW_COLOR_LIGHT] = 000b3f4h
  SELF.themeColors[2, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[2, CMW_COLOR_LIGHT] = 00ab78h
  SELF.themeColors[3, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[3, CMW_COLOR_LIGHT] = 0ed7327h
  SELF.themeColors[4, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[4, CMW_COLOR_LIGHT] = 03e11aeh
  SELF.themeColors[5, CMW_COLOR_DARK] = 0001631h
  SELF.themeColors[5, CMW_COLOR_LIGHT] = 0002f63h
  SELF.themeColors[6, CMW_COLOR_DARK] = 0040055h
  SELF.themeColors[6, CMW_COLOR_LIGHT] = 0011db1h
  SELF.themeColors[7, CMW_COLOR_DARK] = 03a024fh
  SELF.themeColors[7, CMW_COLOR_LIGHT] = 04f00c1h
  SELF.themeColors[8, CMW_COLOR_DARK] = 051022eh
  SELF.themeColors[8, CMW_COLOR_LIGHT] = 0ad0072h
  SELF.themeColors[9, CMW_COLOR_DARK] = 065001dh
  SELF.themeColors[9, CMW_COLOR_LIGHT] = 0b51746h
  SELF.themeColors[10, CMW_COLOR_DARK] = 04f2100h
  SELF.themeColors[10, CMW_COLOR_LIGHT] = 0c06a00h
  SELF.themeColors[11, CMW_COLOR_DARK] = 05e4800h
  SELF.themeColors[11, CMW_COLOR_LIGHT] = 0878300h
  SELF.themeColors[12, CMW_COLOR_DARK] = 0004900h
  SELF.themeColors[12, CMW_COLOR_LIGHT] = 0009918h
  SELF.themeColors[13, CMW_COLOR_DARK] = 02c9917h
  SELF.themeColors[13, CMW_COLOR_LIGHT] = 040c100h
  SELF.themeColors[14, CMW_COLOR_DARK] = 01b6be6h
  SELF.themeColors[14, CMW_COLOR_LIGHT] = 01d99ffh
  SELF.themeColors[15, CMW_COLOR_DARK] = 01e1db9h
  SELF.themeColors[15, CMW_COLOR_LIGHT] = 0132effh
  SELF.themeColors[16, CMW_COLOR_DARK] = 06a1ab3h
  SELF.themeColors[16, CMW_COLOR_LIGHT] = 0771dffh
  SELF.themeColors[17, CMW_COLOR_DARK] = 0b41c68h
  SELF.themeColors[17, CMW_COLOR_LIGHT] = 0ff3faah
  SELF.themeColors[18, CMW_COLOR_DARK] = 0ba5719h
  SELF.themeColors[18, CMW_COLOR_LIGHT] = 0ffae20h
  SELF.themeColors[19, CMW_COLOR_DARK] = 0e59b59h
  SELF.themeColors[19, CMW_COLOR_LIGHT] = 0ffc557h
  SELF.themeColors[20, CMW_COLOR_DARK] = 0a8a800h
  SELF.themeColors[20, CMW_COLOR_LIGHT] = 0cdd800h
  SELF.themeColors[21, CMW_COLOR_DARK] = 01bba82h
  SELF.themeColors[21, CMW_COLOR_LIGHT] = 000d191h
  SELF.themeColors[22, CMW_COLOR_DARK] = 0099dd3h
  SELF.themeColors[22, CMW_COLOR_LIGHT] = 000b7e1h
  SELF.themeColors[23, CMW_COLOR_DARK] = 0bb65e1h
  SELF.themeColors[23, CMW_COLOR_LIGHT] = 0bc76ffh
  SELF.themeColors[24, CMW_COLOR_DARK] = 0686868h
  SELF.themeColors[24, CMW_COLOR_LIGHT] = 0a5a400h
  SELF.themeColors[25, CMW_COLOR_DARK] = 0686868h
  SELF.themeColors[25, CMW_COLOR_LIGHT] = 0237dffh

ce_MetroWizardForm.Init   PROCEDURE (WindowManager pWM, SIGNED pSheetFeq)
savePixels                  BYTE
  CODE

  ! Make sure the sheet is set to the width of the window
  pSheetFeq{PROP:Xpos} = 0
  pSheetFeq{PROP:Width} = 0{PROP:Width}

  ! Init the parent TabList class
  SELF.Init(pWm, pSheetFeq, TRUE)

  savePixels = 0{PROP:Pixels}
  0{PROP:Pixels} = TRUE
  SELF.MoveOriginalControls()
  SELF.CreateControls()
  SELF.SetupWindow()
  SELF.SetupButtons()
  SELF.ApplyColors(SELF.darkColor, SELF.lightColor)

  0{PROP:Pixels} = savePixels

ce_MetroWizardForm.MoveOriginalControls   PROCEDURE()
thisFeq SIGNED
  CODE
  LOOP
    thisFeq = 0{PROP:NextField, thisFeq}
    IF thisFeq = 0
      BREAK
    END
    CASE thisFeq
    OF SELF.backgroundImageFeq
    OROF SELF.boxFeq
    OROF SELF.boxFooterFeq
    OROF SELF.boxHeaderFeq
    OROF SELF.boxListTitleFeq
    OROF SELF.buttonClose
    OROF SELF.buttonNext
    OROF SELF.buttonOK
    OROF SELF.buttonPrevious
    OROF SELF.headerImageFeq
    OROF SELF.lastTabFeq
    OROF SELF.listFeq
      CYCLE
    END
    IF thisFeq < 0 OR thisFeq{PROP:Type} => CREATE:toolbar
      CYCLE
    END
    CASE thisFeq{PROP:Type}
    OF CREATE:item
    OROF CREATE:menubar
      CYCLE
    END

    thisFeq{PROP:Ypos} = thisFeq{PROP:Ypos} + SELF.headerHeight
  END

ce_MetroWizardForm.SetupWindow    PROCEDURE()
posG                                Group(PositionGroup)
                                    END
  CODE

  ! Do some messing around to position all the controls...
  ! This first bit is to re-arrange the controls added by the PARENT TabList class
  SELF.boxFeq{PROP:Xpos} = SELF.listFeq{PROP:Width} - 1
  SELF.boxFeq{PROP:Ypos} = SELF.boxHeaderFeq{PROP:Height}
  SELF.boxFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.boxFooterFeq{PROP:YPos} - 1
  SELF.boxFeq{PROP:Width} = 0{PROP:Width} - SELF.boxFeq{PROP:Xpos} + 2

  SELF.backgroundImageFeq{PROP:Xpos} = SELF.boxFeq{PROP:Xpos}
  SELF.backgroundImageFeq{PROP:Ypos} = SELF.boxFeq{PROP:Ypos}
  SELF.backgroundImageFeq{PROP:Width} = SELF.boxFeq{PROP:Width}

  SELF.boxHeaderFeq{PROP:Width} = 0{PROP:Width}

  SELF.boxFooterFeq{PROP:Width} = 0{PROP:Width}
  !SELF.boxFooterFeq{PROP:Height} = 0{PROP:Height} - SELF.boxFooterFeq{PROP:Ypos} + 20

  SELF.boxListTitleFeq{PROP:XPos} = 0
  SELF.boxListTitleFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height}
  SELF.boxListTitleFeq{PROP:Width} = SELF.listFeq{PROP:Width}+1

  SELF.listFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height} + SELF.boxListTitleFeq{PROP:Height} - 1
  SELF.listFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.listFeq{PROP:YPos}
  IF SELF.listBorderC6Style = FALSE
    SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1
  END

  SELF.listFeq{PROP:Width} = SELF.listFeq{PROP:Width} + 1

  SELF.promptListTitleFeq{PROP:XPos} = 8
  SELF.promptListTitleFeq{PROP:YPos} = SELF.boxListTitleFeq{PROP:YPos} + (SELF.boxListTitleFeq{PROP:Height}/3)

  SELF.listFeq{PROP:Trn} = FALSE

  !SELF.listFeq{PROPSTYLE:FontSize, 1} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2
  SELF.listFeq{PROPLIST:LeftOffset, 1} = 4

    !SELF.listFeq{PROPSTYLE:FontSize, 2} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2
  SELF.listFeq{PROPLIST:LeftOffset, 2} = 6

  SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + 6

  SELF.promptHeaderFeq{PROP:Xpos} = 40
  SELF.promptHeaderFeq{PROP:Ypos} = 6

  SELF.promptFooterFeq{PROP:Xpos} = 20
  SELF.promptFooterFeq{PROP:Ypos} = 0{PROP:Height} - 30

  IF SELF.listBorderC6Style = FALSE
    SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1
  ELSE
    SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height}
  END

  GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)
  SELF.listBorderFeq = Create(0, CREATE:region)
  IF SELF.listBorderC6Style = FALSE
    SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)
  ELSE
    SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)
  END

  SELF.listBorderFeq{PROP:Hide} = FALSE
  0{PROP:Height} = SELF.boxFooterFeq{PROP:Ypos} + SELF.boxFooterFeq{PROP:Height}

ce_MetroWizardForm.SetupButtons   PROCEDURE()
  CODE
  IF SELF.buttonClose > 0
    SELF.SetButtonStyle(SELF.buttonClose, SELF.buttonCloseIcon)
    SELF.buttonClose{PROP:Xpos} = 0{PROP:Width} - SELF.buttonClose{PROP:Width} - 20
  END
  IF SELF.buttonNext > 0
    SELF.SetButtonStyle(SELF.buttonNext, SELF.buttonNextIcon)
    SELF.buttonNext{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonNext{PROP:Width}*2) - 30
  END
  IF SELF.buttonOK > 0
    SELF.SetButtonStyle(SELF.buttonOK, SELF.buttonOKIcon)
    SELF.buttonOK{PROP:Xpos} = SELF.buttonNext{PROP:XPos}
    SELF.buttonOK{PROP:Hide} = TRUE
  END
  IF SELF.buttonPrevious > 0
    SELF.SetButtonStyle(SELF.buttonPrevious, SELF.buttonPreviousIcon)
    SELF.buttonPrevious{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonPrevious{PROP:Width}*3) - 40
  END

ce_MetroWizardForm.SetButtonStyle PROCEDURE(SIGNED pFeq, STRING pIcon) !,VIRTUAL
  CODE

   pFeq{PROP:Width} = 62
   pFeq{PROP:Height} = 56
   pFeq{PROP:Xpos} = 0{PROP:Width} - pFeq{PROP:Width} - 20
   pFeq{PROP:Ypos} = 0{PROP:Height} - pFeq{PROP:Height} - 10
   pFeq{PROP:Flat} = TRUE
   pFeq{PROP:Trn} = TRUE
   IF pFeq{PROP:Icon} = ''
     pFeq{PROP:Icon} = pIcon
   END

ce_MetroWizardForm.CreateControls PROCEDURE()!,VIRTUAL
  CODE

  ! Create a bunch of controls used by the window
  ! ==========================================
  SELF.boxHeaderFeq = Create(0, CREATE:box)
  SetPosition(SELF.boxHeaderFeq, 0, 0, 0{PROP:Width}, SELF.headerHeight)
  SELF.boxHeaderFeq{PROP:Hide} = FALSE

  SELF.boxFooterFeq = Create(0, CREATE:box)
  SETPOSITION(SELF.boxFooterFeq, 0, 0{PROP:Height} - SELF.footerHeight, 0{PROP:Width}, SELF.footerHeight)
  SELF.boxFooterFeq{PROP:Hide} = FALSE

  SELF.boxListTitleFeq = CREATE(0, CREATE:box)
  ! SETPOSITION <-- happens later
  SELF.boxListTitleFeq{PROP:Hide} = FALSE

  SELF.promptListTitleFeq = CREATE(0, CREATE:prompt)
  SELF.promptListTitleFeq{PROP:FontSize} = SELF.listTitleFontSize
  SELF.promptListTitleFeq{PROP:Text} = 'List Title'
  SELF.promptListTitleFeq{PROP:Hide} = FALSE

  SELF.promptHeaderFeq = CREATE(0, CREATE:prompt)
  SELF.promptHeaderFeq{PROP:FontSize} = SELF.headerFontSize
  SELF.promptHeaderFeq{PROP:Text} = 'Header'
  SELF.promptHeaderFeq{PROP:Hide} = FALSE

  SELF.promptFooterFeq = CREATE(0, CREATE:prompt)
  SELF.promptFooterFeq{PROP:FontSize} = SELF.footerFontSize
  SELF.promptFooterFeq{PROP:Text} = 'Footer'
  SELF.promptFooterFeq{PROP:Hide} = FALSE

  SELF.headerImageFeq = Create(0, CREATE:image)
  SETPOSITION(SELF.headerImageFeq, 6, 8, 24, 24)
  SELF.headerImageFeq{PROP:Text} = SELF.headerImage
  SELF.headerImageFeq{PROP:Hide} = FALSE
  ! ==========================================

ce_MetroWizardForm.SetTheme   PROCEDURE(BYTE pThemeNumber)!,VIRTUAL
  CODE
  IF pThemeNumber > 0 AND pThemeNumber < 26
    SELF.ApplyColors(SELF.themeColors[pThemeNumber, CMW_COLOR_DARK], SELF.themeColors[pThemeNumber, CMW_COLOR_LIGHT])
  END

ce_MetroWizardForm.ApplyColors                   PROCEDURE(LONG pDarkColor, LONG pLightColor)!,VIRTUAL
buttonFeq                           SIGNED
i                                   LONG
  CODE

  SELF.lightColor = pLightColor
  SELF.darkColor = pDarkColor

  SELF.boxFeq{PROP:Color} = COLOR:WINDOW

  SELF.listFeq{PROP:Background} = SELF.lightColor
  SELF.listFeq{PROP:Color} = SELF.lightColor

  SELF.listFeq{PROPLIST:TextSelected, 1} = SELF.fontSelectedColor
  SELF.listFeq{PROPLIST:BackSelected, 1} = SELF.fontColor
  SELF.listFeq{PROPLIST:TextColor, 1} = SELF.fontColor
  SELF.listFeq{PROPLIST:BackColor, 1} = SELF.listFeq{PROP:Background}

  SELF.listFeq{PROPLIST:TextSelected, 2} = SELF.fontSelectedColor
  SELF.listFeq{PROPLIST:BackSelected, 2} = SELF.fontColor
  SELF.listFeq{PROPLIST:TextColor, 2} = SELF.fontColor
  SELF.listFeq{PROPLIST:BackColor, 2} = SELF.listFeq{PROP:Background}

  SELF.listFeq{PROPLIST:Grid, 1} = SELF.listFeq{PROP:Background}
  SELF.listFeq{PROPLIST:Grid, 2} = SELF.listFeq{PROP:Background}

  SELF.listBorderFeq{PROP:Color} = SELF.listFeq{PROP:Background}

  LOOP
    i += 1
    EXECUTE i
      buttonFeq = SELF.buttonClose
      buttonFeq = SELF.buttonNext
      buttonFeq = SELF.buttonOK
      buttonFeq = SELF.buttonPrevious
    ELSE
      BREAK
    END
    IF buttonFeq = 0
      CYCLE
    END

    buttonFeq{PROP:FontColor} = SELF.fontColor
    buttonFeq{PROP:FontStyle} = FONT:bold
    buttonFeq{PROP:Background} = SELF.darkColor
  END

  SELF.boxHeaderFeq{PROP:Color} = SELF.darkColor
  SELF.boxHeaderFeq{PROP:Fill} = SELF.darkColor

  SELF.boxFooterFeq{PROP:Color} = SELF.darkColor
  SELF.boxFooterFeq{PROP:Fill} = SELF.darkColor

  SELF.boxListTitleFeq{PROP:Color} = SELF.lightColor
  SELF.boxListTitleFeq{PROP:Fill} = SELF.lightColor

  SELF.promptListTitleFeq{PROP:FontColor} = SELF.fontColor
  SELF.promptListTitleFeq{PROP:Color} = SELF.lightColor

  SELF.promptHeaderFeq{PROP:FontColor} = SELF.fontColor
  SELF.promptHeaderFeq{PROP:Color} = SELF.darkColor

  SELF.promptFooterFeq{PROP:FontColor} = SELF.fontColor
  SELF.promptFooterFeq{PROP:Color} = SELF.darkColor

ce_MetroWizardForm.TakeAccepted  PROCEDURE() !,VIRTUAL
  CODE

  CASE Event()
  OF EVENT:Accepted
    CASE ACCEPTED()
    OF SELF.buttonNext
      Select(SELF.listFeq, Choice(SELF.listFeq)+1)
      Post(EVENT:NewSelection, SELF.listFeq)
    OF SELF.buttonPrevious
      Select(SELF.listFeq, Choice(SELF.listFeq)-1)
      Post(EVENT:NewSelection, SELF.listFeq)
    END
  END

  RETURN

ce_MetroWizardForm.TakeNewSelection   PROCEDURE() !,VIRTUAL
selectedTabFeq                          SIGNED
  CODE

  CASE Field()
  OF SELF.sheetFeq
    selectedTabFeq = SELF.sheetFeq{PROP:ChoiceFEQ}
    IF SELF.promptTabHeader > 0
      SELF.promptTabHeader{PROP:Text} = Choose(SELF.promptTabHeaderUpper=TRUE, Upper(selectedTabFeq{PROP:Text}), selectedTabFeq{PROP:Text})
    END
    IF SELF.promptTabDetail > 0
      SELF.promptTabDetail{PROP:Text} = Choose(SELF.promptTabDetailUpper=TRUE, Upper(selectedTabFeq{PROP:Tip}), selectedTabFeq{PROP:Tip})
    END

    IF selectedTabFeq{PROP:ChildIndex} = SELF.sheetFeq{PROP:NumTabs}
      SELF.buttonOK{PROP:Hide} = FALSE
      SELF.buttonNext{PROP:Hide} = TRUE
    ELSE
      SELF.buttonOK{PROP:Hide} = TRUE
      SELF.buttonNext{PROP:Hide} = FALSE
    END

    IF selectedTabFeq{PROP:ChildIndex} = 1
      SELF.buttonPrevious{PROP:Hide} = TRUE
    ELSE
      SELF.buttonPrevious{PROP:Hide} = FALSE
    END
  END

ce_MetroWizardForm.SetHeaderIcon  PROCEDURE(STRING pText)
  CODE
  SELF.headerImageFeq{PROP:Text} = pText

ce_MetroWizardForm.SetHeaderText  PROCEDURE(STRING pText)
  CODE
  SELF.promptHeaderFeq{PROP:Text} = pText

ce_MetroWizardForm.SetListHeaderText  PROCEDURE(STRING pText)
  CODE
  SELF.promptListTitleFeq{PROP:Text} = pText

ce_MetroWizardForm.SetFooterText  PROCEDURE(STRING pText)
  CODE
  SELF.promptFooterFeq{PROP:Text} = pText

! http://clarionedge.com, http://fushnisoft.com
! Licensed under the MIT license: https://github.com/fushnisoft/ClarionMetroWizard/blob/master/LICENSE.txt

      Member()
         omit('***$***',_VER_C55)
_ABCDllMode_  EQUATE(0)
_ABCLinkMode_ EQUATE(1)
         ***$***
      Include('Equates.CLW'),ONCE
      Include('Keycodes.CLW'),ONCE
      Include('Errors.CLW'),ONCE
      Map
      End ! map
      Include('ce_MetroWizardForm.inc'),ONCE

ce_MetroWizardForm.Construct  PROCEDURE
  CODE

  SELF.headerHeight = 40
  SELF.footerHeight = 80

  SELF.listTitleFontSize = 16
  SELF.headerFontSize = 14
  SELF.footerFontSize = 9

  SELF.lightColor = 0D1B171H
  SELF.darkColor = 04F453Ch
  SELF.fontColor = COLOR:White
  SELF.fontSelectedColor = COLOR:Black

  SELF.promptTabHeaderUpper = FALSE
  SELF.promptTabDetailUpper = TRUE

  SELF.headerImage = '~header_ce_metro_24x24.ico'

  SELF.buttonCloseIcon =  '~cancel_ce_metro_24x24.ico'
  SELF.buttonNextIcon = '~navigation-right_ce_metro_24x24.ico'
  SELF.buttonPreviousIcon = '~navigation-left_ce_metro_24x24.ico'
  SELF.buttonOKIcon = '~thumb_up_ce_metro_24x24.ico'

  SELF.themeColors[1, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[1, CMW_COLOR_LIGHT] = 000b3f4h
  SELF.themeColors[2, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[2, CMW_COLOR_LIGHT] = 00ab78h
  SELF.themeColors[3, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[3, CMW_COLOR_LIGHT] = 0ed7327h
  SELF.themeColors[4, CMW_COLOR_DARK] = 0252525h
  SELF.themeColors[4, CMW_COLOR_LIGHT] = 03e11aeh
  SELF.themeColors[5, CMW_COLOR_DARK] = 0001631h
  SELF.themeColors[5, CMW_COLOR_LIGHT] = 0002f63h
  SELF.themeColors[6, CMW_COLOR_DARK] = 0040055h
  SELF.themeColors[6, CMW_COLOR_LIGHT] = 0011db1h
  SELF.themeColors[7, CMW_COLOR_DARK] = 03a024fh
  SELF.themeColors[7, CMW_COLOR_LIGHT] = 04f00c1h
  SELF.themeColors[8, CMW_COLOR_DARK] = 051022eh
  SELF.themeColors[8, CMW_COLOR_LIGHT] = 0ad0072h
  SELF.themeColors[9, CMW_COLOR_DARK] = 065001dh
  SELF.themeColors[9, CMW_COLOR_LIGHT] = 0b51746h
  SELF.themeColors[10, CMW_COLOR_DARK] = 04f2100h
  SELF.themeColors[10, CMW_COLOR_LIGHT] = 0c06a00h
  SELF.themeColors[11, CMW_COLOR_DARK] = 05e4800h
  SELF.themeColors[11, CMW_COLOR_LIGHT] = 0878300h
  SELF.themeColors[12, CMW_COLOR_DARK] = 0004900h
  SELF.themeColors[12, CMW_COLOR_LIGHT] = 0009918h
  SELF.themeColors[13, CMW_COLOR_DARK] = 02c9917h
  SELF.themeColors[13, CMW_COLOR_LIGHT] = 040c100h
  SELF.themeColors[14, CMW_COLOR_DARK] = 01b6be6h
  SELF.themeColors[14, CMW_COLOR_LIGHT] = 01d99ffh
  SELF.themeColors[15, CMW_COLOR_DARK] = 01e1db9h
  SELF.themeColors[15, CMW_COLOR_LIGHT] = 0132effh
  SELF.themeColors[16, CMW_COLOR_DARK] = 06a1ab3h
  SELF.themeColors[16, CMW_COLOR_LIGHT] = 0771dffh
  SELF.themeColors[17, CMW_COLOR_DARK] = 0b41c68h
  SELF.themeColors[17, CMW_COLOR_LIGHT] = 0ff3faah
  SELF.themeColors[18, CMW_COLOR_DARK] = 0ba5719h
  SELF.themeColors[18, CMW_COLOR_LIGHT] = 0ffae20h
  SELF.themeColors[19, CMW_COLOR_DARK] = 0e59b59h
  SELF.themeColors[19, CMW_COLOR_LIGHT] = 0ffc557h
  SELF.themeColors[20, CMW_COLOR_DARK] = 0a8a800h
  SELF.themeColors[20, CMW_COLOR_LIGHT] = 0cdd800h
  SELF.themeColors[21, CMW_COLOR_DARK] = 01bba82h
  SELF.themeColors[21, CMW_COLOR_LIGHT] = 000d191h
  SELF.themeColors[22, CMW_COLOR_DARK] = 0099dd3h
  SELF.themeColors[22, CMW_COLOR_LIGHT] = 000b7e1h
  SELF.themeColors[23, CMW_COLOR_DARK] = 0bb65e1h
  SELF.themeColors[23, CMW_COLOR_LIGHT] = 0bc76ffh
  SELF.themeColors[24, CMW_COLOR_DARK] = 0686868h
  SELF.themeColors[24, CMW_COLOR_LIGHT] = 0a5a400h
  SELF.themeColors[25, CMW_COLOR_DARK] = 0686868h
  SELF.themeColors[25, CMW_COLOR_LIGHT] = 0237dffh

ce_MetroWizardForm.Init   PROCEDURE (WindowManager pWM, SIGNED pSheetFeq)
savePixels                  BYTE
  CODE

  ! Make sure the sheet is set to the width of the window
  pSheetFeq{PROP:Xpos} = 0
  pSheetFeq{PROP:Width} = 0{PROP:Width}

  ! Init the parent TabList class
  SELF.Init(pWm, pSheetFeq, TRUE)

  savePixels = 0{PROP:Pixels}
  0{PROP:Pixels} = TRUE
  SELF.MoveOriginalControls()
  SELF.CreateControls()
  SELF.SetupWindow()
  SELF.SetupButtons()
  SELF.ApplyColors(SELF.darkColor, SELF.lightColor)

  0{PROP:Pixels} = FALSE

ce_MetroWizardForm.MoveOriginalControls   PROCEDURE()
thisFeq SIGNED
  CODE
  LOOP
    thisFeq = 0{PROP:NextField, thisFeq}
    IF thisFeq = 0
      BREAK
    END
    CASE thisFeq
    OF SELF.backgroundImageFeq
    OROF SELF.boxFeq
    OROF SELF.boxFooterFeq
    OROF SELF.boxHeaderFeq
    OROF SELF.boxListTitleFeq
    OROF SELF.buttonClose
    OROF SELF.buttonNext
    OROF SELF.buttonOK
    OROF SELF.buttonPrevious
    OROF SELF.headerImageFeq
    OROF SELF.lastTabFeq
    OROF SELF.listFeq
      CYCLE
    END
    IF thisFeq < 0 OR thisFeq{PROP:Type} => CREATE:toolbar
      CYCLE
    END

    thisFeq{PROP:Ypos} = thisFeq{PROP:Ypos} + SELF.headerHeight
  END

ce_MetroWizardForm.SetupWindow    PROCEDURE()
posG                                Group(PositionGroup)
                                    END
  CODE

  ! Do some messing around to position all the controls...
  ! This first bit is to re-arrange the controls added by the PARENT TabList class
  SELF.boxFeq{PROP:Xpos} = SELF.listFeq{PROP:Width} - 1
  SELF.boxFeq{PROP:Ypos} = SELF.boxHeaderFeq{PROP:Height}
  SELF.boxFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.boxFooterFeq{PROP:YPos} - 1
  SELF.boxFeq{PROP:Width} = 0{PROP:Width} - SELF.boxFeq{PROP:Xpos} + 2

  SELF.backgroundImageFeq{PROP:Xpos} = SELF.boxFeq{PROP:Xpos}
  SELF.backgroundImageFeq{PROP:Ypos} = SELF.boxFeq{PROP:Ypos}
  SELF.backgroundImageFeq{PROP:Width} = SELF.boxFeq{PROP:Width}

  SELF.boxHeaderFeq{PROP:Width} = 0{PROP:Width}

  SELF.boxFooterFeq{PROP:Width} = 0{PROP:Width}
  !SELF.boxFooterFeq{PROP:Height} = 0{PROP:Height} - SELF.boxFooterFeq{PROP:Ypos} + 20

  SELF.boxListTitleFeq{PROP:XPos} = 0
  SELF.boxListTitleFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height}
  SELF.boxListTitleFeq{PROP:Width} = SELF.listFeq{PROP:Width}+1

  SELF.listFeq{PROP:YPos} = SELF.boxHeaderFeq{PROP:Height} + SELF.boxListTitleFeq{PROP:Height} - 1
  SELF.listFeq{PROP:Height} = SELF.boxFooterFeq{PROP:YPos} - SELF.listFeq{PROP:YPos}
  IF SELF.listBorderC6Style = FALSE
    SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1
  END

  SELF.listFeq{PROP:Width} = SELF.listFeq{PROP:Width} + 1

  SELF.promptListTitleFeq{PROP:XPos} = 8
  SELF.promptListTitleFeq{PROP:YPos} = SELF.boxListTitleFeq{PROP:YPos} + (SELF.boxListTitleFeq{PROP:Height}/3)

  SELF.listFeq{PROP:Trn} = FALSE

  !SELF.listFeq{PROPSTYLE:FontSize, 1} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2
  SELF.listFeq{PROPLIST:LeftOffset, 1} = 4

    !SELF.listFeq{PROPSTYLE:FontSize, 2} = SELF.listFeq{PROPSTYLE:FontSize, 1} * 2
  SELF.listFeq{PROPLIST:LeftOffset, 2} = 6

  SELF.listFeq{PROP:LineHeight} = SELF.listFeq{PROP:LineHeight} + 6

  SELF.promptHeaderFeq{PROP:Xpos} = 40
  SELF.promptHeaderFeq{PROP:Ypos} = 6

  SELF.promptFooterFeq{PROP:Xpos} = 20
  SELF.promptFooterFeq{PROP:Ypos} = 0{PROP:Height} - 30

  IF SELF.listBorderC6Style = FALSE
    SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1
  ELSE
    SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height}
  END

  GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)
  SELF.listBorderFeq = Create(0, CREATE:region)
  IF SELF.listBorderC6Style = FALSE
    SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)
  ELSE
    SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)
  END

  SELF.listBorderFeq{PROP:Hide} = FALSE
  0{PROP:Height} = SELF.boxFooterFeq{PROP:Ypos} + SELF.boxFooterFeq{PROP:Height}

ce_MetroWizardForm.SetupButtons   PROCEDURE()
  CODE
  IF SELF.buttonClose > 0
    SELF.SetButtonStyle(SELF.buttonClose, SELF.buttonCloseIcon)
    SELF.buttonClose{PROP:Xpos} = 0{PROP:Width} - SELF.buttonClose{PROP:Width} - 20
  END
  IF SELF.buttonNext > 0
    SELF.SetButtonStyle(SELF.buttonNext, SELF.buttonNextIcon)
    SELF.buttonNext{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonNext{PROP:Width}*2) - 30
  END
  IF SELF.buttonOK > 0
    SELF.SetButtonStyle(SELF.buttonOK, SELF.buttonOKIcon)
    SELF.buttonOK{PROP:Xpos} = SELF.buttonNext{PROP:XPos}
    SELF.buttonOK{PROP:Hide} = TRUE
  END
  IF SELF.buttonPrevious > 0
    SELF.SetButtonStyle(SELF.buttonPrevious, SELF.buttonPreviousIcon)
    SELF.buttonPrevious{PROP:Xpos} = 0{PROP:Width} - (SELF.buttonPrevious{PROP:Width}*3) - 40
  END

ce_MetroWizardForm.SetButtonStyle PROCEDURE(SIGNED pFeq, STRING pIcon) !,VIRTUAL
  CODE

   pFeq{PROP:Width} = 62
   pFeq{PROP:Height} = 56
   pFeq{PROP:Xpos} = 0{PROP:Width} - pFeq{PROP:Width} - 20
   pFeq{PROP:Ypos} = 0{PROP:Height} - pFeq{PROP:Height} - 10
   pFeq{PROP:Flat} = TRUE
   pFeq{PROP:Trn} = TRUE
   IF pFeq{PROP:Icon} = ''
     pFeq{PROP:Icon} = pIcon
   END

ce_MetroWizardForm.CreateControls PROCEDURE()!,VIRTUAL
  CODE

  ! Create a bunch of controls used by the window
  ! ==========================================
  SELF.boxHeaderFeq = Create(0, CREATE:box)
  SetPosition(SELF.boxHeaderFeq, 0, 0, 0{PROP:Width}, SELF.headerHeight)
  SELF.boxHeaderFeq{PROP:Hide} = FALSE

  SELF.boxFooterFeq = Create(0, CREATE:box)
  SETPOSITION(SELF.boxFooterFeq, 0, 0{PROP:Height} - SELF.footerHeight, 0{PROP:Width}, SELF.footerHeight)
  SELF.boxFooterFeq{PROP:Hide} = FALSE

  SELF.boxListTitleFeq = CREATE(0, CREATE:box)
  ! SETPOSITION <-- happens later
  SELF.boxListTitleFeq{PROP:Hide} = FALSE

  SELF.promptListTitleFeq = CREATE(0, CREATE:prompt)
  SELF.promptListTitleFeq{PROP:FontSize} = SELF.listTitleFontSize
  SELF.promptListTitleFeq{PROP:Text} = 'List Title'
  SELF.promptListTitleFeq{PROP:Hide} = FALSE

  SELF.promptHeaderFeq = CREATE(0, CREATE:prompt)
  SELF.promptHeaderFeq{PROP:FontSize} = SELF.headerFontSize
  SELF.promptHeaderFeq{PROP:Text} = 'Header'
  SELF.promptHeaderFeq{PROP:Hide} = FALSE

  SELF.promptFooterFeq = CREATE(0, CREATE:prompt)
  SELF.promptFooterFeq{PROP:FontSize} = SELF.footerFontSize
  SELF.promptFooterFeq{PROP:Text} = 'Footer'
  SELF.promptFooterFeq{PROP:Hide} = FALSE

  SELF.headerImageFeq = Create(0, CREATE:image)
  SETPOSITION(SELF.headerImageFeq, 6, 8, 24, 24)
  SELF.headerImageFeq{PROP:Text} = SELF.headerImage
  SELF.headerImageFeq{PROP:Hide} = FALSE
  ! ==========================================

ce_MetroWizardForm.SetTheme   PROCEDURE(BYTE pThemeNumber)!,VIRTUAL
  CODE
  IF pThemeNumber > 0 AND pThemeNumber < 26
    SELF.ApplyColors(SELF.themeColors[pThemeNumber, CMW_COLOR_DARK], SELF.themeColors[pThemeNumber, CMW_COLOR_LIGHT])
  END

ce_MetroWizardForm.ApplyColors                   PROCEDURE(LONG pDarkColor, LONG pLightColor)!,VIRTUAL
buttonFeq                           SIGNED
i                                   LONG
  CODE

  SELF.lightColor = pLightColor
  SELF.darkColor = pDarkColor

  SELF.boxFeq{PROP:Color} = COLOR:WINDOW

  SELF.listFeq{PROP:Background} = SELF.lightColor
  SELF.listFeq{PROP:Color} = SELF.lightColor

  SELF.listFeq{PROPLIST:TextSelected, 1} = SELF.fontSelectedColor
  SELF.listFeq{PROPLIST:BackSelected, 1} = SELF.fontColor
  SELF.listFeq{PROPLIST:TextColor, 1} = SELF.fontColor
  SELF.listFeq{PROPLIST:BackColor, 1} = SELF.listFeq{PROP:Background}

  SELF.listFeq{PROPLIST:TextSelected, 2} = SELF.fontSelectedColor
  SELF.listFeq{PROPLIST:BackSelected, 2} = SELF.fontColor
  SELF.listFeq{PROPLIST:TextColor, 2} = SELF.fontColor
  SELF.listFeq{PROPLIST:BackColor, 2} = SELF.listFeq{PROP:Background}

  SELF.listFeq{PROPLIST:Grid, 1} = SELF.listFeq{PROP:Background}
  SELF.listFeq{PROPLIST:Grid, 2} = SELF.listFeq{PROP:Background}

  SELF.listBorderFeq{PROP:Color} = SELF.listFeq{PROP:Background}

  LOOP
    i += 1
    EXECUTE i
      buttonFeq = SELF.buttonClose
      buttonFeq = SELF.buttonNext
      buttonFeq = SELF.buttonOK
      buttonFeq = SELF.buttonPrevious
    ELSE
      BREAK
    END
    IF buttonFeq = 0
      CYCLE
    END

    buttonFeq{PROP:FontColor} = SELF.fontColor
    buttonFeq{PROP:FontStyle} = FONT:bold
    buttonFeq{PROP:Background} = SELF.darkColor
  END

  SELF.boxHeaderFeq{PROP:Color} = SELF.darkColor
  SELF.boxHeaderFeq{PROP:Fill} = SELF.darkColor

  SELF.boxFooterFeq{PROP:Color} = SELF.darkColor
  SELF.boxFooterFeq{PROP:Fill} = SELF.darkColor

  SELF.boxListTitleFeq{PROP:Color} = SELF.lightColor
  SELF.boxListTitleFeq{PROP:Fill} = SELF.lightColor

  SELF.promptListTitleFeq{PROP:FontColor} = SELF.fontColor
  SELF.promptListTitleFeq{PROP:Color} = SELF.lightColor

  SELF.promptHeaderFeq{PROP:FontColor} = SELF.fontColor
  SELF.promptHeaderFeq{PROP:Color} = SELF.darkColor

  SELF.promptFooterFeq{PROP:FontColor} = SELF.fontColor
  SELF.promptFooterFeq{PROP:Color} = SELF.darkColor

ce_MetroWizardForm.TakeAccepted  PROCEDURE() !,VIRTUAL
  CODE

  CASE Event()
  OF EVENT:Accepted
    CASE ACCEPTED()
    OF SELF.buttonNext
      Select(SELF.listFeq, Choice(SELF.listFeq)+1)
      Post(EVENT:NewSelection, SELF.listFeq)
    OF SELF.buttonPrevious
      Select(SELF.listFeq, Choice(SELF.listFeq)-1)
      Post(EVENT:NewSelection, SELF.listFeq)
    END
  END

  RETURN

ce_MetroWizardForm.TakeNewSelection   PROCEDURE() !,VIRTUAL
selectedTabFeq                          SIGNED
  CODE

  CASE Field()
  OF SELF.sheetFeq
    selectedTabFeq = SELF.sheetFeq{PROP:ChoiceFEQ}
    IF SELF.promptTabHeader > 0
      SELF.promptTabHeader{PROP:Text} = Choose(SELF.promptTabHeaderUpper=TRUE, Upper(selectedTabFeq{PROP:Text}), selectedTabFeq{PROP:Text})
    END
    IF SELF.promptTabDetail > 0
      SELF.promptTabDetail{PROP:Text} = Choose(SELF.promptTabDetailUpper=TRUE, Upper(selectedTabFeq{PROP:Tip}), selectedTabFeq{PROP:Tip})
    END

    IF selectedTabFeq{PROP:ChildIndex} = SELF.sheetFeq{PROP:NumTabs}
      SELF.buttonOK{PROP:Hide} = FALSE
      SELF.buttonNext{PROP:Hide} = TRUE
    ELSE
      SELF.buttonOK{PROP:Hide} = TRUE
      SELF.buttonNext{PROP:Hide} = FALSE
    END

    IF selectedTabFeq{PROP:ChildIndex} = 1
      SELF.buttonPrevious{PROP:Hide} = TRUE
    ELSE
      SELF.buttonPrevious{PROP:Hide} = FALSE
    END
  END

ce_MetroWizardForm.SetHeaderIcon  PROCEDURE(STRING pText)
  CODE
  SELF.headerImageFeq{PROP:Text} = pText

ce_MetroWizardForm.SetHeaderText  PROCEDURE(STRING pText)
  CODE
  SELF.promptHeaderFeq{PROP:Text} = pText

ce_MetroWizardForm.SetListHeaderText  PROCEDURE(STRING pText)
  CODE
  SELF.promptListTitleFeq{PROP:Text} = pText

ce_MetroWizardForm.SetFooterText  PROCEDURE(STRING pText)
  CODE
  SELF.promptFooterFeq{PROP:Text} = pText


remove unnecessary quote that breaks syntax highlighting

! http://clarionedge.com, http://fushnisoft.com
! Licensed under the MIT license: https://github.com/fushnisoft/ClarionMetroWizard/blob/master/LICENSE.txt

      Member()
         omit('***$***',_VER_C55)
_ABCDllMode_  EQUATE(0)
_ABCLinkMode_ EQUATE(1)
         ***$***
      Include('Equates.CLW'),ONCE
      Include('Keycodes.CLW'),ONCE
      Include('Errors.CLW'),ONCE
Omit('!!!Docs!!!')

Class Methods
=============

!!!Docs!!!
      Map
      End ! map
  Include('ce_TabList.inc'),ONCE
ce_TabList.Construct  PROCEDURE()
  CODE
  SELF.boxMargin = 4
  SELF.backgroundImage = '~header_grey.bmp'
  SELF.listLineHeightAdjustment = 6
  SELF.listValuesUpperCase = TRUE
  SELF.listValuesBold = FALSE

ce_TabList.Destruct   PROCEDURE
  CODE
  IF NOT SELF.tabQ &= NULL
    DISPOSE(SELF.tabQ)
  END

ce_TabList.Init     PROCEDURE  (WindowManager pWM, SIGNED pSheetFeq, BYTE pSkipChecksAndOptions=FALSE, BYTE pHideCaption=FALSE)
savePixels                   BYTE
Omit('!!!Docs!!!')

.. _method-ce_tablist.init:

---------------
ce_TabList.Init
---------------

Before using any other methods you **must** call this Init method.

**Syntax**::

  Init (WindowManager pWM, SIGNED pSheetFeq)

.. describe:: Parameters:

| *pWM*
| Type: *WindowManager*

  The window manager to call AddItem on

| *pSheetFeq*
| Type: *SIGNED*

  FEQ value of the Sheet control to be adjusted.

!!!Docs!!!

  CODE

  savePixels     = 0{PROP:Pixels}
  0{PROP:Pixels} = TRUE

  SELF.sheetFeq = pSheetFeq
  IF SELF.sheetFeq{PROP:Left} = FALSE OR SELF.sheetFeq{PROP:LeftOffSet} = 0
    Message('ce_TabList.Init||' & |
            'Developer note: You need to design the window with the TABs on the left.|' & |
            '                AND set the width of the tabs manually!')
  END

  pWM.AddItem(SELF.WindowComponent)

  SELF.boxFeq = Create(0, CREATE:box)
  SELF.backgroundImageFeq = Create(0, CREATE:image, 0)
  SELF.backgroundImageFeq{PROP:Text} = SELF.backgroundImage
  SELF.listFeq = Create(0, CREATE:list)

  SELF.listFeq{PROP:Xpos}   = SELF.sheetFeq{PROP:Xpos}
  SELF.listFeq{PROP:Ypos}   = SELF.sheetFeq{PROP:Ypos}
  SELF.listFeq{PROP:Width}  = SELF.sheetFeq{PROP:LeftOffSet} - (SELF.boxMargin/2)
  SELF.listFeq{PROP:Height} = SELF.sheetFeq{PROP:Height}

  SELF.sheetFeq{PROP:Xpos}   = SELF.sheetFeq{PROP:Xpos} + (SELF.boxMargin/2)
  SELF.sheetFeq{PROP:Width}  = SELF.sheetFeq{PROP:Width} - SELF.boxMargin
  SELF.sheetFeq{PROP:Wizard} = TRUE
  SELF.sheetFeq{PROP:Trn}    = TRUE

  ! Setup list style properties
  SELF.listFeq{PROP:Flat}          = TRUE
  SELF.listFeq{PROP:Hide}          = FALSE
  SELF.listFeq{PROP:Tip}           = '.' ! <-- required to make cell tips work!!
  SELF.listFeq{PROP:LineHeight}    = SELF.listFeq{PROP:LineHeight} + SELF.listLineHeightAdjustment
  SELF.listFeq{PROPLIST:Underline} = TRUE
  SELF.listFeq{PROPLIST:Grid}      = COLOR:SCROLLBAR
  SELF.listFeq{PROPLIST:CellStyle, 1} = TRUE
  SELF.listFeq{PROPLIST:Tip, 1} = TRUE
  SELF.listFeq{PROPLIST:DefaultTip, 1} = ''
  SELF.listFeq{PROPLIST:TextSelected, 1} = COLOR:Black
  SELF.listFeq{PROPLIST:BackSelected, 1} = 03F9FFEh
  SELF.listFeq{PROPLIST:LeftOffset, 1} = 2
  IF SELF.listValuesBold = TRUE
    SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:bold
    SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:bold+FONT:italic
  ELSE
    SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:regular
    SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:regular+FONT:italic
  END

  SELF.listFeq{PROPSTYLE:TextSelected, 2} = COLOR:Black
  SELF.listFeq{PROPSTYLE:BackSelected, 2} = 03F9FFEh

  SELF.SetupNoSheet(pSkipChecksAndOptions)

  0{PROP:Alrt,255} = CtrlTab
  0{PROP:Alrt,255} = CtrlShiftTab
  0{PROP:Pixels} = savePixels

  SELF.SetListFrom()

ce_TabList.SetListFrom    PROCEDURE()
i                           LONG
tabFeq                      SIGNED
  CODE

  IF SELF.tabQ &= NULL
    SELF.tabQ &= New(ce_tabQ_Type)
    Assert(~SELF.tabQ &= NULL,'Instantiating SELF.tabQ in ce_TabList.SetListFrom()')
  ELSE
    Free(SELF.tabQ)
  END

  LOOP
    i += 1
    tabFeq = SELF.sheetFeq{PROP:Child, i}
    IF tabFeq = 0
      BREAK
    END
    IF tabFeq{PROP:Hide} = TRUE
      CYCLE
    END

    SELF.tabQ.name = SELF.Replace(tabFeq{PROP:Text}, '&', '')
    IF SELF.listValuesUpperCase = TRUE
      SELF.tabQ.name = Upper(SELF.tabQ.name)
    END

    SELF.tabQ.cellStyle = 1
    SELF.tabQ.cellTooltip = tabFeq{PROP:Tip}
    Add(SELF.tabQ)

    SELF.lastTabFeq = tabFeq
  END
  SELF.listFeq{PROP:From} = SELF.tabQ

ce_TabList.WindowComponent.TakeEvent PROCEDURE() !,BYTE
rv BYTE
  CODE
  rv = PARENT.WindowComponent.TakeEvent()

  CASE Event()
  OF EVENT:PreAlertKey

    ! Move focus to the list control
    Select(SELF.listFeq)
    IF KeyCode() = CtrlTab
      IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.lastTabFeq
        ! This is to "wrap" the selection around the list
        Select(SELF.listFeq, 1)
        Post(EVENT:NewSelection, SELF.listFeq)
      ELSE
        PressKey(DownKey)
      END

    ELSIF KeyCode() = CtrlShiftTab
      IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.sheetFeq{PROP:Child, 1}
        ! This is to "wrap" the selection around the list
        Select(SELF.listFeq, Records(SELF.tabQ))
        Post(EVENT:NewSelection, SELF.listFeq)
      ELSE
        PressKey(UpKey)
      END
    END

  OF EVENT:NewSelection
    IF Field() = SELF.listFeq
      ! Change the style of the selected cell
      ! Reset last choice
      Get(SELF.tabQ, SELF.lastChoice)
      SELF.tabQ.cellStyle = 1
      Put(SELF.tabQ)
      ! Set new choice
      Get(SELF.tabQ, Choice(SELF.listFeq))
      SELF.tabQ.cellStyle = 2
      Put(SELF.tabQ)
      SELF.lastChoice = Choice(SELF.listFeq)

      Select(SELF.sheetFeq, Choose(Choice(SELF.listFeq)=0, 1, Choice(SELF.listFeq)))
      Post(EVENT:NewSelection, SELF.sheetFeq)
    END
    SELF.TakeNewSelection()

  OF EVENT:OpenWindow
    Select(SELF.listFeq, 1)
    Post(EVENT:NewSelection, SELF.listFeq)

  OF EVENT:Accepted
    SELF.TakeAccepted()

  END

  SELF.TakeEvent()

  RETURN rv

ce_TabList.SetupNoSheet   PROCEDURE(BYTE pSkipChecksAndOptions=FALSE)
thisFeq                     SIGNED
tempFeq                     SIGNED
originalDisplayState        BYTE
  CODE

  SELF.sheetFeq{PROP:NoSheet} = TRUE

  SetPosition(SELF.boxFeq, |
              SELF.sheetFeq{PROP:Xpos}+SELF.sheetFeq{PROP:LeftOffSet} + SELF.boxMargin, |
              SELF.sheetFeq{PROP:Ypos}, |
              SELF.sheetFeq{PROP:Width}-SELF.sheetFeq{PROP:LeftOffSet} - SELF.boxMargin, |
              SELF.sheetFeq{PROP:Height})

  SELF.boxFeq{PROP:Color} = COLOR:WINDOWFRAME
  SELF.boxFeq{PROP:Fill}  = COLOR:WINDOW
  SELF.boxFeq{PROP:Hide}  = FALSE

  SetPosition(SELF.backgroundImageFeq, |
              SELF.boxFeq{PROP:Xpos}+2, |
              SELF.boxFeq{PROP:Ypos}+1, |
              SELF.boxFeq{PROP:Width}-4 , |
              SELF.backgroundImageFeq{PROP:Height})

  SELF.backgroundImageFeq{PROP:Hide} = FALSE

  ! Set all prompts checkboxes and groups and radio controls to transparent so they look pretty on top of our background image
  LOOP
    thisFeq = 0{PROP:NextField, thisFeq}
    IF thisFeq = 0
      BREAK
    END
    IF thisFeq < 0
      CYCLE
    END
    IF InList(thisFeq{PROP:Type}, |
      CREATE:prompt, |
      CREATE:option, |
      CREATE:check, |
      CREATE:radio, |
      CREATE:sstring, |
      CREATE:string) > 0 AND |
      (thisFeq{PROP:Background} = -1 OR thisFeq{PROP:Background} = 0)

      IF pSkipChecksAndOptions=TRUE AND |
        InList(thisFeq{PROP:Type}, |
          CREATE:option, |
          CREATE:check, |
          CREATE:radio) > 0

        ! Skip these ones though. PROP:Trn is ugly with SkinFramework applied!
        CYCLE
      END

      thisFeq{PROP:Trn} = TRUE
    END
  END

ce_TabList.Replace                PROCEDURE(STRING pFrom, STRING pFind, STRING pReplace) !,STRING
! FindString , ReplaceWith
locate                       LONG,AUTO
lastLocate                   LONG
  CODE
  ! Note: This is hacked out of a much larger dynamic string class
  !       In this implementation it is _assumed_ that the returned string will always be smaller than the pFrom string. Dirty, nasty hacky coding.
  !       Maybe later I will include the full dynamic string class. For now... this is enough for a demo (I use the full classes in production!)

  LOOP
    locate = InString(Upper(pFind), Upper(pFrom), 1, lastLocate+1)
    IF ~locate
      BREAK
    END

    ! So we dont end up having recursive replacement.
    lastLocate = locate + Len(pReplace)-1

    pFrom = Sub(pFrom, 1, locate-1)                  & |
             pReplace                                      & |
             Sub(pFrom , locate+Len(pFind), Len(pFrom))
  END

  RETURN pFrom

ce_TabList.TakeAccepted   PROCEDURE() !,VIRTUAL
  CODE
ce_TabList.TakeNewSelection   PROCEDURE() !,VIRTUAL
  CODE
ce_TabList.TakeEvent PROCEDURE() !,VIRTUAL
  CODE

! http://clarionedge.com, http://fushnisoft.com
! Licensed under the MIT license: https://github.com/fushnisoft/ClarionMetroWizard/blob/master/LICENSE.txt

      Member()
         omit('***$***',_VER_C55)
_ABCDllMode_  EQUATE(0)
_ABCLinkMode_ EQUATE(1)
         ***$***
      Include('Equates.CLW'),ONCE
      Include('Keycodes.CLW'),ONCE
      Include('Errors.CLW'),ONCE
Omit('!!!Docs!!!')

Class Methods
=============

'!!!Docs!!!
      Map
      End ! map
  Include('ce_TabList.inc'),ONCE
ce_TabList.Construct  PROCEDURE()
  CODE
  SELF.boxMargin = 4
  SELF.backgroundImage = '~header_grey.bmp'
  SELF.listLineHeightAdjustment = 6
  SELF.listValuesUpperCase = TRUE
  SELF.listValuesBold = FALSE

ce_TabList.Destruct   PROCEDURE
  CODE
  IF NOT SELF.tabQ &= NULL
    DISPOSE(SELF.tabQ)
  END

ce_TabList.Init     PROCEDURE  (WindowManager pWM, SIGNED pSheetFeq, BYTE pSkipChecksAndOptions=FALSE, BYTE pHideCaption=FALSE)
savePixels                   BYTE
Omit('!!!Docs!!!')

.. _method-ce_tablist.init:

---------------
ce_TabList.Init
---------------

Before using any other methods you **must** call this Init method.

**Syntax**::

  Init (WindowManager pWM, SIGNED pSheetFeq)

.. describe:: Parameters:

| *pWM*
| Type: *WindowManager*

  The window manager to call AddItem on

| *pSheetFeq*
| Type: *SIGNED*

  FEQ value of the Sheet control to be adjusted.

!!!Docs!!!

  CODE

  savePixels     = 0{PROP:Pixels}
  0{PROP:Pixels} = TRUE

  SELF.sheetFeq = pSheetFeq
  IF SELF.sheetFeq{PROP:Left} = FALSE OR SELF.sheetFeq{PROP:LeftOffSet} = 0
    Message('ce_TabList.Init||' & |
            'Developer note: You need to design the window with the TABs on the left.|' & |
            '                AND set the width of the tabs manually!')
  END

  pWM.AddItem(SELF.WindowComponent)

  SELF.boxFeq = Create(0, CREATE:box)
  SELF.backgroundImageFeq = Create(0, CREATE:image, 0)
  SELF.backgroundImageFeq{PROP:Text} = SELF.backgroundImage
  SELF.listFeq = Create(0, CREATE:list)

  SELF.listFeq{PROP:Xpos}   = SELF.sheetFeq{PROP:Xpos}
  SELF.listFeq{PROP:Ypos}   = SELF.sheetFeq{PROP:Ypos}
  SELF.listFeq{PROP:Width}  = SELF.sheetFeq{PROP:LeftOffSet} - (SELF.boxMargin/2)
  SELF.listFeq{PROP:Height} = SELF.sheetFeq{PROP:Height}

  SELF.sheetFeq{PROP:Xpos}   = SELF.sheetFeq{PROP:Xpos} + (SELF.boxMargin/2)
  SELF.sheetFeq{PROP:Width}  = SELF.sheetFeq{PROP:Width} - SELF.boxMargin
  SELF.sheetFeq{PROP:Wizard} = TRUE
  SELF.sheetFeq{PROP:Trn}    = TRUE

  ! Setup list style properties
  SELF.listFeq{PROP:Flat}          = TRUE
  SELF.listFeq{PROP:Hide}          = FALSE
  SELF.listFeq{PROP:Tip}           = '.' ! <-- required to make cell tips work!!
  SELF.listFeq{PROP:LineHeight}    = SELF.listFeq{PROP:LineHeight} + SELF.listLineHeightAdjustment
  SELF.listFeq{PROPLIST:Underline} = TRUE
  SELF.listFeq{PROPLIST:Grid}      = COLOR:SCROLLBAR
  SELF.listFeq{PROPLIST:CellStyle, 1} = TRUE
  SELF.listFeq{PROPLIST:Tip, 1} = TRUE
  SELF.listFeq{PROPLIST:DefaultTip, 1} = ''
  SELF.listFeq{PROPLIST:TextSelected, 1} = COLOR:Black
  SELF.listFeq{PROPLIST:BackSelected, 1} = 03F9FFEh
  SELF.listFeq{PROPLIST:LeftOffset, 1} = 2
  IF SELF.listValuesBold = TRUE
    SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:bold
    SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:bold+FONT:italic
  ELSE
    SELF.listFeq{PROPSTYLE:FontStyle, 1} = FONT:regular
    SELF.listFeq{PROPSTYLE:FontStyle, 2} = FONT:regular+FONT:italic
  END

  SELF.listFeq{PROPSTYLE:TextSelected, 2} = COLOR:Black
  SELF.listFeq{PROPSTYLE:BackSelected, 2} = 03F9FFEh

  SELF.SetupNoSheet(pSkipChecksAndOptions)

  0{PROP:Alrt,255} = CtrlTab
  0{PROP:Alrt,255} = CtrlShiftTab
  0{PROP:Pixels} = savePixels

  SELF.SetListFrom()

ce_TabList.SetListFrom    PROCEDURE()
i                           LONG
tabFeq                      SIGNED
  CODE

  IF SELF.tabQ &= NULL
    SELF.tabQ &= New(ce_tabQ_Type)
    Assert(~SELF.tabQ &= NULL,'Instantiating SELF.tabQ in ce_TabList.SetListFrom()')
  ELSE
    Free(SELF.tabQ)
  END

  LOOP
    i += 1
    tabFeq = SELF.sheetFeq{PROP:Child, i}
    IF tabFeq = 0
      BREAK
    END
    IF tabFeq{PROP:Hide} = TRUE
      CYCLE
    END

    SELF.tabQ.name = SELF.Replace(tabFeq{PROP:Text}, '&', '')
    IF SELF.listValuesUpperCase = TRUE
      SELF.tabQ.name = Upper(SELF.tabQ.name)
    END

    SELF.tabQ.cellStyle = 1
    SELF.tabQ.cellTooltip = tabFeq{PROP:Tip}
    Add(SELF.tabQ)

    SELF.lastTabFeq = tabFeq
  END
  SELF.listFeq{PROP:From} = SELF.tabQ

ce_TabList.WindowComponent.TakeEvent PROCEDURE() !,BYTE
rv BYTE
  CODE
  rv = PARENT.WindowComponent.TakeEvent()

  CASE Event()
  OF EVENT:PreAlertKey

    ! Move focus to the list control
    Select(SELF.listFeq)
    IF KeyCode() = CtrlTab
      IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.lastTabFeq
        ! This is to "wrap" the selection around the list
        Select(SELF.listFeq, 1)
        Post(EVENT:NewSelection, SELF.listFeq)
      ELSE
        PressKey(DownKey)
      END

    ELSIF KeyCode() = CtrlShiftTab
      IF SELF.sheetFeq{PROP:ChoiceFEQ} = SELF.sheetFeq{PROP:Child, 1}
        ! This is to "wrap" the selection around the list
        Select(SELF.listFeq, Records(SELF.tabQ))
        Post(EVENT:NewSelection, SELF.listFeq)
      ELSE
        PressKey(UpKey)
      END
    END

  OF EVENT:NewSelection
    IF Field() = SELF.listFeq
      ! Change the style of the selected cell
      ! Reset last choice
      Get(SELF.tabQ, SELF.lastChoice)
      SELF.tabQ.cellStyle = 1
      Put(SELF.tabQ)
      ! Set new choice
      Get(SELF.tabQ, Choice(SELF.listFeq))
      SELF.tabQ.cellStyle = 2
      Put(SELF.tabQ)
      SELF.lastChoice = Choice(SELF.listFeq)

      Select(SELF.sheetFeq, Choose(Choice(SELF.listFeq)=0, 1, Choice(SELF.listFeq)))
      Post(EVENT:NewSelection, SELF.sheetFeq)
    END
    SELF.TakeNewSelection()

  OF EVENT:OpenWindow
    Select(SELF.listFeq, 1)
    Post(EVENT:NewSelection, SELF.listFeq)

  OF EVENT:Accepted
    SELF.TakeAccepted()

  END

  SELF.TakeEvent()

  RETURN rv

ce_TabList.SetupNoSheet   PROCEDURE(BYTE pSkipChecksAndOptions=FALSE)
thisFeq                     SIGNED
tempFeq                     SIGNED
originalDisplayState        BYTE
  CODE

  SELF.sheetFeq{PROP:NoSheet} = TRUE

  SetPosition(SELF.boxFeq, |
              SELF.sheetFeq{PROP:Xpos}+SELF.sheetFeq{PROP:LeftOffSet} + SELF.boxMargin, |
              SELF.sheetFeq{PROP:Ypos}, |
              SELF.sheetFeq{PROP:Width}-SELF.sheetFeq{PROP:LeftOffSet} - SELF.boxMargin, |
              SELF.sheetFeq{PROP:Height})

  SELF.boxFeq{PROP:Color} = COLOR:WINDOWFRAME
  SELF.boxFeq{PROP:Fill}  = COLOR:WINDOW
  SELF.boxFeq{PROP:Hide}  = FALSE

  SetPosition(SELF.backgroundImageFeq, |
              SELF.boxFeq{PROP:Xpos}+2, |
              SELF.boxFeq{PROP:Ypos}+1, |
              SELF.boxFeq{PROP:Width}-4 , |
              SELF.backgroundImageFeq{PROP:Height})

  SELF.backgroundImageFeq{PROP:Hide} = FALSE

  ! Set all prompts checkboxes and groups and radio controls to transparent so they look pretty on top of our background image
  LOOP
    thisFeq = 0{PROP:NextField, thisFeq}
    IF thisFeq = 0
      BREAK
    END
    IF thisFeq < 0
      CYCLE
    END
    IF InList(thisFeq{PROP:Type}, |
      CREATE:prompt, |
      CREATE:option, |
      CREATE:check, |
      CREATE:radio, |
      CREATE:sstring, |
      CREATE:string) > 0 AND |
      (thisFeq{PROP:Background} = -1 OR thisFeq{PROP:Background} = 0)

      IF pSkipChecksAndOptions=TRUE AND |
        InList(thisFeq{PROP:Type}, |
          CREATE:option, |
          CREATE:check, |
          CREATE:radio) > 0

        ! Skip these ones though. PROP:Trn is ugly with SkinFramework applied!
        CYCLE
      END

      thisFeq{PROP:Trn} = TRUE
    END
  END

ce_TabList.Replace                PROCEDURE(STRING pFrom, STRING pFind, STRING pReplace) !,STRING
! FindString , ReplaceWith
locate                       LONG,AUTO
lastLocate                   LONG
  CODE
  ! Note: This is hacked out of a much larger dynamic string class
  !       In this implementation it is _assumed_ that the returned string will always be smaller than the pFrom string. Dirty, nasty hacky coding.
  !       Maybe later I will include the full dynamic string class. For now... this is enough for a demo (I use the full classes in production!)

  LOOP
    locate = InString(Upper(pFind), Upper(pFrom), 1, lastLocate+1)
    IF ~locate
      BREAK
    END

    ! So we dont end up having recursive replacement.
    lastLocate = locate + Len(pReplace)-1

    pFrom = Sub(pFrom, 1, locate-1)                  & |
             pReplace                                      & |
             Sub(pFrom , locate+Len(pFind), Len(pFrom))
  END

  RETURN pFrom

ce_TabList.TakeAccepted   PROCEDURE() !,VIRTUAL
  CODE
ce_TabList.TakeNewSelection   PROCEDURE() !,VIRTUAL
  CODE
ce_TabList.TakeEvent PROCEDURE() !,VIRTUAL
  CODE


deleted:    gazo.clw

deleted:    gazo.clw

; CLW t@C MFC ClassWizard ̏܂ł܂B

[General Info]
Version=1
LastClass=CDlgHistogram
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "gazo.h"
LastPage=0

ClassCount=10
Class1=CGazoApp
Class2=CGazoDoc
Class3=CGazoView
Class4=CMainFrame

ResourceCount=11
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Resource3=IDR_GAZOTYPE
Class5=CChildFrame
Class6=CAboutDlg
Resource4=IDD_ABOUTBOX (p (ض))
Resource5=IDD_QUEUE (p (ض))
Resource6=IDR_MENU_POPUP (p (ض))
Class7=CDlgReconst
Resource7=IDR_GAZOTYPE (p (ض))
Class8=CDlgHistogram
Resource8=IDR_MAINFRAME (p (ض))
Class9=CDlgQueue
Resource9=IDD_RECONST (p (ض))
Resource10=IDD_HISTOGRAM (p (ض))
Class10=CDlgMessage
Resource11=IDD_MESSAGE (p (ض))

[CLS:CGazoApp]
Type=0
HeaderFile=gazo.h
ImplementationFile=gazo.cpp
Filter=N
LastObject=IDM_TOMO_QUEUE
BaseClass=CWinApp
VirtualFilter=AC

[CLS:CGazoDoc]
Type=0
HeaderFile=gazoDoc.h
ImplementationFile=gazoDoc.cpp
Filter=N
BaseClass=CDocument
VirtualFilter=DC
LastObject=CGazoDoc

[CLS:CGazoView]
Type=0
HeaderFile=gazoView.h
ImplementationFile=gazoView.cpp
Filter=C
BaseClass=CView
VirtualFilter=VWC
LastObject=IDM_TOMO_LINE

[CLS:CMainFrame]
Type=0
HeaderFile=MainFrm.h
ImplementationFile=MainFrm.cpp
Filter=T
LastObject=ID_TOOLBAR_FNFWD
BaseClass=CMDIFrameWnd
VirtualFilter=fWC

[CLS:CChildFrame]
Type=0
HeaderFile=ChildFrm.h
ImplementationFile=ChildFrm.cpp
Filter=M

[CLS:CAboutDlg]
Type=0
HeaderFile=gazo.cpp
ImplementationFile=gazo.cpp
Filter=D
LastObject=CAboutDlg

[DLG:IDD_ABOUTBOX]
Type=1
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308352
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889
Class=CAboutDlg

[MNU:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_PRINT_SETUP
Command4=ID_FILE_MRU_FILE1
Command5=ID_APP_EXIT
Command6=ID_VIEW_TOOLBAR
Command7=ID_VIEW_STATUS_BAR
CommandCount=8
Command8=ID_APP_ABOUT

[TB:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_EDIT_CUT
Command5=ID_EDIT_COPY
Command6=ID_EDIT_PASTE
Command7=ID_FILE_PRINT
CommandCount=8
Command8=ID_APP_ABOUT

[MNU:IDR_GAZOTYPE]
Type=1
Class=CGazoView
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_CLOSE
Command4=ID_FILE_SAVE
Command5=ID_FILE_SAVE_AS
Command6=ID_FILE_PRINT
Command7=ID_FILE_PRINT_PREVIEW
Command8=ID_FILE_PRINT_SETUP
Command9=ID_FILE_MRU_FILE1
Command10=ID_APP_EXIT
Command11=ID_EDIT_UNDO
Command12=ID_EDIT_CUT
Command13=ID_EDIT_COPY
Command14=ID_EDIT_PASTE
CommandCount=21
Command15=ID_VIEW_TOOLBAR
Command16=ID_VIEW_STATUS_BAR
Command17=ID_WINDOW_NEW
Command18=ID_WINDOW_CASCADE
Command19=ID_WINDOW_TILE_HORZ
Command20=ID_WINDOW_ARRANGE
Command21=ID_APP_ABOUT

[ACL:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_PRINT
Command5=ID_EDIT_UNDO
Command6=ID_EDIT_CUT
Command7=ID_EDIT_COPY
Command8=ID_EDIT_PASTE
Command9=ID_EDIT_UNDO
Command10=ID_EDIT_CUT
Command11=ID_EDIT_COPY
Command12=ID_EDIT_PASTE
CommandCount=14
Command13=ID_NEXT_PANE
Command14=ID_PREV_PANE

[MNU:IDR_GAZOTYPE (p (ض))]
Type=1
Class=CGazoView
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_CLOSE
Command4=ID_FILE_SAVE
Command5=ID_FILE_SAVE_AS
Command6=ID_FILE_PRINT
Command7=ID_FILE_PRINT_PREVIEW
Command8=ID_FILE_PRINT_SETUP
Command9=ID_FILE_MRU_FILE1
Command10=ID_APP_EXIT
Command11=ID_EDIT_UNDO
Command12=ID_EDIT_CUT
Command13=ID_EDIT_COPY
Command14=ID_EDIT_PASTE
Command15=IDM_TOMO_RECONST
Command16=IDM_TOMO_HISTG
Command17=IDM_TOMO_QUEUE
Command18=IDM_TOMO_AXIS
Command19=IDM_TOMO_STAT
Command20=IDM_TOMO_LINE
Command21=ID_VIEW_TOOLBAR
Command22=ID_VIEW_STATUS_BAR
Command23=ID_WINDOW_NEW
Command24=ID_WINDOW_CASCADE
Command25=ID_WINDOW_TILE_HORZ
Command26=ID_WINDOW_ARRANGE
Command27=ID_APP_ABOUT
Command28=IDM_HLP_DEBUG
CommandCount=28

[MNU:IDR_MAINFRAME (p (ض))]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_PRINT_SETUP
Command4=ID_FILE_MRU_FILE1
Command5=ID_APP_EXIT
Command6=IDM_TOMO_QUEUE
Command7=ID_VIEW_TOOLBAR
Command8=ID_VIEW_STATUS_BAR
Command9=ID_APP_ABOUT
Command10=IDM_HLP_DEBUG
CommandCount=10

[DLG:IDD_ABOUTBOX (p (ض))]
Type=1
Class=CAboutDlg
ControlCount=7
Control1=IDC_STATIC,static,1342177283
Control2=IDOK,button,1342373889
Control3=IDC_STATIC,static,1342308480
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_STATIC,static,1342308352
Control7=IDC_STATIC,static,1342308352

[TB:IDR_MAINFRAME (p (ض))]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_EDIT_CUT
Command5=ID_EDIT_COPY
Command6=ID_EDIT_PASTE
Command7=ID_FILE_PRINT
Command8=ID_APP_ABOUT
Command9=ID_TOOLBAR_MAG
Command10=ID_TOOLBAR_MIN
Command11=ID_TOOLBAR_BRIGHT
Command12=ID_TOOLBAR_DARK
Command13=ID_TOOLBAR_CNTUP
Command14=ID_TOOLBAR_CNTDOWN
Command15=ID_TOOLBAR_FNFR
Command16=ID_TOOLBAR_FNREV
Command17=ID_TOOLBAR_FNSR
Command18=ID_TOOLBAR_FNSF
Command19=ID_TOOLBAR_FNFWD
Command20=ID_TOOLBAR_FNFF
CommandCount=20

[ACL:IDR_MAINFRAME (p (ض))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_PRINT
Command5=ID_EDIT_UNDO
Command6=ID_EDIT_CUT
Command7=ID_EDIT_COPY
Command8=ID_EDIT_PASTE
Command9=ID_EDIT_UNDO
Command10=ID_EDIT_CUT
Command11=ID_EDIT_COPY
Command12=ID_EDIT_PASTE
Command13=ID_NEXT_PANE
Command14=ID_PREV_PANE
CommandCount=14

[DLG:IDD_RECONST (p (ض))]
Type=1
Class=CDlgReconst
ControlCount=29
Control1=IDC_RECONST_SHOW1,button,1342242817
Control2=IDOK,button,1342242816
Control3=IDCANCEL,button,1342242816
Control4=IDC_RECONST_SLICE1,edit,1350631552
Control5=IDC_STATIC,static,1342308352
Control6=IDC_STATIC,static,1342308352
Control7=IDC_RECONST_CENT1,edit,1350631552
Control8=IDC_RECONST_SLICE2,edit,1350631552
Control9=IDC_STATIC,static,1342308352
Control10=IDC_RECONST_CENT2,edit,1350631552
Control11=IDC_RECONST_QUEUE,button,1342242816
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_RECONST_PIXEL,edit,1350631552
Control15=IDC_STATIC,static,1342308352
Control16=IDC_RECONST_AUTO1,button,1342242816
Control17=IDC_RECONST_FILTER,combobox,1344339971
Control18=IDC_STATIC,static,1342308352
Control19=IDC_RECONST_AUTO2,button,1342242816
Control20=IDC_RECONST_SUFFIX,edit,1350631552
Control21=IDC_STATIC,static,1342308352
Control22=IDC_RECONST_SHOW2,button,1342242816
Control23=IDC_STATIC,static,1342308352
Control24=IDC_RECONST_CUTOFF,edit,1350631552
Control25=IDC_STATIC,static,1342308352
Control26=IDC_RECONST_ORDER,edit,1484849280
Control27=IDC_RECONST_STOP,button,1342242816
Control28=IDC_RECONST_PROGRESS,msctls_progress32,1350565888
Control29=IDC_RECONST_INTP,combobox,1344339971

[CLS:CDlgReconst]
Type=0
HeaderFile=DlgReconst.h
ImplementationFile=DlgReconst.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
LastObject=IDC_RECONST_INTP

[DLG:IDD_HISTOGRAM (p (ض))]
Type=1
Class=CDlgHistogram
ControlCount=34
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_HISTG_BITMAP,static,1342183438
Control4=IDC_HISTG_HSTMAX,static,1342308352
Control5=IDC_HISTG_HSTLOW,static,1342308352
Control6=IDC_HISTG_HSTHIGH,static,1342308352
Control7=IDC_HISTG_MAG,msctls_updown32,1342177312
Control8=IDC_HISTG_HSTUNIT,static,1342308352
Control9=IDC_HISTG_CURSLOW,edit,1350631552
Control10=IDC_HISTG_CURSHIGH,edit,1350631552
Control11=IDC_HISTG_QUEUE,button,1342242816
Control12=IDC_HISTG_PREVIEW,button,1342242819
Control13=IDC_STATIC,button,1342177287
Control14=IDC_HISTG_TRMCENTX,edit,1350631552
Control15=IDC_HISTG_TRMCENTY,edit,1350631552
Control16=IDC_STATIC,static,1342308352
Control17=IDC_STATIC,static,1342308352
Control18=IDC_STATIC,static,1342308352
Control19=IDC_HISTG_TRMSIZEX,edit,1350631552
Control20=IDC_HISTG_TRMSIZEY,edit,1350631552
Control21=IDC_STATIC,static,1342308352
Control22=IDC_HISTG_TRMANGLE,edit,1350631552
Control23=IDC_STATIC,static,1342308352
Control24=IDC_STATIC,static,1342308352
Control25=IDC_HISTG_FILEMSG,static,1342308352
Control26=IDC_HISTG_PREFIX,edit,1350631552
Control27=IDC_STATIC,static,1342308352
Control28=IDC_HISTG_GETPATH,button,1342242816
Control29=IDC_HISTG_PROGRESS,msctls_progress32,1350565888
Control30=IDC_HISTG_TRMAVRG,edit,1350631552
Control31=IDC_STATIC,static,1342308352
Control32=IDC_HISTG_ENTRIM,button,1342242819
Control33=IDC_HISTG_BOXMSG,static,1342308352
Control34=IDC_HISTG_16BIT,button,1342242819

[CLS:CDlgHistogram]
Type=0
HeaderFile=DlgHistogram.h
ImplementationFile=DlgHistogram.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
LastObject=IDC_HISTG_CURSLOW

[DLG:IDD_QUEUE (p (ض))]
Type=1
Class=CDlgQueue
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_QUEUE_LIST,SysListView32,1350631553
Control4=IDC_QUEUE_STOP,button,1342242816
Control5=IDC_QUEUE_FINAL,button,1342242819

[CLS:CDlgQueue]
Type=0
HeaderFile=DlgQueue.h
ImplementationFile=DlgQueue.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
LastObject=IDC_QUEUE_FINAL

[MNU:IDR_MENU_POPUP (p (ض))]
Type=1
Class=?
Command1=ID_POPUPQUEUE_DEL
Command2=ID_POPUPQUEUE_UP
Command3=ID_POPUPQUEUE_DOWN
CommandCount=3

[DLG:IDD_MESSAGE (p (ض))]
Type=1
Class=CDlgMessage
ControlCount=2
Control1=IDOK,button,1342242817
Control2=IDC_MSG_TEXT,edit,1352734724

[CLS:CDlgMessage]
Type=0
HeaderFile=DlgMessage.h
ImplementationFile=DlgMessage.cpp
BaseClass=CDialog
Filter=D
VirtualFilter=dWC
LastObject=CDlgMessage