[!set(ComponentType, "11110010")]
[!Dialog("Names")]

[!strcpy(UpperShortName, ShortName)]
[!toupper(UpperShortName)]

[!AddStringToSymbol(HeaderTemplate, GalleryPath, "dialog.h")]
[!AddStringToSymbol(CPPTemplate, GalleryPath, "dialog.cpp")]

[!target(HeaderName)]
[!include(HeaderTemplate)]
[!target()]

[!target(CPPName)]
[!include(CPPTemplate)]
[!target()]

[!set(stdafx.h, "stdafx.h")]
[!set(stdafx.cpp, "stdafx.cpp")]
[!set(atlwin.h, "<atlwin.h>")]
[!set(atlwin.cpp, "<atlwin.cpp>")]
[!AddIncludeFile(stdafx.h, atlwin.h)]
[!AddIncludeFile(stdafx.cpp, atlwin.cpp)]

[!AddFileToProject(CPPName)]
[!AddFileToProject(HeaderName)]

[!AddSymbolToString(IDD_DIALOGID, "IDD_", UpperShortName)]

[!AddStringToSymbol(RCFile, GalleryPath, "dialog.rc")]
[!AddResourceFromFile(RCFile, IDD_DIALOGID, "DIALOG")]
