better fit

better fit

! 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}
  SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1
  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

  SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1
  GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)
  SELF.listBorderFeq = Create(0, CREATE:region)
  SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)
  SELF.listBorderFeq{PROP:Hide} = FALSE

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}
  SELF.listFeq{PROP:XPos} = SELF.listFeq{PROP:XPos} - 1
  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

  SELF.listFeq{PROP:Height} = SELF.listFeq{PROP:Height} - 1
  GetPosition(SELF.listFeq, posG.XPos, posG.YPos, posG.Width, posG.Height)
  SELF.listBorderFeq = Create(0, CREATE:region)
  SetPosition(SELF.listBorderFeq, posG.XPos, posG.YPos-1, posG.Width+1, posG.Height+2)
  SELF.listBorderFeq{PROP:Hide} = FALSE

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} = 56
   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


Updated .clw by VC6

Updated .clw by VC6

; CLW file contains information for the MFC ClassWizard

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

ClassCount=14
Class1=CLatticeRelaxationApp
Class2=CLatticeRelaxationDoc
Class3=CLatticeRelaxationTableView
Class4=CMainFrame

ResourceCount=18
Resource1=IDD_ABOUTBOX
Resource2=IDD_MIGRATION_RESULTS_DIALOG
Class5=CAboutDlg
Class6=CLatticeRelaxationD3DView
Class7=AtomTypesDialog
Resource3=IDR_MAINFRAME
Class8=AtomDialog
Resource4=IDD_ATOM_DIALOG
Class9=PotentialDialog
Class10=CColorStatic
Resource5=IDD_MIGRATE_ATOM_DIALOG
Class11=ModelingOptionsDialog
Resource6=IDD_ATOMTYPES_DIALOG
Class12=MigrateAtomDialog
Resource7=IDD_NEW_LATTICE_DIALOG
Class13=MigrationResultsDialog
Resource8=IDD_POTENTIAL_DIALOG
Resource9=IDD_MIGRATE_ATOM_DIALOG (English (U.S.))
Resource10=IDD_MODELING_OPTIONS_DIALOG (English (U.S.))
Resource11=IDD_ABOUTBOX (English (U.S.))
Resource12=IDD_POTENTIAL_DIALOG (English (U.S.))
Resource13=IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))
Resource14=IDD_ATOMTYPES_DIALOG (English (U.S.))
Resource15=IDD_ATOM_DIALOG (English (U.S.))
Resource16=IDD_MODELING_OPTIONS_DIALOG
Class14=CNewLatticeDialog
Resource17=IDR_MAINFRAME (English (U.S.))
Resource18=IDD_NEW_LATTICE_DIALOG (English (U.K.))

[CLS:CLatticeRelaxationApp]
Type=0
HeaderFile=LatticeRelaxation.h
ImplementationFile=LatticeRelaxation.cpp
Filter=N
BaseClass=CWinApp
VirtualFilter=AC

[CLS:CLatticeRelaxationDoc]
Type=0
HeaderFile=LatticeRelaxationDoc.h
ImplementationFile=LatticeRelaxationDoc.cpp
Filter=W
BaseClass=CDocument
VirtualFilter=DC
LastObject=CLatticeRelaxationDoc

[CLS:CLatticeRelaxationTableView]
Type=0
HeaderFile=LatticeRelaxationTableView.h
ImplementationFile=LatticeRelaxationTableView.cpp
Filter=C
BaseClass=CListView
VirtualFilter=VWC

[CLS:CMainFrame]
Type=0
HeaderFile=MainFrm.h
ImplementationFile=MainFrm.cpp
Filter=T

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

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

