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.
 
 
 
 
 
 

66 lines
1.4 KiB

/****************************************************************************
*
* FILE: UPropDlg.h
*
* CREATED: Chris Pirich (ChrisPi) 6-18-96
*
****************************************************************************/
#ifndef _UPROPDLG_H_
#define _UPROPDLG_H_
// 2 pages
#define PSP_MAX 2
struct UPROPDLGENTRY
{
UINT uProperty;
LPTSTR pszValue;
};
typedef UPROPDLGENTRY* PUPROPDLGENTRY;
class CUserPropertiesDlg
{
protected:
HWND m_hwndParent;
HWND m_hwnd;
PUPROPDLGENTRY m_pUPDE;
int m_nProperties;
LPTSTR m_pszName;
UINT m_uIcon;
HICON m_hIcon;
PCCERT_CONTEXT m_pCert;
BOOL OnPropertiesMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
BOOL OnCredentialsMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
BOOL OnInitPropertiesDialog();
BOOL OnInitCredentialsDialog();
// Handlers:
BOOL OnOk();
public:
// Methods:
CUserPropertiesDlg( HWND hwndParent,
UINT uIcon);
~CUserPropertiesDlg() { ::DestroyIcon(m_hIcon); };
INT_PTR DoModal(PUPROPDLGENTRY pUPDE,
int nProperties,
LPTSTR pszName,
PCCERT_CONTEXT pCert);
static INT_PTR CALLBACK UserPropertiesDlgProc( HWND hDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
static INT_PTR CALLBACK UserCredentialsDlgProc( HWND hDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
};
#endif // _UPROPDLG_H_