74 m_center[isWide ? 1 : 0] = parsent;
83 m_isReverse = isReverse;
108 return _super::GetMinimumSize(_size);
119 virtual void Decide(
int x,
int y, WPARAM wParam, LPARAM lParam)
122 _super::Decide(x, y, wParam, lParam);
127 void SetParameter(
bool isHorizental, DWORD parsent)
129 _super::SetParameter(isHorizental, parsent);
132 void m_SetParameter(
void)
const
134 bool r = m_IsWideMode();
136 P->SetParameter(r, m_center[r ? 1 : 0]);
139 bool m_IsWideMode(
void)
const
141 int nWidth = ::GetSystemMetrics(SM_CXSCREEN);
142 int nHeight = ::GetSystemMetrics(SM_CYSCREEN);
143 return (nHeight < nWidth) ^ (m_isReverse);
virtual bool GetMinimumSize(SIZE &_size) const
[取得] 最小サイズ取得.
void SetReverseMode(bool isReverse=false)
[設定] リバース設定.
virtual ILayout * Clone(void) const
[作成] クローン作成.
virtual void Decide(int x, int y, WPARAM wParam, LPARAM lParam)
[処理] 決定.
void SetCenter(bool isWide, DWORD parsent=50)
[設定] 敷居変更.