mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 03:47:53 +08:00
9697f95b8f
This reverts commit 15d999759e
.
25 lines
598 B
C++
25 lines
598 B
C++
#pragma once
|
|
|
|
class AFX_EXT_CLASS CDialogExpand
|
|
{
|
|
public:
|
|
CDialogExpand(void);
|
|
CDialogExpand(CDialog *pDialog, int nResourceID, BOOL bVertical);
|
|
~CDialogExpand(void);
|
|
|
|
void Init(CDialog *pDialog, int nResourceID, BOOL bVertical);
|
|
void Expand(BOOL bExpand);
|
|
private:
|
|
BOOL m_bVertical;
|
|
int m_nResourceID;
|
|
CRect m_rcHorizontalLarge;
|
|
CRect m_rcHorizontalSmall;
|
|
CRect m_rcVerticalLarge;
|
|
CRect m_rcVerticalSmall;
|
|
CDialog *m_pDialog;
|
|
|
|
void VerticalExpand(BOOL bExpand);
|
|
void HorizontalExpand(BOOL bExpand);
|
|
void EnableVisibleChildren(BOOL bVertical, int height);
|
|
};
|