[MNU:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_SAVE_AS
Command5=ID_EXPORT_RESULTS
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_VIEW_TOOLBAR
Command12=ID_VIEW_STATUS_BAR
Command13=ID_3DVIEW
Command14=ID_TABLEVIEW
Command15=ID_SELECT_POTENTIAL
Command16=ID_ATOM_TYPES
Command17=ID_ADD_ATOM_BUTTON
Command18=ID_DELETE_ATOM_BUTTON
Command19=ID_EDIT_BUTTON_ATOM
Command20=ID_START_RELAXATION
Command21=ID_PAUSE_RELAXATION
Command22=ID_STOP_RELAXATION
Command23=ID_CALCULATE_FORCES
Command24=ID_MODELING_OPTIONS
Command25=ID_MODELING_RESULTS
Command26=ID_APP_ABOUT
CommandCount=26

[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
Command13=ID_NEXT_PANE
Command14=ID_PREV_PANE
CommandCount=14

[TB:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_PRINT
Command5=ID_APP_ABOUT
Command6=ID_REFRESH
Command7=ID_TABLEVIEW
Command8=ID_3DVIEW
Command9=ID_START_RELAXATION
Command10=ID_PAUSE_RELAXATION
Command11=ID_STOP_RELAXATION
Command12=ID_ADD_ATOM_BUTTON
Command13=ID_DELETE_ATOM_BUTTON
Command14=ID_EDIT_BUTTON_ATOM
Command15=ID_MIGRATE_ATOM_BUTTON
CommandCount=15

[CLS:CLatticeRelaxationD3DView]
Type=0
HeaderFile=LatticeRelaxationD3DView.h
ImplementationFile=LatticeRelaxationD3DView.cpp
BaseClass=CScrollView
Filter=M
VirtualFilter=VWC
LastObject=CLatticeRelaxationD3DView

[DLG:IDD_ATOMTYPES_DIALOG]
Type=1
Class=AtomTypesDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_LIST1,listbox,1352728833
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT1,edit,1350631552
Control7=IDC_EDIT2,edit,1484849280
Control8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816
Control9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352
Control10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816
Control11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816

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

[DLG:IDD_ATOM_DIALOG]
Type=1
Class=AtomDialog
ControlCount=20
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_POSITION_X,edit,1350631552
Control6=IDC_EDIT_FORCE_X,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_POSITION_Y,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_POSITION_Z,edit,1350631552
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_EDIT_FORCE_Y,edit,1350631552
Control15=IDC_STATIC,static,1342308352
Control16=IDC_EDIT_FORCE_Z,edit,1350631552
Control17=IDC_CHECK_MOVEABLE,button,1342242819
Control18=IDC_CHECK_VISIBLE,button,1342242819
Control19=IDC_ATOMTYPE_COMBO,combobox,1344339971
Control20=IDC_STATIC,static,1342308352

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

[DLG:IDD_POTENTIAL_DIALOG]
Type=1
Class=PotentialDialog
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_POTENTIAL_LIST,SysListView32,1350631437
Control4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816
Control5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816

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

[CLS:CColorStatic]
Type=0
HeaderFile=ColorStatic.h
ImplementationFile=ColorStatic.cpp
BaseClass=CStatic
Filter=W
VirtualFilter=WC
LastObject=IDC_EDIT1

[DLG:IDD_MODELING_OPTIONS_DIALOG]
Type=1
Class=ModelingOptionsDialog
ControlCount=28
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_STATIC,static,1342308352
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,static,1342308352
Control10=IDC_STATIC,static,1342308352
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552
Control13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552
Control14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552
Control15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552
Control16=IDC_EDIT_START_TIME_DELTA,edit,1350631552
Control17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552
Control18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552
Control19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552
Control20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819
Control21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819
Control22=IDC_STATIC,static,1342308352
Control23=IDC_STATIC,static,1342308352
Control24=IDC_EDIT_BULK_MODULUS,edit,1350631552
Control25=IDC_STATIC,static,1342308352
Control26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552
Control27=IDC_CHECK_DAMPING_ENABLED,button,1342242819
Control28=IDC_STATIC,static,1342308352

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

[DLG:IDD_MIGRATE_ATOM_DIALOG]
Type=1
Class=MigrateAtomDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_X,edit,1350631552
Control6=IDC_STATIC,static,1342308352
Control7=IDC_EDIT_Y,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_Z,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552

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

[DLG:IDD_MIGRATION_RESULTS_DIALOG]
Type=1
Class=MigrationResultsDialog
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDC_STATIC,static,1342308352
Control3=IDC_STATIC,static,1342308352
Control4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600
Control5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600
Control6=IDC_STATIC,button,1342177287
Control7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429

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

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

[DLG:IDD_ATOM_DIALOG (English (U.S.))]
Type=1
Class=AtomDialog
ControlCount=20
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_POSITION_X,edit,1350631552
Control6=IDC_EDIT_FORCE_X,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_POSITION_Y,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_POSITION_Z,edit,1350631552
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_EDIT_FORCE_Y,edit,1350631552
Control15=IDC_STATIC,static,1342308352
Control16=IDC_EDIT_FORCE_Z,edit,1350631552
Control17=IDC_CHECK_MOVEABLE,button,1342242819
Control18=IDC_CHECK_VISIBLE,button,1342242819
Control19=IDC_ATOMTYPE_COMBO,combobox,1344339971
Control20=IDC_STATIC,static,1342308352

[DLG:IDD_MODELING_OPTIONS_DIALOG (English (U.S.))]
Type=1
Class=ModelingOptionsDialog
ControlCount=28
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_STATIC,static,1342308352
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,static,1342308352
Control10=IDC_STATIC,static,1342308352
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552
Control13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552
Control14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552
Control15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552
Control16=IDC_EDIT_START_TIME_DELTA,edit,1350631552
Control17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552
Control18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552
Control19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552
Control20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819
Control21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819
Control22=IDC_STATIC,static,1342308352
Control23=IDC_STATIC,static,1342308352
Control24=IDC_EDIT_BULK_MODULUS,edit,1350631552
Control25=IDC_STATIC,static,1342308352
Control26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552
Control27=IDC_CHECK_DAMPING_ENABLED,button,1342242819
Control28=IDC_STATIC,static,1342308352

[DLG:IDD_MIGRATE_ATOM_DIALOG (English (U.S.))]
Type=1
Class=MigrateAtomDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_X,edit,1350631552
Control6=IDC_STATIC,static,1342308352
Control7=IDC_EDIT_Y,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_Z,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552

[DLG:IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))]
Type=1
Class=MigrationResultsDialog
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDC_STATIC,static,1342308352
Control3=IDC_STATIC,static,1342308352
Control4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600
Control5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600
Control6=IDC_STATIC,button,1342177287
Control7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429

[MNU:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_SAVE_AS
Command5=ID_EXPORT_RESULTS
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_VIEW_TOOLBAR
Command12=ID_VIEW_STATUS_BAR
Command13=ID_3DVIEW
Command14=ID_TABLEVIEW
Command15=ID_SELECT_POTENTIAL
Command16=ID_ATOM_TYPES
Command17=ID_ADD_ATOM_BUTTON
Command18=ID_DELETE_ATOM_BUTTON
Command19=ID_EDIT_BUTTON_ATOM
Command20=ID_START_RELAXATION
Command21=ID_PAUSE_RELAXATION
Command22=ID_STOP_RELAXATION
Command23=ID_CALCULATE_FORCES
Command24=ID_MODELING_OPTIONS
Command25=ID_MODELING_RESULTS
Command26=ID_APP_ABOUT
CommandCount=26

[DLG:IDD_ATOMTYPES_DIALOG (English (U.S.))]
Type=1
Class=AtomTypesDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_LIST1,listbox,1352728833
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT1,edit,1350631552
Control7=IDC_EDIT2,edit,1484849280
Control8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816
Control9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352
Control10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816
Control11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816

[DLG:IDD_POTENTIAL_DIALOG (English (U.S.))]
Type=1
Class=PotentialDialog
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_POTENTIAL_LIST,SysListView32,1350631437
Control4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816
Control5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816

[TB:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_PRINT
Command5=ID_APP_ABOUT
Command6=ID_REFRESH
Command7=ID_TABLEVIEW
Command8=ID_3DVIEW
Command9=ID_START_RELAXATION
Command10=ID_PAUSE_RELAXATION
Command11=ID_STOP_RELAXATION
Command12=ID_ADD_ATOM_BUTTON
Command13=ID_DELETE_ATOM_BUTTON
Command14=ID_EDIT_BUTTON_ATOM
Command15=ID_MIGRATE_ATOM_BUTTON
CommandCount=15

[ACL:IDR_MAINFRAME (English (U.S.))]
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_NEW_LATTICE_DIALOG (English (U.K.))]
Type=1
Class=CNewLatticeDialog
ControlCount=8
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_RADIO_BCC,button,1342177289
Control4=IDC_RADIO_FCC,button,1342177289
Control5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744
Control6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352

[CLS:CNewLatticeDialog]
Type=0
HeaderFile=NewLatticeDialog.h
ImplementationFile=NewLatticeDialog.cpp
BaseClass=CDialog
Filter=D
LastObject=IDC_EDIT_MOVEABLE_RADIUS
VirtualFilter=dWC

[DLG:IDD_NEW_LATTICE_DIALOG]
Type=1
Class=CNewLatticeDialog
ControlCount=8
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_RADIO_BCC,button,1342177289
Control4=IDC_RADIO_FCC,button,1342177289
Control5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744
Control6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352

; CLW file contains information for the MFC ClassWizard

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

ClassCount=14
Class1=CLatticeRelaxationApp
Class2=CLatticeRelaxationDoc
Class3=CLatticeRelaxationTableView
Class4=CMainFrame

ResourceCount=18
Resource1=IDD_ABOUTBOX
Resource2=IDD_MIGRATION_RESULTS_DIALOG
Class5=CAboutDlg
Class6=CLatticeRelaxationD3DView
Class7=AtomTypesDialog
Resource3=IDR_MAINFRAME
Class8=AtomDialog
Resource4=IDD_ATOM_DIALOG
Class9=PotentialDialog
Class10=CColorStatic
Resource5=IDD_MIGRATE_ATOM_DIALOG
Class11=ModelingOptionsDialog
Resource6=IDD_ATOMTYPES_DIALOG
Class12=MigrateAtomDialog
Resource7=IDD_NEW_LATTICE_DIALOG
Class13=MigrationResultsDialog
Resource8=IDD_POTENTIAL_DIALOG
Resource9=IDD_ABOUTBOX (English (U.S.))
Resource10=IDR_MAINFRAME (English (U.S.))
Resource11=IDD_POTENTIAL_DIALOG (English (U.S.))
Resource12=IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))
Resource13=IDD_ATOMTYPES_DIALOG (English (U.S.))
Resource14=IDD_MODELING_OPTIONS_DIALOG (English (U.S.))
Resource15=IDD_MIGRATE_ATOM_DIALOG (English (U.S.))
Resource16=IDD_MODELING_OPTIONS_DIALOG
Class14=CNewLatticeDialog
Resource17=IDD_ATOM_DIALOG (English (U.S.))
Resource18=IDD_NEW_LATTICE_DIALOG (English (U.K.))

