windows-nt/Source/XPSP1/NT/enduser/netmeeting/ui/conf/upropdlg.h

66 lines
1.4 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/****************************************************************************
*
* 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_