Source code of Windows XP (NT5)
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.

109 lines
2.3 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1999 -99 **/
  4. /**********************************************************************/
  5. /*
  6. pushtrig.cpp
  7. Comment goes here
  8. FILE HISTORY:
  9. */
  10. #include "stdafx.h"
  11. #include "winssnap.h"
  12. #include "PushTrig.h"
  13. #ifdef _DEBUG
  14. #define new DEBUG_NEW
  15. #undef THIS_FILE
  16. static char THIS_FILE[] = __FILE__;
  17. #endif
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CPushTrig dialog
  20. CPushTrig::CPushTrig(CWnd* pParent /*=NULL*/)
  21. : CBaseDialog(CPushTrig::IDD, pParent)
  22. {
  23. //{{AFX_DATA_INIT(CPushTrig)
  24. //}}AFX_DATA_INIT
  25. m_fPropagate = FALSE;
  26. }
  27. void CPushTrig::DoDataExchange(CDataExchange* pDX)
  28. {
  29. CBaseDialog::DoDataExchange(pDX);
  30. //{{AFX_DATA_MAP(CPushTrig)
  31. DDX_Control(pDX, IDC_RADIO_PUSH_THIS_PARTNER, m_buttonThisPartner);
  32. //}}AFX_DATA_MAP
  33. }
  34. BEGIN_MESSAGE_MAP(CPushTrig, CBaseDialog)
  35. //{{AFX_MSG_MAP(CPushTrig)
  36. //}}AFX_MSG_MAP
  37. END_MESSAGE_MAP()
  38. /////////////////////////////////////////////////////////////////////////////
  39. // CPushTrig message handlers
  40. BOOL CPushTrig::OnInitDialog()
  41. {
  42. CBaseDialog::OnInitDialog();
  43. m_buttonThisPartner.SetCheck(TRUE);
  44. return TRUE; // return TRUE unless you set the focus to a control
  45. // EXCEPTION: OCX Property Pages should return FALSE
  46. }
  47. void CPushTrig::OnOK()
  48. {
  49. m_fPropagate = (m_buttonThisPartner.GetCheck()) ? FALSE : TRUE;
  50. CBaseDialog::OnOK();
  51. }
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CPullTrig dialog
  54. CPullTrig::CPullTrig(CWnd* pParent /*=NULL*/)
  55. : CBaseDialog(CPullTrig::IDD, pParent)
  56. {
  57. //{{AFX_DATA_INIT(CPullTrig)
  58. //}}AFX_DATA_INIT
  59. }
  60. void CPullTrig::DoDataExchange(CDataExchange* pDX)
  61. {
  62. CBaseDialog::DoDataExchange(pDX);
  63. //{{AFX_DATA_MAP(CPullTrig)
  64. //}}AFX_DATA_MAP
  65. }
  66. BEGIN_MESSAGE_MAP(CPullTrig, CBaseDialog)
  67. //{{AFX_MSG_MAP(CPullTrig)
  68. //}}AFX_MSG_MAP
  69. END_MESSAGE_MAP()
  70. /////////////////////////////////////////////////////////////////////////////
  71. // CPullTrig message handlers
  72. BOOL CPullTrig::OnInitDialog()
  73. {
  74. CBaseDialog::OnInitDialog();
  75. return TRUE; // return TRUE unless you set the focus to a control
  76. // EXCEPTION: OCX Property Pages should return FALSE
  77. }