[CLS:CLatticeRelaxationApp]
Type=0
HeaderFile=LatticeRelaxation.h
ImplementationFile=LatticeRelaxation.cpp
Filter=N
BaseClass=CWinApp
VirtualFilter=AC

[CLS:CLatticeRelaxationDoc]
Type=0
HeaderFile=LatticeRelaxationDoc.h
ImplementationFile=LatticeRelaxationDoc.cpp
Filter=W
BaseClass=CDocument
VirtualFilter=DC
LastObject=CLatticeRelaxationDoc

[CLS:CLatticeRelaxationTableView]
Type=0
HeaderFile=LatticeRelaxationTableView.h
ImplementationFile=LatticeRelaxationTableView.cpp
Filter=C
BaseClass=CListView
VirtualFilter=VWC

[CLS:CMainFrame]
Type=0
HeaderFile=MainFrm.h
ImplementationFile=MainFrm.cpp
Filter=T

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

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

[MNU:IDR_MAINFRAME]
Type=1
Class=CMainFrame
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_SAVE_AS
Command5=ID_EXPORT_RESULTS
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_VIEW_TOOLBAR
Command12=ID_VIEW_STATUS_BAR
Command13=ID_3DVIEW
Command14=ID_TABLEVIEW
Command15=ID_SELECT_POTENTIAL
Command16=ID_ATOM_TYPES
Command17=ID_ADD_ATOM_BUTTON
Command18=ID_DELETE_ATOM_BUTTON
Command19=ID_EDIT_BUTTON_ATOM
Command20=ID_START_RELAXATION
Command21=ID_PAUSE_RELAXATION
Command22=ID_STOP_RELAXATION
Command23=ID_CALCULATE_FORCES
Command24=ID_MODELING_OPTIONS
Command25=ID_MODELING_RESULTS
Command26=ID_APP_ABOUT
CommandCount=26

