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.
|
|
/*++
Copyright (c) 1994-95 Microsoft Corporation
Module Name:
mapppgs.cpp
Abstract:
Mapping property page (settings) implementation.
Author:
Don Ryan (donryan) 02-Feb-1995
Environment:
User Mode - Win32
Revision History:
--*/
#ifndef _MAPPPGS_H_
#define _MAPPPGS_H_
class CMappingPropertyPageSettings : public CPropertyPage { DECLARE_DYNCREATE(CMappingPropertyPageSettings) private: CMapping* m_pMapping; CObList m_deleteList; DWORD* m_pUpdateHint; BOOL m_bAreCtrlsInitialized;
public: CMappingPropertyPageSettings(); ~CMappingPropertyPageSettings();
void InitPage(CMapping* pMapping, DWORD* pUpdateHint); void AbortPageIfNecessary(); void AbortPage();
void InitCtrls(); BOOL RefreshCtrls();
BOOL IsQuantityValid();
//{{AFX_DATA(CMappingPropertyPageSettings)
enum { IDD = IDD_PP_MAPPING_SETTINGS }; CEdit m_desEdit; CEdit m_licEdit; CButton m_delBtn; CButton m_addBtn; CSpinButtonCtrl m_spinCtrl; CListCtrl m_userList; CString m_strDescription; long m_nLicenses; long m_nLicensesMin; CString m_strName; //}}AFX_DATA
//{{AFX_VIRTUAL(CMappingPropertyPageSettings)
protected: virtual void DoDataExchange(CDataExchange* pDX); virtual BOOL OnSetActive(); virtual BOOL OnKillActive(); virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); //}}AFX_VIRTUAL
protected: //{{AFX_MSG(CMappingPropertyPageSettings)
virtual BOOL OnInitDialog(); afx_msg void OnAdd(); afx_msg void OnDelete(); afx_msg void OnDeltaPosSpin(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnGetDispInfoUsers(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnUpdateQuantity(); afx_msg void OnDestroy(); //}}AFX_MSG
DECLARE_MESSAGE_MAP() };
extern int CALLBACK CompareUsersInMapping(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
#endif // _MAPPPGS_H_
|