www.pudn.com > ODBCApi.rar > DeskOutDlg.h
#pragma once
#include "resource.h"
#include "ButtonST\BtnST.h"
#include "ButtonST\ShadeButtonST.h"
#include "StaticEx.h"
struct DESK
{
CStaticEx wndCleint;
CShadeButtonST wndHeader;
BOOL bIsShow;
};
struct ITEM
{
int nItemWidth;
int nItemHeight;
};
class CDeskOutDlg : public CDialog
{
DECLARE_DYNAMIC(CDeskOutDlg)
public:
CPtrArray m_ptrArray;
public:
BOOL AddDesk(CString strItem);
BOOL SetCurSel(int nDesk);
DESK* GetDesk(int nDesk);
public:
ITEM rcItem;
public:
CDeskOutDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDeskOutDlg();
// 对话框数据
enum { IDD = IDD_DLG_DESKOUT};
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBnCliceked( UINT nID );
};