Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.0 KiB

4 years ago
  1. // newlang.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "newlang.h"
  6. #ifdef _DEBUG
  7. #undef THIS_FILE
  8. static char BASED_CODE THIS_FILE[] = __FILE__;
  9. #endif
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CNewLang dialog
  12. CNewLang::CNewLang(CWnd* pParent /*=NULL*/)
  13. : CDialog(CNewLang::IDD, pParent)
  14. {
  15. //{{AFX_DATA_INIT(CNewLang)
  16. m_langid = 0;
  17. //}}AFX_DATA_INIT
  18. }
  19. void CNewLang::DoDataExchange(CDataExchange* pDX)
  20. {
  21. CDialog::DoDataExchange(pDX);
  22. //{{AFX_DATA_MAP(CNewLang)
  23. DDX_TextHex(pDX, IDC_EDIT, m_langid);
  24. DDV_MinMaxUInt(pDX, m_langid, 1, 65535);
  25. //}}AFX_DATA_MAP
  26. }
  27. BEGIN_MESSAGE_MAP(CNewLang, CDialog)
  28. //{{AFX_MSG_MAP(CNewLang)
  29. //}}AFX_MSG_MAP
  30. END_MESSAGE_MAP()
  31. /////////////////////////////////////////////////////////////////////////////
  32. // CNewLang message handlers
  33. BOOL CNewLang::OnInitDialog()
  34. {
  35. SetChicagoDialogStyles(m_hWnd, FALSE);
  36. return TRUE; // return TRUE unless you set the focus to a control
  37. // EXCEPTION: OCX Property Pages should return FALSE
  38. }