|
#if !defined(AFX_PASSWORDGENERATORDIALOG_H__61303B4F_E26A_43F9_8C6D_C2495ABFC602__INCLUDED_)
#define AFX_PASSWORDGENERATORDIALOG_H__61303B4F_E26A_43F9_8C6D_C2495ABFC602__INCLUDED_
#include "StaticHyperlinkEx.h" // Added by ClassView
#include "StaticEx.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PasswordGeneratorDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPasswordGeneratorDialog dialog
const TCHAR g_szEnglishUppercase[] = _T("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
const TCHAR g_szEnglishLowercase[] = _T("abcdefghijklmnopqrstuvwxyz");
const TCHAR g_szDigits[] = _T("0123456789");
const TCHAR g_szPunctuation[] = _T("(),.?!-;:' ");
const TCHAR g_szSpecial[] = _T("~@#$%^&*_+<>{}[]");
class CPasswordGeneratorDialog : public CDialog
{
// Construction
public:
CPasswordGeneratorDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPasswordGeneratorDialog)
enum { IDD = IDD_PASSWORDGENERATOR_DIALOG };
BOOL m_bDecimalDigits;
BOOL m_bLowercase;
BOOL m_bPunctuation;
BOOL m_bSpecial;
BOOL m_bUppercase;
int m_nPasswordLength;
CString m_strPassword;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPasswordGeneratorDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPasswordGeneratorDialog)
virtual BOOL OnInitDialog();
afx_msg void OnPasswordTitle();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CStaticEx m_ctrlMessage;
CStaticHyperlinkEx m_ctrlPassword;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PASSWORDGENERATORDIALOG_H__61303B4F_E26A_43F9_8C6D_C2495ABFC602__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here