?? ztreeflags.cpp
字號:
// zTreeFlags.cpp: implementation of the zTreeFlags class.
//
//////////////////////////////////////////////////////////////////////
#include "../stdafx.h"
#include "zTreeFlags.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
zTreeFlags::zTreeFlags()
{
}
zTreeFlags::~zTreeFlags()
{
}
BOOL zTreeFlags::TrunFlagsShowChildNumber(int bShow)
{
if (bShow==2) m_flags.bShowChildNumber = !m_flags.bShowChildNumber;
else m_flags.bShowChildNumber = bShow;
return m_flags.bShowChildNumber;
}
BOOL zTreeFlags::TrunFlagsShowItemProperties(int bShow)
{
if (bShow==2) m_flags.bShowItemProperties = !m_flags.bShowItemProperties;
else m_flags.bShowItemProperties = bShow;
return m_flags.bShowItemProperties;
}
BOOL zTreeFlags::TrunFlagsShowImageIcon(int bShow)
{
if(bShow==2) m_flags.bShowImageIcon = !m_flags.bShowImageIcon;
else m_flags.bShowImageIcon = bShow;
// if (m_flags.bShowImageIcon) SetImageList(m_pImageSave);
// else SetImageList(NULL);
return m_flags.bShowImageIcon;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -