14 #pragma managed( push, off ) 123 inline virtual wchar_t const*
GetSectionName() const noexcept {
return L
"ペインウィンドウ"; }
134 inline virtual COLORREF
GetBackColor() const noexcept { return ::GetSysColor( COLOR_APPWORKSPACE ); }
145 inline virtual COLORREF
GetTextColor() const noexcept { return ::GetSysColor( COLOR_WINDOWTEXT ); }
191 inline virtual bool IsShow() noexcept {
return m_bShow; }
204 inline virtual bool SetShow(
bool bShow ) noexcept { m_bShow = bShow;
return true; }
215 inline virtual HWND
GetSizeBar() const noexcept {
return nullptr; }
228 inline virtual bool IsPartition() const noexcept {
return false; }
280 virtual bool Create( HWND hParent =
nullptr, HMENU hMenu =
nullptr ) noexcept
override;
291 virtual DWORD
GetCreateStyle() noexcept
override {
return ( WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN ); }
302 virtual LRESULT WmApp() noexcept
override;
303 virtual LRESULT WmPaint() noexcept
override;
304 virtual LRESULT WmSetFocus() noexcept
override;
305 virtual LRESULT WmKillFocus() noexcept
override;
306 virtual LRESULT WmLButtonDown() noexcept
override;
307 virtual LRESULT WmContextMenu() noexcept
override;
308 virtual LRESULT WmCommand() noexcept
override;
319 virtual LRESULT WmNotifyChildSetFocus() noexcept;
320 virtual LRESULT WmNotifyChildKillFocus() noexcept;
323 virtual LRESULT WmNotifyChildCommand() noexcept;
349 virtual bool ResumeConfig(
CJsonConfig& rcConfig ) noexcept;
362 virtual bool SaveConfig(
CJsonConfig& rcConfig ) noexcept;
373 virtual CWndPane* GetParentPane() noexcept;
384 virtual CWndPane* GetTopLevelPane() noexcept;
397 virtual bool GetChildPaneInfo(
SChildPaneInfo& rsChildInfo ) noexcept;
411 virtual int GetOrderIndex(
CWndPane* pcPane =
nullptr,
int* pnOrder =
nullptr ) noexcept;
422 virtual CWndPane* GetOrderPane(
int* pnOrder ) noexcept;
433 virtual int GetChildCount() noexcept;
444 virtual int GetShowChildCount() noexcept;
455 virtual int GetHideChildCount() noexcept;
466 virtual int GetHideableChildCount() noexcept;
477 virtual int GetDeletableChildCount() noexcept;
517 virtual bool ShowChildWindow(
CWndPane* pcChild,
bool bShow ) noexcept;
569 virtual bool UpdateClientRect() noexcept;
582 virtual bool UpdateClientRectAll() noexcept;
595 virtual bool GetPaintRect( RECT& rsRect ) noexcept;
609 virtual bool DrawPaintRect( HDC hDc, RECT& rsRect ) noexcept;
646 virtual bool ExecMenuCommand( WORD wId, WORD wCode, HWND hCtrl ) noexcept;
657 virtual HMENU CreateContextMenu() noexcept;
670 virtual bool AppendDebugMenu( HMENU hMenu ) noexcept;
683 virtual bool AppendShowDeleteMenu( HMENU hMenu ) noexcept;
702 static int const MIN_WIDTH = 24;
703 static int const MIN_HEIGHT = 24;
720 #pragma managed( pop ) virtual HWND GetSizeBar() const noexcept
サイズバーコントロール取得関数
virtual bool ShowChildAll(bool bShow) noexcept
全子ウィンドウ表示関数
virtual bool IsShow() noexcept
表示フラグ取得関数
virtual wchar_t const * GetSectionName() const noexcept
セクション名取得関数
virtual COLORREF GetFocusTextColor() const noexcept
フォーカス所有文字色取得関数
static wchar_t const *const KEY_SHOW
ウィンドウ表示フラグキー文字列
virtual int GetMinHeight() noexcept
最小垂直サイズ取得関数
virtual ~CWndPane() noexcept
デストラクタ
virtual LRESULT WmNotifyChildLButtonUp() noexcept
virtual DWORD GetCreateStyle() noexcept override
ウィンドウ作成スタイル取得関数
virtual bool SetPartitionSize(int nSize) noexcept
パーティションサイズ設定関数
virtual COLORREF GetBackColor() const noexcept
クライアント描画領域背景色取得関数
static HMENU s_hContextMenu
コンテキストメニューハンドル
#define LIB_WINDOW_API
ダイナミックライブラリインポート宣言
virtual bool DeleteChildAll() noexcept
全子ウィンドウ削除関数
virtual int GetMinWidth() noexcept
最小水平サイズ取得関数
static bool s_bShowDebugInfo
デバッグ情報表示フラグ
constexpr UINT const WM_NOTIFY_CHILD_LBUTTONDOWN
子ウィンドウ左ボタンダウン通知
static HWND s_hFocus
フォーカスウィンドウ保存ハンドル
static bool s_bResizePartitionRealTime
リアルタイムパーティションサイズ変更フラグ
EPartitionPos
パーティション配置位置種別列挙体
constexpr UINT const WM_NOTIFY_CHILD_SET_FOCUS
子ウィンドウフォーカス取得通知
virtual COLORREF GetFocusWindowTextColor() const noexcept
フォーカスウィンドウ文字色取得関数
int m_nDeletable
削除可能子ウィンドウ数
virtual bool InitConfig(CJsonConfig &rcConfig) noexcept
ウィンドウ構成情報初期化関数
static wchar_t const *const KEY_WINDOW_TITLE
ウィンドウタイトルキー文字列
static wchar_t const *const KEY_FOCUS_ORDER
フォーカスウィンドウオーダー番号キー文字列
virtual bool IsPartition() const noexcept
パーティションウィンドウ判別関数
virtual int GetPartitionSize() const noexcept
パーティションサイズ取得関数
virtual COLORREF GetTextColor() const noexcept
クライアント描画領域文字色取得関数
static bool s_bDrawDoubleBuffer
ダブルバッファリング描画フラグ
virtual bool SetShow(bool bShow) noexcept
表示状態設定関数
virtual bool CanHideChildWindow(CWndPane *pcChild) noexcept
子ウィンドウ非表示可能状態取得関数
virtual bool CanDeleteChildWindow(CWndPane *pcChild) noexcept
子ウィンドウ削除可能状態取得関数
int m_nHideable
非表示可能子ウィンドウ数
constexpr UINT const WM_NOTIFY_CHILD_KILL_FOCUS
子ウィンドウフォーカス喪失通知
virtual CWndPane * GetPaneWindow(HWND hWnd) const noexcept
表示フラグ取得関数
constexpr UINT const WM_NOTIFY_CHILD_LBUTTONUP
子ウィンドウ左ボタンアップ通知
virtual LRESULT WmNotifyChildLButtonDown() noexcept
constexpr UINT const WM_NOTIFY_CHILD_COMMAND
子ウィンドウコマンド実行通知
virtual bool DeleteChildWindow(CWndPane *pcChild) noexcept
子ウィンドウ削除関数
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数