home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / common / msdev98 / template / atl / control.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-16  |  911 b   |  24 lines

  1. [!if=(FileExists, "FALSE")]
  2. // [!CPPName] : Implementation of [!ClassName]
  3. [!crlf]
  4. #include "stdafx.h"
  5. #include "[!ProjectName].h"
  6. #include "[!HeaderName]"
  7. [!else]
  8. [!AddIncludeFile(TargetFile, "stdafx.h")]
  9. [!AddStringToSymbol(ProjectName.h, ProjectName, ".h")]
  10. [!AddIncludeFile(TargetFile, ProjectName.h)]
  11. [!AddIncludeFile(TargetFile, HeaderName)]
  12. [!endif]
  13.  
  14. [!if=(SubclassWindow, "SysListView32")]#pragma comment(lib, "comctl32.lib")[!endif]
  15. [!if=(SubclassWindow, "SysTreeView32")]#pragma comment(lib, "comctl32.lib")[!endif]
  16. [!if=(SubclassWindow, "SysAnimate32")]#pragma comment(lib, "comctl32.lib")[!endif]
  17. [!if=(SubclassWindow, "SysHeader32")]#pragma comment(lib, "comctl32.lib")[!endif]
  18. [!if=(SubclassWindow, "SysTabControl32")]#pragma comment(lib, "comctl32.lib")[!endif]
  19.  
  20. [!crlf]
  21. /////////////////////////////////////////////////////////////////////////////
  22. // [!ClassName]
  23. [!crlf]
  24.