windows-nt/Source/XPSP1/NT/enduser/netmeeting/ui/conf/upropdlg.h
2020-09-26 16:20:57 +08:00

66 lines
1.4 KiB
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/****************************************************************************
*
* 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_