[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
Command13=ID_NEXT_PANE
Command14=ID_PREV_PANE
CommandCount=14

[TB:IDR_MAINFRAME]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_PRINT
Command5=ID_APP_ABOUT
Command6=ID_REFRESH
Command7=ID_TABLEVIEW
Command8=ID_3DVIEW
Command9=ID_START_RELAXATION
Command10=ID_PAUSE_RELAXATION
Command11=ID_STOP_RELAXATION
Command12=ID_ADD_ATOM_BUTTON
Command13=ID_DELETE_ATOM_BUTTON
Command14=ID_EDIT_BUTTON_ATOM
Command15=ID_MIGRATE_ATOM_BUTTON
CommandCount=15

[CLS:CLatticeRelaxationD3DView]
Type=0
HeaderFile=LatticeRelaxationD3DView.h
ImplementationFile=LatticeRelaxationD3DView.cpp
BaseClass=CScrollView
Filter=M
VirtualFilter=VWC
LastObject=CLatticeRelaxationD3DView

[DLG:IDD_ATOMTYPES_DIALOG]
Type=1
Class=AtomTypesDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_LIST1,listbox,1352728833
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT1,edit,1350631552
Control7=IDC_EDIT2,edit,1484849280
Control8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816
Control9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352
Control10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816
Control11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816

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

[DLG:IDD_ATOM_DIALOG]
Type=1
Class=AtomDialog
ControlCount=20
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_POSITION_X,edit,1350631552
Control6=IDC_EDIT_FORCE_X,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_POSITION_Y,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_POSITION_Z,edit,1350631552
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_EDIT_FORCE_Y,edit,1350631552
Control15=IDC_STATIC,static,1342308352
Control16=IDC_EDIT_FORCE_Z,edit,1350631552
Control17=IDC_CHECK_MOVEABLE,button,1342242819
Control18=IDC_CHECK_VISIBLE,button,1342242819
Control19=IDC_ATOMTYPE_COMBO,combobox,1344339971
Control20=IDC_STATIC,static,1342308352

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

[DLG:IDD_POTENTIAL_DIALOG]
Type=1
Class=PotentialDialog
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_POTENTIAL_LIST,SysListView32,1350631437
Control4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816
Control5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816

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

[CLS:CColorStatic]
Type=0
HeaderFile=ColorStatic.h
ImplementationFile=ColorStatic.cpp
BaseClass=CStatic
Filter=W
VirtualFilter=WC
LastObject=IDC_EDIT1

[DLG:IDD_MODELING_OPTIONS_DIALOG]
Type=1
Class=ModelingOptionsDialog
ControlCount=28
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_STATIC,static,1342308352
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,static,1342308352
Control10=IDC_STATIC,static,1342308352
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552
Control13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552
Control14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552
Control15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552
Control16=IDC_EDIT_START_TIME_DELTA,edit,1350631552
Control17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552
Control18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552
Control19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552
Control20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819
Control21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819
Control22=IDC_STATIC,static,1342308352
Control23=IDC_STATIC,static,1342308352
Control24=IDC_EDIT_BULK_MODULUS,edit,1350631552
Control25=IDC_STATIC,static,1342308352
Control26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552
Control27=IDC_CHECK_DAMPING_ENABLED,button,1342242819
Control28=IDC_STATIC,static,1342308352

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

[DLG:IDD_MIGRATE_ATOM_DIALOG]
Type=1
Class=MigrateAtomDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_X,edit,1350631552
Control6=IDC_STATIC,static,1342308352
Control7=IDC_EDIT_Y,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_Z,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552

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

[DLG:IDD_MIGRATION_RESULTS_DIALOG]
Type=1
Class=MigrationResultsDialog
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDC_STATIC,static,1342308352
Control3=IDC_STATIC,static,1342308352
Control4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600
Control5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600
Control6=IDC_STATIC,button,1342177287
Control7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429

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

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

[DLG:IDD_ATOM_DIALOG (English (U.S.))]
Type=1
Class=AtomDialog
ControlCount=20
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_POSITION_X,edit,1350631552
Control6=IDC_EDIT_FORCE_X,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_POSITION_Y,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_POSITION_Z,edit,1350631552
Control12=IDC_STATIC,static,1342308352
Control13=IDC_STATIC,static,1342308352
Control14=IDC_EDIT_FORCE_Y,edit,1350631552
Control15=IDC_STATIC,static,1342308352
Control16=IDC_EDIT_FORCE_Z,edit,1350631552
Control17=IDC_CHECK_MOVEABLE,button,1342242819
Control18=IDC_CHECK_VISIBLE,button,1342242819
Control19=IDC_ATOMTYPE_COMBO,combobox,1344339971
Control20=IDC_STATIC,static,1342308352

[DLG:IDD_MODELING_OPTIONS_DIALOG (English (U.S.))]
Type=1
Class=ModelingOptionsDialog
ControlCount=28
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_STATIC,static,1342308352
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352
Control9=IDC_STATIC,static,1342308352
Control10=IDC_STATIC,static,1342308352
Control11=IDC_STATIC,static,1342308352
Control12=IDC_EDIT_MAXIMUM_NUMBER_OF_STEPS,edit,1350631552
Control13=IDC_EDIT_MAXIMUM_NUMBER_OF_DEMPHINGS,edit,1350631552
Control14=IDC_EDIT_MAXIMUM_INTERACTION_DISTANCE,edit,1350631552
Control15=IDC_EDIT_MIMIMUM_KINETIC_ENERGY,edit,1350631552
Control16=IDC_EDIT_START_TIME_DELTA,edit,1350631552
Control17=IDC_EDIT_TIME_DELTA_INCREMENT,edit,1350631552
Control18=IDC_EDIT_MAXIMUM_TIME_DELTA,edit,1350631552
Control19=IDC_EDIT_DIFFERENTIAL_STEP,edit,1350631552
Control20=IDC_CHECK_USE_EMBEDDED_ATOM_METHOD,button,1342242819
Control21=IDC_CHECK_USE_DILATATION_VOLUME_CORRECTION,button,1342242819
Control22=IDC_STATIC,static,1342308352
Control23=IDC_STATIC,static,1342308352
Control24=IDC_EDIT_BULK_MODULUS,edit,1350631552
Control25=IDC_STATIC,static,1342308352
Control26=IDC_EDIT_ELASTIC_CORRECTIONS_AMMOUNT,edit,1350631552
Control27=IDC_CHECK_DAMPING_ENABLED,button,1342242819
Control28=IDC_STATIC,static,1342308352

[DLG:IDD_MIGRATE_ATOM_DIALOG (English (U.S.))]
Type=1
Class=MigrateAtomDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352
Control4=IDC_STATIC,static,1342308352
Control5=IDC_EDIT_X,edit,1350631552
Control6=IDC_STATIC,static,1342308352
Control7=IDC_EDIT_Y,edit,1350631552
Control8=IDC_STATIC,static,1342308352
Control9=IDC_EDIT_Z,edit,1350631552
Control10=IDC_STATIC,static,1342308352
Control11=IDC_EDIT_MIGRATION_STEPS,edit,1350631552

[DLG:IDD_MIGRATION_RESULTS_DIALOG (English (U.S.))]
Type=1
Class=MigrationResultsDialog
ControlCount=7
Control1=IDOK,button,1342242817
Control2=IDC_STATIC,static,1342308352
Control3=IDC_STATIC,static,1342308352
Control4=IDC_NUMBER_OF_MIGRATION_STEPS_EDIT,edit,1350633600
Control5=IDC_ENERGY_OF_MIGRATION_EDIT,edit,1350633600
Control6=IDC_STATIC,button,1342177287
Control7=IDC_MIGRATION_STEPS_LIST,SysListView32,1350631429

[MNU:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_SAVE_AS
Command5=ID_EXPORT_RESULTS
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_VIEW_TOOLBAR
Command12=ID_VIEW_STATUS_BAR
Command13=ID_3DVIEW
Command14=ID_TABLEVIEW
Command15=ID_SELECT_POTENTIAL
Command16=ID_ATOM_TYPES
Command17=ID_ADD_ATOM_BUTTON
Command18=ID_DELETE_ATOM_BUTTON
Command19=ID_EDIT_BUTTON_ATOM
Command20=ID_START_RELAXATION
Command21=ID_PAUSE_RELAXATION
Command22=ID_STOP_RELAXATION
Command23=ID_CALCULATE_FORCES
Command24=ID_MODELING_OPTIONS
Command25=ID_MODELING_RESULTS
Command26=ID_APP_ABOUT
CommandCount=26

[DLG:IDD_ATOMTYPES_DIALOG (English (U.S.))]
Type=1
Class=AtomTypesDialog
ControlCount=11
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_LIST1,listbox,1352728833
Control4=IDC_STATIC,static,1342308352
Control5=IDC_STATIC,static,1342308352
Control6=IDC_EDIT1,edit,1350631552
Control7=IDC_EDIT2,edit,1484849280
Control8=IDC_ADD_ATOM_TYPE_BUTTON,button,1342242816
Control9=IDC_ATOMTYPE_COLOR_STATIC,static,1342308352
Control10=IDC_CHANGE_ATOM_TYPE_COLOR_BUTTON,button,1342242816
Control11=IDC_EMBEDDING_ENERGY_BUTTON,button,1342242816

[DLG:IDD_POTENTIAL_DIALOG (English (U.S.))]
Type=1
Class=PotentialDialog
ControlCount=5
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_POTENTIAL_LIST,SysListView32,1350631437
Control4=IDC_LOAD_POTENTIAL_BUTTON,button,1342242816
Control5=IDC_LOAD_ELECTRONIC_DISTRIBUTION_BUTTON,button,1342242816

[TB:IDR_MAINFRAME (English (U.S.))]
Type=1
Class=?
Command1=ID_FILE_NEW
Command2=ID_FILE_OPEN
Command3=ID_FILE_SAVE
Command4=ID_FILE_PRINT
Command5=ID_APP_ABOUT
Command6=ID_REFRESH
Command7=ID_TABLEVIEW
Command8=ID_3DVIEW
Command9=ID_START_RELAXATION
Command10=ID_PAUSE_RELAXATION
Command11=ID_STOP_RELAXATION
Command12=ID_ADD_ATOM_BUTTON
Command13=ID_DELETE_ATOM_BUTTON
Command14=ID_EDIT_BUTTON_ATOM
Command15=ID_MIGRATE_ATOM_BUTTON
CommandCount=15

[ACL:IDR_MAINFRAME (English (U.S.))]
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_NEW_LATTICE_DIALOG (English (U.K.))]
Type=1
Class=CNewLatticeDialog
ControlCount=8
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_RADIO_BCC,button,1342177289
Control4=IDC_RADIO_FCC,button,1342177289
Control5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744
Control6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352

[CLS:CNewLatticeDialog]
Type=0
HeaderFile=NewLatticeDialog.h
ImplementationFile=NewLatticeDialog.cpp
BaseClass=CDialog
Filter=D
LastObject=IDC_EDIT_MOVEABLE_RADIUS
VirtualFilter=dWC

[DLG:IDD_NEW_LATTICE_DIALOG]
Type=1
Class=CNewLatticeDialog
ControlCount=8
Control1=IDOK,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_RADIO_BCC,button,1342177289
Control4=IDC_RADIO_FCC,button,1342177289
Control5=IDC_EDIT_MOVEABLE_RADIUS,edit,1350639744
Control6=IDC_EDIT_TOTAL_RADIUS,edit,1350631552
Control7=IDC_STATIC,static,1342308352
Control8=IDC_STATIC,static,1342308352