home *** CD-ROM | disk | FTP | other *** search
/ Supercompiler 1997 / SUPERCOMPILER97.iso / MS_VC.50 / SharedIDE / TEMPLATE / ATL / DIALOG.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-19  |  731 b   |  39 lines

  1. // [!CPPName] : Implementation of [!ClassName]
  2.  
  3. #include "stdafx.h"
  4. #include "[!HeaderName]"
  5.  
  6. [!crlf]
  7. /////////////////////////////////////////////////////////////////////////////
  8. // [!ClassName]
  9. [!crlf]
  10. [!ClassName]::[!ClassName]()
  11. {
  12. }
  13. [!crlf]
  14.  
  15. [!ClassName]::~[!ClassName]()
  16. {
  17. }
  18. [!crlf]
  19.  
  20. LRESULT [!ClassName]::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
  21. {
  22.     return 1;  // Let the system set the focus
  23. }
  24.  
  25. [!crlf]
  26. LRESULT [!ClassName]::OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
  27. {
  28.     EndDialog(wID);
  29.     return 0;
  30. }
  31.  
  32. [!crlf]
  33. LRESULT [!ClassName]::OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
  34. {
  35.     EndDialog(wID);
  36.     return 0;
  37. }
  38. [!crlf]
  39.