GetPwdDlg.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • GetPwdDlg.h.
  • View
  • Commits
  • Open Download .zip Download (1 KB)
#ifndef __GETPWDDLG__
#define __GETPWDDLG__

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000



/////////////////////////////////////////////////////////////////////////////
// CGetPwdDlg dialog

class CGetPwdDlg : public CDialog
{
// Construction
public:
	CGetPwdDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGetPwdDlg)
	enum { IDD = IDD_PASSWORD };
	BOOL	m_IsPermanent;
	CString	m_Password;
	//}}AFX_DATA

	CRect m_InitRect;
	CRect m_LastRect;
	BOOL m_InitDialogDone;


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGetPwdDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

public:
	CString GetPassword();
	BOOL IsWriteToRegistry( ){ return m_IsPermanent ; }

// Implementation
protected:

	UINT m_Timer;

	// Generated message map functions
	//{{AFX_MSG(CGetPwdDlg)
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // __GETPWDDLG__
# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/GetPwdDlg.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/GetPwdDlg.h
#1 8562 Matt Attaway These feet never stop running.

Initial commit of the P4Win source code.  To the best of our knowledge this
compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes
as we refine the build process. Please post any build issues to the forums.