#pragma once #include #include #include "ItemInfoPage.h" // CItemInfoSheet class CItemInfoSheet : public CPropertySheet { DECLARE_DYNAMIC(CItemInfoSheet) public: CItemInfoSheet(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); CItemInfoSheet(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); virtual ~CItemInfoSheet(); bool Initialize(char* lpCharacterInfo, unsigned short usUpdateInfo[DBUpdateData::MAX_UPDATE_DB], char* szDepositData, unsigned short usDepositSize, unsigned long dwDepositMoney); protected: DECLARE_MESSAGE_MAP() enum { EQUIP_INFO = 0, INVEN_INFO = 1, EXCHANGE_INFO = 2, TEMPINVEN_INFO = 3, EXTRA_INFO = 4, DEPOSIT_INFO = 5, MAX_ITEM_INFO = 6 }; CItemInfoPage m_ItemInfo[MAX_ITEM_INFO]; Item::CItemContainer* m_lpItemContainer[MAX_ITEM_INFO]; CItemInfoPage m_Deposit; Item::CItemContainer* m_lpDeposit; virtual BOOL OnInitDialog(); private: afx_msg void OnClose(); };