|
#ifndef __CeSplitFrame_h__
#define __CeSplitFrame_h__
#include "CeMisc.h"
#include "CeCmdBar.h"
class CeSplitFrame: public CeWnd
{
private:
bool m_bMoving;
bool m_bVertical;
bool m_bSizable;
HWND m_hwndTop;
HWND m_hwndBottom;
protected:
void OnLButtonDown( UINT nFlags, POINT point, bool& bHandled );
void OnLButtonUp( UINT nFlags, POINT point, bool& bHandled );
void OnMouseMove( UINT nFlags, POINT point, bool& bHandled );
void OnPaint( bool& bHandled );
void OnSize( UINT nType, int cx, int cy, bool& bHandled );
public:
#ifdef _WIN32_WCE
CeCmdBand m_cmdband;
#endif
CeSplitFrame()
{
m_bMoving = false;
m_bVertical = false;
m_bSizable = false;
m_hwndTop = NULL;
m_hwndBottom = NULL;
}
void SetPanes(HWND hwndTop, HWND hwndBottom)
{
m_hwndTop = hwndTop;
m_hwndBottom = hwndBottom;
}
void MaximizePane()
{
}
// override
virtual void GetWindowPlacements(CeRect& rc, CeRect& rcTop, CeRect& rcBottom);
};
#endif // __CeSplitFrame_h__
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.