;Do not modify this file!!!
Easy Code
Begin Window = wndAbout
  AlignMode       = 0
  AutoRedraw      = 0
  BackColor       = 0x00606060
  Border          = 4
  Caption         = 0
  CenterWindow    = 1
  ClientEdge      = 0
  ClipChildren    = 1
  ClipSiblings    = 1
  ContextHelp     = 0
  ControlMenu     = 0
  CursorIcon      = [None]
  CursorShape     = 0
  DisableClose    = 0
  DrawingStyle    = 0
  DrawingWidth    = 1
  Enabled         = 1
  ExStyle         = 0x00040101
  Font            = MS Sans Serif,8,400,0,0,0
  ForeColor       = 0x80000012
  Height          = 214
  IconBig         = IDI_APP_ICON
  IconSmall       = [None]
  ImageType       = -1
  KeepSize        = 1
  Left            = 0
  MaximizeBox     = 0
  MDIChild        = 0
  Menu            = 0
  MinimizeBox     = 0
  NormalStyle     = 0x56000000
  Picture         = [None]
  RightToLeft     = 0
  ScaleMode       = 0
  ScrollBars      = 0
  ShowMode        = 0
  Style           = 0
  Text            = 
  TimerInterval   = 0
  ToolWindow      = 0
  Top             = 0
  Visible         = 1
  Width           = 349
  Begin Image = Image1
    BackColor       = 0x00606060
    Border          = 0
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Enabled         = 1
    ExStyle         = 0x00000000
    Height          = 36
    ImageType       = 1
    Left            = 12
    NormalStyle     = 0x54000100
    Picture         = IDI_APP_ICON
    StaticEdge      = 0
    Stretch         = 1
    TabOrder        = 0
    Top             = 8
    Transparent     = 0
    Visible         = 1
    Width           = 36
  End
  Begin Static = Static1
    AutoSize        = 0
    BackColor       = 0x00606060
    Border          = 0
    CenterVertically= 0
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Enabled         = 1
    ExStyle         = 0x00000000
    Font            = Arial,12,700,0,0,0
    ForeColor       = 0x00FFFF80
    Height          = 19
    Left            = 0
    NoPrefix        = 0
    PathEllipsis    = 0
    NormalStyle     = 0x54000101
    RightToLeft     = 0
    StaticEdge      = 0
    TabOrder        = 1
    Text            = IDS_APP_TITLE
    TextAlignment   = 1
    Top             = 12
    Transparent     = 0
    Visible         = 1
    Width           = 342
    WordWrap        = 1
  End
  Begin Static = Static2
    AutoSize        = 0
    BackColor       = 0x00606060
    Border          = 0
    CenterVertically= 0
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Enabled         = 1
    ExStyle         = 0x00000000
    Font            = Arial,8,700,0,0,0
    ForeColor       = 0x00FFFFFF
    Height          = 18
    Left            = 0
    NoPrefix        = 0
    PathEllipsis    = 0
    NormalStyle     = 0x54000101
    RightToLeft     = 0
    StaticEdge      = 0
    TabOrder        = 2
    Text            = Copyright © 2003-2015 Ramon Sala
    TextAlignment   = 1
    Top             = 32
    Transparent     = 0
    Visible         = 1
    Width           = 342
    WordWrap        = 1
  End
  Begin Static = Static3
    AutoSize        = 0
    BackColor       = 0x00606060
    Border          = 0
    CenterVertically= 0
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Enabled         = 1
    ExStyle         = 0x00000000
    Font            = Arial,8,400,0,0,0
    ForeColor       = 0x00FFFFFF
    Height          = 56
    Left            = 20
    NoPrefix        = 0
    PathEllipsis    = 0
    NormalStyle     = 0x54000100
    RightToLeft     = 0
    StaticEdge      = 0
    TabOrder        = 4
    Text            = IDS_EASY_CODE
    TextAlignment   = 0
    Top             = 72
    Transparent     = 0
    Visible         = 1
    Width           = 304
    WordWrap        = 1
  End
  Begin Button = btnClose
    BackColor       = 0x8000000F
    Border          = 1
    Cancel          = 1
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Default         = 0
    DrawFocus       = 1
    Enabled         = 1
    ExStyle         = 0x00000000
    Font            = Arial,8,400,0,0,0
    ForeColor       = 0x80000012
    Height          = 25
    ImageType       = -1
    Left            = 128
    MultiLine       = 0
    OwnerDraw       = 0
    NormalStyle     = 0x54000300
    Picture         = [None]
    PicturePosition = 0
    RightToLeft     = 0
    StaticEdge      = 0
    TabOrder        = 7
    TabStop         = 1
    Text            = IDS_CLOSE
    Top             = 176
    Visible         = 1
    Width           = 84
  End
  Begin Static = Static4
    AutoSize          = 1
    BackColor         = 0x00606060
    Border            = 0
    CenterVertically  = 1
    ClientEdge        = 0
    ClipSiblings      = 1
    CursorIcon        = [None]
    CursorShape       = 14
    DragAndDrop       = 1005
    Enabled           = 1
    ExStyle           = 0x00000000
    Font              = Arial,9,700,0,1,0
    ForeColor         = 0x00DFDF00
    Height            = 15
    HyperColor        = 0x00FFFF00
    HyperLink         = 1
    Layout            = 2
    Left              = 124
    MouseLeave        = 0
    NoPrefix          = 0
    PathEllipsis      = 0
    NormalStyle       = 0x5400010D
    RightToLeft       = 0
    StaticEdge        = 0
    TabOrder          = 6
    Text              = IDS_EASYCODE
    TextAlignment     = 1
    ToolTipText       = 
    Top               = 152
    Transparent       = 0
    Visible           = 1
    Width             = 88
    WordWrap          = 0
  End
  Begin Static = Static5
    AutoSize        = 0
    BackColor       = 0x00606060
    Border          = 0
    CenterVertically= 0
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Enabled         = 1
    ExStyle         = 0x00000000
    Font            = Arial,9,400,0,0,0
    ForeColor       = 0x0000FFFF
    Height          = 18
    Left            = 0
    NoPrefix        = 0
    PathEllipsis    = 0
    NormalStyle     = 0x54000101
    RightToLeft     = 0
    StaticEdge      = 0
    TabOrder        = 5
    Text            = IDS_AVAILABLE
    TextAlignment   = 1
    Top             = 136
    Transparent     = 0
    Visible         = 1
    Width           = 342
    WordWrap        = 1
  End
  Begin Static = Static6
    AutoSize        = 0
    BackColor       = 0x00606060
    Border          = 0
    CenterVertically= 0
    ClientEdge      = 0
    ClipSiblings    = 1
    CursorIcon      = [None]
    CursorShape     = 0
    Enabled         = 1
    ExStyle         = 0x00000000
    Font            = Arial,9,400,0,0,0
    ForeColor       = 0x0000FFFF
    Height          = 17
    Left            = 0
    NoPrefix        = 0
    PathEllipsis    = 0
    NormalStyle     = 0x54000101
    RightToLeft     = 0
    StaticEdge      = 0
    TabOrder        = 3
    Text            = IDS_PROGRAMMED
    TextAlignment   = 1
    Top             = 52
    Transparent     = 0
    Visible         = 1
    Width           = 342
    WordWrap        = 1
  End
End

.Const

.Data?

.Data

szColon				Byte	'.', 0

.Code

wndAboutProcedure Proc Private hWnd:HWND, uMsg:ULONG, wParam:WPARAM, lParam:LPARAM
	Local szNumber[4]:Byte

	.If uMsg == WM_CREATE
		Invoke LoadString, App.Instance, IDS_APP_TITLE, Addr szString, MAX_PATH
		Invoke AddChar, Addr szString, ' '
		Invoke StringA, App.Major, Addr szNumber, ecDecimal
		Invoke lstrcat, Addr szString, Addr szNumber
		Invoke lstrcat, Addr szString, Addr szColon
		Invoke StringA, App.Minor, Addr szNumber, ecDecimal
		Invoke lstrcat, Addr szString, Addr szNumber
		Invoke AddChar, Addr szString, '.'
		Invoke StringA, App.Revision, Addr szNumber, ecDecimal
		Invoke lstrcat, Addr szString, Addr szNumber
		Invoke GetWindowItem, hWnd, IDC_WNDABOUT_STATIC1
		Invoke SetWindowText, Eax, Addr szString
		Invoke GetWindowItem, hWnd, IDC_WNDABOUT_STATIC4
		Invoke SetCursorIcon, Eax, IDC_CURSOR_HAND
		Return TRUE
	.ElseIf uMsg == WM_COMMAND
		LoWord wParam
		.If Ax == IDC_WNDABOUT_BTNCLOSE
			HiWord wParam
			.If Ax == BN_CLICKED
				Invoke EndModal, hWnd, IDOK
			.EndIf
			Return TRUE
		.EndIf
	.EndIf
	Return FALSE
wndAboutProcedure EndP
