Solution46
LibWindow::CWndPartition クラス

パーティションウィンドウクラス [詳解]

#include "CWndPartition.h"

LibWindow::CWndPartition の継承関係図
Inheritance graph
LibWindow::CWndPartition 連携図
Collaboration graph

公開メンバ関数

 CWndPartition (CWndElement *(*pfnCreateElement)(), wchar_t const *pszElementName) noexcept
 コンストラクタ [詳解]
 
virtual ~CWndPartition () noexcept
 デストラクタ [詳解]
 
virtual bool IsPartition () const noexcept override
 パーティションウィンドウ判別関数 [詳解]
 
virtual CWndDocumentTabGetDocumentTab () noexcept
 ドキュメントタブウィンドウ取得関数 [詳解]
 
virtual bool Create (HWND hParent=nullptr, HMENU hMenu=nullptr) noexcept override
 ウィンドウ作成関数 [詳解]
 
virtual LRESULT WmSize () noexcept override
 各種メッセージ処理関数 [詳解]
 
virtual LRESULT WmSetFocus () noexcept override
 各種メッセージ処理関数 [詳解]
 
virtual LRESULT WmDrawItem () noexcept override
 
virtual LRESULT WmSetCursor () noexcept override
 
virtual LRESULT StnClicked () noexcept override
 
virtual LRESULT WmLButtonUp () noexcept override
 
virtual LRESULT WmKeyDown () noexcept override
 
virtual LRESULT WmMouseMove () noexcept override
 
virtual bool InitConfig (CJsonConfig &rcConfig) noexcept override
 ウィンドウ構成情報初期化関数 [詳解]
 
virtual bool ResumeConfig (CJsonConfig &rcConfig) noexcept override
 ウィンドウ構成情報復元関数 [詳解]
 
virtual bool SaveConfig (CJsonConfig &rcConfig) noexcept override
 ウィンドウ構成情報保存関数 [詳解]
 
virtual bool GetChildPaneInfo (SChildPaneInfo &rsChildInfo) noexcept override
 子ペインウィンドウ情報取得関数 [詳解]
 
virtual int GetOrderIndex (CWndPane *pcPane=nullptr, int *pnOrder=nullptr) noexcept override
 ペインウィンドウオーダー番号取得関数 [詳解]
 
virtual CWndPaneGetOrderPane (int *pnOrder) noexcept override
 オーダー番号ペインウィンドウ取得関数 [詳解]
 
virtual bool ShowChildAll (bool bShow) noexcept override
 全子ウィンドウ表示関数 [詳解]
 
virtual bool DeleteChildAll () noexcept override
 全子ウィンドウ削除関数 [詳解]
 
virtual bool CanDeleteChildWindow (CWndPane *pcChild) noexcept override
 子ウィンドウ削除可能状態取得関数 [詳解]
 
virtual bool UpdateClientRectAll () noexcept override
 全ウィンドウクライアント領域更新関数 [詳解]
 
virtual bool GetPaintRect (RECT &rsRect) noexcept override
 クライアント描画領域取得関数 [詳解]
 
virtual int GetMinWidth () noexcept override
 最小水平サイズ取得関数 [詳解]
 
virtual int GetMinHeight () noexcept override
 最小垂直サイズ取得関数 [詳解]
 
virtual bool AppendDebugMenu (HMENU hMenu) noexcept override
 デバッグメニュー追加関数 [詳解]
 
virtual bool GetPartitionClientRect (RECT &rsRect) noexcept
 パーティション表示クライアント領域取得関数 [詳解]
 
virtual bool GetMinSize (SIZE &rsSizen, int nStart=0) noexcept
 最小サイズ取得関数 [詳解]
 
virtual bool GetMinPartitionSize (SIZE &rsSize) noexcept
 最小パーティション表示領域サイズ取得関数 [詳解]
 
virtual EPartitionPos GetPartitionPos (CWndElement *pcElement) noexcept
 パーティション配置位置取得関数 [詳解]
 
virtual bool BeginMoveSizeBar (CWndElement *pcElement) noexcept
 サイズバー移動開始関数 [詳解]
 
virtual bool CancelMoveSizeBar () noexcept
 サイズバー移動中止関数 [詳解]
 
virtual bool MoveSizeBar () noexcept
 サイズバー移動関数 [詳解]
 
virtual bool EndMoveSizeBar () noexcept
 サイズバー移動終了関数 [詳解]
 
virtual bool CreateSizeBarImageControl () noexcept
 サイズバーイメージコントロール作成関数 [詳解]
 
virtual bool DrawSizeBar (LPDRAWITEMSTRUCT lpDraw, EPartitionPos ePos) noexcept
 サイズバーコントロール描画関数 [詳解]
 
- 基底クラス LibWindow::CWndContainer に属する継承公開メンバ関数
 CWndContainer (CWndElement *(*pfnCreateElement)(), wchar_t const *pszElementName) noexcept
 コンストラクタ [詳解]
 
 CWndContainer (CWndContainer &&rcInstance) noexcept
 ムーブコンストラクタ [詳解]
 
virtual ~CWndContainer () noexcept
 デストラクタ [詳解]
 
virtual CWndListGetElementList () noexcept
 エレメントウィンドウリスト取得関数 [詳解]
 
virtual LRESULT WmNotifyChildSetFocus () noexcept override
 ユーザ定義メッセージ処理関数 [詳解]
 
virtual bool DeleteChildWindow (CWndPane *pcChild) noexcept override
 子ウィンドウ削除関数 [詳解]
 
virtual bool ExecMenuCommand (WORD wId, WORD wCode, HWND hCtrl) noexcept override
 メニューコマンド実行関数 [詳解]
 
virtual bool AppendNewElementWindow () noexcept
 新規エレメントウィンドウ追加関数 [詳解]
 
- 基底クラス LibWindow::CWndPane に属する継承公開メンバ関数
 CWndPane () noexcept
 コンストラクタ [詳解]
 
 CWndPane (CWndPane &&rcInstance) noexcept
 ムーブコンストラクタ [詳解]
 
virtual ~CWndPane () noexcept
 デストラクタ [詳解]
 
virtual wchar_t const * GetSectionName () const noexcept
 セクション名取得関数 [詳解]
 
virtual COLORREF GetBackColor () const noexcept
 クライアント描画領域背景色取得関数 [詳解]
 
virtual COLORREF GetTextColor () const noexcept
 クライアント描画領域文字色取得関数 [詳解]
 
virtual COLORREF GetFocusTextColor () const noexcept
 フォーカス所有文字色取得関数 [詳解]
 
virtual COLORREF GetFocusWindowTextColor () const noexcept
 フォーカスウィンドウ文字色取得関数 [詳解]
 
virtual CWndPaneGetPaneWindow (HWND hWnd) const noexcept
 表示フラグ取得関数 [詳解]
 
virtual bool IsShow () noexcept
 表示フラグ取得関数 [詳解]
 
virtual bool SetShow (bool bShow) noexcept
 表示状態設定関数 [詳解]
 
virtual HWND GetSizeBar () const noexcept
 サイズバーコントロール取得関数 [詳解]
 
virtual EPartitionPos GetPartitionPos () const noexcept
 パーティション配置位置取得関数 [詳解]
 
virtual int GetPartitionSize () const noexcept
 パーティションサイズ取得関数 [詳解]
 
virtual bool SetPartitionSize (int nSize) noexcept
 パーティションサイズ設定関数 [詳解]
 
virtual DWORD GetCreateStyle () noexcept override
 ウィンドウ作成スタイル取得関数 [詳解]
 
virtual LRESULT WmApp () noexcept override
 各種メッセージ処理関数 [詳解]
 
virtual LRESULT WmPaint () noexcept override
 
virtual LRESULT WmKillFocus () noexcept override
 
virtual LRESULT WmLButtonDown () noexcept override
 
virtual LRESULT WmContextMenu () noexcept override
 
virtual LRESULT WmCommand () noexcept override
 
virtual LRESULT WmNotifyChildKillFocus () noexcept
 
virtual LRESULT WmNotifyChildLButtonDown () noexcept
 
virtual LRESULT WmNotifyChildLButtonUp () noexcept
 
virtual LRESULT WmNotifyChildCommand () noexcept
 
virtual CWndPaneGetParentPane () noexcept
 親ペインウィンドウ取得関数 [詳解]
 
virtual CWndPaneGetTopLevelPane () noexcept
 最上位ペインウィンドウ取得関数 [詳解]
 
virtual int GetChildCount () noexcept
 子ペインウィンドウ数取得関数 [詳解]
 
virtual int GetShowChildCount () noexcept
 表示状態子ペインウィンドウ数取得関数 [詳解]
 
virtual int GetHideChildCount () noexcept
 非表示状態子ペインウィンドウ数取得関数 [詳解]
 
virtual int GetHideableChildCount () noexcept
 非表示可能子ペインウィンドウ数取得関数 [詳解]
 
virtual int GetDeletableChildCount () noexcept
 削除可能子ペインウィンドウ数取得関数 [詳解]
 
virtual bool CanHideChildWindow (CWndPane *pcChild) noexcept
 子ウィンドウ非表示可能状態取得関数 [詳解]
 
virtual bool ShowChildWindow (CWndPane *pcChild, bool bShow) noexcept
 子ウィンドウ表示状態設定関数 [詳解]
 
virtual bool UpdateClientRect () noexcept
 クライアント領域更新関数 [詳解]
 
virtual bool DrawPaintRect (HDC hDc, RECT &rsRect) noexcept
 クライアント領域描画関数 [詳解]
 
virtual HMENU CreateContextMenu () noexcept
 コンテキストメニュー作成関数 [詳解]
 
virtual bool AppendShowDeleteMenu (HMENU hMenu) noexcept
 表示削除メニュー追加関数 [詳解]
 
- 基底クラス LibWindow::CWndBase に属する継承公開メンバ関数
 CWndBase () noexcept
 コンストラクタ [詳解]
 
virtual ~CWndBase () noexcept
 デストラクタ [詳解]
 
virtual HWND & GetHandle () noexcept
 ウィンドウハンドル取得関数 [詳解]
 
virtual UINT & GetMessage () noexcept
 ウィンドウメッセージ取得関数 [詳解]
 
virtual WPARAM & GetWParam () noexcept
 ウィンドウメッセージ第1引数取得関数 [詳解]
 
virtual LPARAM & GetLParam () noexcept
 ウィンドウメッセージ第2引数取得関数 [詳解]
 
virtual bool IsPaneWindow () const noexcept
 ペインウィンドウ判定関数 [詳解]
 
virtual bool Destroy () noexcept
 ウィンドウ破棄関数 [詳解]
 
virtual LPCWSTR GetRegistBaseClassName () noexcept
 ウィンドウクラス登録基底ウィンドウクラス名取得関数 [詳解]
 
virtual LPCWSTR GetRegistClassName () noexcept
 ウィンドウクラス登録クラス名取得関数 [詳解]
 
virtual LPCWSTR GetRegistClassName (CString &rcString) noexcept
 ウィンドウクラス登録クラス名取得関数 [詳解]
 
virtual UINT GetRegistStyle () noexcept
 ウィンドウクラス登録スタイル取得関数 [詳解]
 
virtual WNDPROC GetRegistWndProc () noexcept
 ウィンドウクラス登録コールバック関数取得関数 [詳解]
 
virtual int GetRegistClsExtra () noexcept
 ウィンドウクラス登録クラス拡張サイズ取得関数 [詳解]
 
virtual int GetRegistWndExtra () noexcept
 ウィンドウクラス登録ウィンドウ拡張サイズ取得関数 [詳解]
 
virtual HINSTANCE GetRegistInstance () noexcept
 ウィンドウクラス登録アプリケーションインスタンスハンドル取得関数 [詳解]
 
virtual HICON GetRegistIcon () noexcept
 ウィンドウクラス登録アプリケーションアイコンハンドル取得関数 [詳解]
 
virtual HCURSOR GetRegistCursor () noexcept
 ウィンドウクラス登録カーソルアイコンハンドル取得関数 [詳解]
 
virtual HBRUSH GetRegistBackGround () noexcept
 ウィンドウクラス登録背景ブラシハンドル取得関数 [詳解]
 
virtual LPCWSTR GetRegistMenuName () noexcept
 ウィンドウクラス登録メニュー名取得関数 [詳解]
 
virtual HICON GetRegistIconSm () noexcept
 ウィンドウクラス登録小アプリケーションアイコンハンドル取得関数 [詳解]
 
virtual UINT GetRegistStyle (UINT uStyle) noexcept
 ウィンドウクラス登録スタイル取得関数 [詳解]
 
virtual WNDPROC GetRegistWndProc (WNDPROC pfnWndProc) noexcept
 ウィンドウクラス登録コールバック関数取得関数 [詳解]
 
virtual int GetRegistClsExtra (int nClsExtra) noexcept
 ウィンドウクラス登録クラス拡張サイズ取得関数 [詳解]
 
virtual int GetRegistWndExtra (int nWndExtra) noexcept
 ウィンドウクラス登録ウィンドウ拡張サイズ取得関数 [詳解]
 
virtual HINSTANCE GetRegistInstance (HINSTANCE hInstance) noexcept
 ウィンドウクラス登録アプリケーションインスタンスハンドル取得関数 [詳解]
 
virtual HICON GetRegistIcon (HICON hIcon) noexcept
 ウィンドウクラス登録アプリケーションアイコンハンドル取得関数 [詳解]
 
virtual HCURSOR GetRegistCursor (HCURSOR hCursor) noexcept
 ウィンドウクラス登録カーソルアイコンハンドル取得関数 [詳解]
 
virtual HBRUSH GetRegistBackGround (HBRUSH hBrush) noexcept
 ウィンドウクラス登録背景ブラシハンドル取得関数 [詳解]
 
virtual LPCWSTR GetRegistMenuName (LPCWSTR pszMenuName) noexcept
 ウィンドウクラス登録メニュー名取得関数 [詳解]
 
virtual HICON GetRegistIconSm (HICON hIcon) noexcept
 ウィンドウクラス登録小アプリケーションアイコンハンドル取得関数 [詳解]
 
virtual DWORD GetCreateExStyle () noexcept
 ウィンドウ作成拡張スタイル取得関数 [詳解]
 
virtual LPCWSTR GetCreateClassName () noexcept
 ウィンドウ作成クラス名取得関数 [詳解]
 
virtual LPCWSTR GetCreateWindowName () noexcept
 ウィンドウ作成ウィンドウタイトル取得関数 [詳解]
 
virtual int GetCreateLeft () noexcept
 ウィンドウ作成ウィンドウ左座標取得関数 [詳解]
 
virtual int GetCreateTop () noexcept
 ウィンドウ作成ウィンドウ上座標取得関数 [詳解]
 
virtual int GetCreateWidth () noexcept
 ウィンドウ作成ウィンドウ水平サイズ取得関数 [詳解]
 
virtual int GetCreateHeight () noexcept
 ウィンドウ作成ウィンドウ垂直サイズ取得関数 [詳解]
 
virtual HWND GetCreateParent () noexcept
 ウィンドウ作成親ウィンドウハンドル取得関数 [詳解]
 
virtual HMENU GetCreateMenu () noexcept
 ウィンドウ作成メニューハンドル取得関数 [詳解]
 
virtual HINSTANCE GetCreateInstance () noexcept
 ウィンドウ作成アプリケーションインスタンスハンドル取得関数 [詳解]
 
virtual LPVOID GetCreateParam () noexcept
 ウィンドウ作成ウィンドウ作成データ取得関数 [詳解]
 
virtual LRESULT MessageProc () noexcept
 ウィンドウメッセージ処理関数 [詳解]
 
virtual LRESULT DefaultProc () noexcept
 デフォルトメッセージ処理関数 [詳解]
 
virtual LRESULT WmUser () noexcept
 各種メッセージ処理関数 [詳解]
 
virtual LRESULT WmCreate () noexcept
 
virtual LRESULT WmDestroy () noexcept
 
virtual LRESULT WmMove () noexcept
 
virtual LRESULT WmActivate () noexcept
 
virtual LRESULT WmEnable () noexcept
 
virtual LRESULT WmSetRedraw () noexcept
 
virtual LRESULT WmSetText () noexcept
 
virtual LRESULT WmGetText () noexcept
 
virtual LRESULT WmGetTextLength () noexcept
 
virtual LRESULT WmClose () noexcept
 
virtual LRESULT WmQueryEndSession () noexcept
 
virtual LRESULT WmQueryOpen () noexcept
 
virtual LRESULT WmEndSession () noexcept
 
virtual LRESULT WmQuit () noexcept
 
virtual LRESULT WmEraseBkGnd () noexcept
 
virtual LRESULT WmSysColorChange () noexcept
 
virtual LRESULT WmShowWindow () noexcept
 
virtual LRESULT WmWinIniChange () noexcept
 
virtual LRESULT WmDevModeChange () noexcept
 
virtual LRESULT WmActivateApp () noexcept
 
virtual LRESULT WmFontChange () noexcept
 
virtual LRESULT WmTimeChange () noexcept
 
virtual LRESULT WmCancelMode () noexcept
 
virtual LRESULT WmMouseActivate () noexcept
 
virtual LRESULT WmChildActivate () noexcept
 
virtual LRESULT WmQueueSync () noexcept
 
virtual LRESULT WmGetMinMaxInfo () noexcept
 
virtual LRESULT WmPaintIcon () noexcept
 
virtual LRESULT WmIconEraseBkGnd () noexcept
 
virtual LRESULT WmNextDlgCtl () noexcept
 
virtual LRESULT WmSpoolerStatus () noexcept
 
virtual LRESULT WmMeasureItem () noexcept
 
virtual LRESULT WmDeleteItem () noexcept
 
virtual LRESULT WmVKeyToItem () noexcept
 
virtual LRESULT WmCharToItem () noexcept
 
virtual LRESULT WmSetFont () noexcept
 
virtual LRESULT WmGetFont () noexcept
 
virtual LRESULT WmSetHotKey () noexcept
 
virtual LRESULT WmGetHotKey () noexcept
 
virtual LRESULT WmQueryDragIcon () noexcept
 
virtual LRESULT WmCompareItem () noexcept
 
virtual LRESULT WmGetObject () noexcept
 
virtual LRESULT WmCompacting () noexcept
 
virtual LRESULT WmCommNotify () noexcept
 
virtual LRESULT WmWindowPosChanging () noexcept
 
virtual LRESULT WmWindowPosChanged () noexcept
 
virtual LRESULT WmPower () noexcept
 
virtual LRESULT WmCopyData () noexcept
 
virtual LRESULT WmCancelJournal () noexcept
 
virtual LRESULT WmNotify () noexcept
 
virtual LRESULT WmInputLangChangeRequest () noexcept
 
virtual LRESULT WmInputLangChange () noexcept
 
virtual LRESULT WmTCard () noexcept
 
virtual LRESULT WmHelp () noexcept
 
virtual LRESULT WmUserChanged () noexcept
 
virtual LRESULT WmNotifyFormat () noexcept
 
virtual LRESULT WmStyleChanging () noexcept
 
virtual LRESULT WmStyleChanged () noexcept
 
virtual LRESULT WmDisplayChange () noexcept
 
virtual LRESULT WmGetIcon () noexcept
 
virtual LRESULT WmSetIcon () noexcept
 
virtual LRESULT WmNcCreate () noexcept
 
virtual LRESULT WmNcDestroy () noexcept
 
virtual LRESULT WmNcCalcSize () noexcept
 
virtual LRESULT WmNcHitTest () noexcept
 
virtual LRESULT WmNcPaint () noexcept
 
virtual LRESULT WmNcActivate () noexcept
 
virtual LRESULT WmGetDlgCode () noexcept
 
virtual LRESULT WmSyncPaint () noexcept
 
virtual LRESULT WmNcMouseMove () noexcept
 
virtual LRESULT WmNcLButtonDown () noexcept
 
virtual LRESULT WmNcLButtonUp () noexcept
 
virtual LRESULT WmNcLButtonDblClk () noexcept
 
virtual LRESULT WmNcRButtonDown () noexcept
 
virtual LRESULT WmNcRButtonUp () noexcept
 
virtual LRESULT WmNcRButtonDblClk () noexcept
 
virtual LRESULT WmNcMButtonDown () noexcept
 
virtual LRESULT WmNcMButtonUp () noexcept
 
virtual LRESULT WmNcMButtonDblClk () noexcept
 
virtual LRESULT WmNcXButtonDown () noexcept
 
virtual LRESULT WmNcXButtonUp () noexcept
 
virtual LRESULT WmNcXButtonDblClk () noexcept
 
virtual LRESULT WmInput () noexcept
 
virtual LRESULT WmKeyUp () noexcept
 
virtual LRESULT WmChar () noexcept
 
virtual LRESULT WmDeadChar () noexcept
 
virtual LRESULT WmSysKeyDown () noexcept
 
virtual LRESULT WmSysKeyUp () noexcept
 
virtual LRESULT WmSysChar () noexcept
 
virtual LRESULT WmSysDeadChar () noexcept
 
virtual LRESULT WmUniChar () noexcept
 
virtual LRESULT WmInitDialog () noexcept
 
virtual LRESULT WmSysCommand () noexcept
 
virtual LRESULT WmTimer () noexcept
 
virtual LRESULT WmHScroll () noexcept
 
virtual LRESULT WmVScroll () noexcept
 
virtual LRESULT WmInitMenu () noexcept
 
virtual LRESULT WmInitMenuPopup () noexcept
 
virtual LRESULT WmMenuSelect () noexcept
 
virtual LRESULT WmMenuChar () noexcept
 
virtual LRESULT WmEnterIdle () noexcept
 
virtual LRESULT WmMenuRButtonUp () noexcept
 
virtual LRESULT WmMenuDrag () noexcept
 
virtual LRESULT WmMenuGetObject () noexcept
 
virtual LRESULT WmUnInitMenuPopup () noexcept
 
virtual LRESULT WmMenuCommand () noexcept
 
virtual LRESULT WmChangeUiState () noexcept
 
virtual LRESULT WmUpdateUiState () noexcept
 
virtual LRESULT WmQueryUiState () noexcept
 
virtual LRESULT WmCtlColorMsgBox () noexcept
 
virtual LRESULT WmCtlColorEdit () noexcept
 
virtual LRESULT WmCtlColorListBox () noexcept
 
virtual LRESULT WmCtlColorBtn () noexcept
 
virtual LRESULT WmCtlColorDlg () noexcept
 
virtual LRESULT WmCtlColorScrollBar () noexcept
 
virtual LRESULT WmCtlColorStatic () noexcept
 
virtual LRESULT MnGetHMenu () noexcept
 
virtual LRESULT WmLButtonDblClk () noexcept
 
virtual LRESULT WmRButtonDown () noexcept
 
virtual LRESULT WmRButtonUp () noexcept
 
virtual LRESULT WmRButtonDblClk () noexcept
 
virtual LRESULT WmMButtonDown () noexcept
 
virtual LRESULT WmMButtonUp () noexcept
 
virtual LRESULT WmMButtonDblClk () noexcept
 
virtual LRESULT WmMouseWheel () noexcept
 
virtual LRESULT WmXButtonDown () noexcept
 
virtual LRESULT WmXButtonUp () noexcept
 
virtual LRESULT WmXButtonDblClk () noexcept
 
virtual LRESULT WmParentNotify () noexcept
 
virtual LRESULT WmEnterMenuLoop () noexcept
 
virtual LRESULT WmExitMenuLoop () noexcept
 
virtual LRESULT WmNextMenu () noexcept
 
virtual LRESULT WmSizing () noexcept
 
virtual LRESULT WmCaptureChanged () noexcept
 
virtual LRESULT WmMoving () noexcept
 
virtual LRESULT WmPowerBroadcast () noexcept
 
virtual LRESULT WmDeviceChange () noexcept
 
virtual LRESULT WmMdiCreate () noexcept
 
virtual LRESULT WmMdiDestroy () noexcept
 
virtual LRESULT WmMdiActivate () noexcept
 
virtual LRESULT WmMdiRestore () noexcept
 
virtual LRESULT WmMdiNext () noexcept
 
virtual LRESULT WmMdiMaximize () noexcept
 
virtual LRESULT WmMdiTile () noexcept
 
virtual LRESULT WmMdiCascade () noexcept
 
virtual LRESULT WmMdiIconArrange () noexcept
 
virtual LRESULT WmMdiGetActive () noexcept
 
virtual LRESULT WmMdiSetMenu () noexcept
 
virtual LRESULT WmEnterSizeMove () noexcept
 
virtual LRESULT WmExitSizeMove () noexcept
 
virtual LRESULT WmDropFiles () noexcept
 
virtual LRESULT WmMdiRefreshMenu () noexcept
 
virtual LRESULT WmImeKeyDown () noexcept
 
virtual LRESULT WmImeKeyUp () noexcept
 
virtual LRESULT WmMouseHover () noexcept
 
virtual LRESULT WmMouseLeave () noexcept
 
virtual LRESULT WmNcMouseHover () noexcept
 
virtual LRESULT WmNcMouseLeave () noexcept
 
virtual LRESULT WmCut () noexcept
 
virtual LRESULT WmCopy () noexcept
 
virtual LRESULT WmPaste () noexcept
 
virtual LRESULT WmClear () noexcept
 
virtual LRESULT WmUndo () noexcept
 
virtual LRESULT WmRenderFormat () noexcept
 
virtual LRESULT WmRenderAllFormats () noexcept
 
virtual LRESULT WmDestroyClipboard () noexcept
 
virtual LRESULT WmDrawClipboard () noexcept
 
virtual LRESULT WmPaintClipboard () noexcept
 
virtual LRESULT WmVScrollClipboard () noexcept
 
virtual LRESULT WmSizeClipboard () noexcept
 
virtual LRESULT WmAskCbFormatName () noexcept
 
virtual LRESULT WmChangeCbChain () noexcept
 
virtual LRESULT WmHScrollClipboard () noexcept
 
virtual LRESULT WmQueryNewPalette () noexcept
 
virtual LRESULT WmPaletteIsChanging () noexcept
 
virtual LRESULT WmPaletteChanged () noexcept
 
virtual LRESULT WmHotKey () noexcept
 
virtual LRESULT WmPrint () noexcept
 
virtual LRESULT WmPrintClient () noexcept
 
virtual LRESULT WmAppCommand () noexcept
 
virtual LRESULT WmThemeChanged () noexcept
 
virtual LRESULT WmHandHeldFirst () noexcept
 
virtual LRESULT WmHandHeldLast () noexcept
 
virtual LRESULT WmAfxFirst () noexcept
 
virtual LRESULT WmAfxLast () noexcept
 
virtual LRESULT WmPenWinFirst () noexcept
 
virtual LRESULT WmPenWinLast () noexcept
 
virtual LRESULT EmGetSel () noexcept
 
virtual LRESULT EmSetSel () noexcept
 
virtual LRESULT EmGetRect () noexcept
 
virtual LRESULT EmSetRect () noexcept
 
virtual LRESULT EmSetRectNp () noexcept
 
virtual LRESULT EmScroll () noexcept
 
virtual LRESULT EmLineScroll () noexcept
 
virtual LRESULT EmScrollCaret () noexcept
 
virtual LRESULT EmGetModify () noexcept
 
virtual LRESULT EmSetModify () noexcept
 
virtual LRESULT EmGetLineCount () noexcept
 
virtual LRESULT EmLineIndex () noexcept
 
virtual LRESULT EmSetHandle () noexcept
 
virtual LRESULT EmGetHandle () noexcept
 
virtual LRESULT EmGetThumb () noexcept
 
virtual LRESULT EmLineLength () noexcept
 
virtual LRESULT EmReplaceSel () noexcept
 
virtual LRESULT EmGetLine () noexcept
 
virtual LRESULT EmLimitText () noexcept
 
virtual LRESULT EmCanUndo () noexcept
 
virtual LRESULT EmUndo () noexcept
 
virtual LRESULT EmFmtLines () noexcept
 
virtual LRESULT EmLineFromChar () noexcept
 
virtual LRESULT EmSetTabStops () noexcept
 
virtual LRESULT EmSetPasswordChar () noexcept
 
virtual LRESULT EmEmptyUndoBuffer () noexcept
 
virtual LRESULT EmGetFirstVisibleLine () noexcept
 
virtual LRESULT EmSetReadOnly () noexcept
 
virtual LRESULT EmSetWordBreakProc () noexcept
 
virtual LRESULT EmGetWordBreakProc () noexcept
 
virtual LRESULT EmGetPasswordChar () noexcept
 
virtual LRESULT EmSetMargins () noexcept
 
virtual LRESULT EmGetMargins () noexcept
 
virtual LRESULT EmGetLimitText () noexcept
 
virtual LRESULT EmPosFromChar () noexcept
 
virtual LRESULT EmCharFromPos () noexcept
 
virtual LRESULT EmSetImeStatus () noexcept
 
virtual LRESULT EmGetImeStatus () noexcept
 
virtual LRESULT EmSetCueBanner () noexcept
 
virtual LRESULT EmGetCueBanner () noexcept
 
virtual LRESULT EmShowBalloonTip () noexcept
 
virtual LRESULT EmHideBalloonTip () noexcept
 
virtual LRESULT BmGetCheck () noexcept
 
virtual LRESULT BmSetCheck () noexcept
 
virtual LRESULT BmGetState () noexcept
 
virtual LRESULT BmSetState () noexcept
 
virtual LRESULT BmSetStyle () noexcept
 
virtual LRESULT BmClick () noexcept
 
virtual LRESULT BmGetImage () noexcept
 
virtual LRESULT BmSetImage () noexcept
 
virtual LRESULT LbAddString () noexcept
 
virtual LRESULT LbInsertString () noexcept
 
virtual LRESULT LbDeleteString () noexcept
 
virtual LRESULT LbSelItemRangeEx () noexcept
 
virtual LRESULT LbResetContent () noexcept
 
virtual LRESULT LbSetSel () noexcept
 
virtual LRESULT LbSetCurSel () noexcept
 
virtual LRESULT LbGetSel () noexcept
 
virtual LRESULT LbGetCurSel () noexcept
 
virtual LRESULT LbGetText () noexcept
 
virtual LRESULT LbGetTextLen () noexcept
 
virtual LRESULT LbGetCount () noexcept
 
virtual LRESULT LbSelectString () noexcept
 
virtual LRESULT LbDir () noexcept
 
virtual LRESULT LbGetTopIndex () noexcept
 
virtual LRESULT LbFindString () noexcept
 
virtual LRESULT LbGetSelCount () noexcept
 
virtual LRESULT LbGetSelItems () noexcept
 
virtual LRESULT LbSetTabStops () noexcept
 
virtual LRESULT LbGetHorizontalExtent () noexcept
 
virtual LRESULT LbSetHorizontalExtent () noexcept
 
virtual LRESULT LbSetColumnWidth () noexcept
 
virtual LRESULT LbAddFile () noexcept
 
virtual LRESULT LbSetTopIndex () noexcept
 
virtual LRESULT LbGetItemRect () noexcept
 
virtual LRESULT LbGetItemData () noexcept
 
virtual LRESULT LbSetItemData () noexcept
 
virtual LRESULT LbSelItemRange () noexcept
 
virtual LRESULT LbSetAnchorIndex () noexcept
 
virtual LRESULT LbGetAnchorIndex () noexcept
 
virtual LRESULT LbSetCaretIndex () noexcept
 
virtual LRESULT LbGetCaretIndex () noexcept
 
virtual LRESULT LbSetItemHeight () noexcept
 
virtual LRESULT LbGetItemHeight () noexcept
 
virtual LRESULT LbFindStringExact () noexcept
 
virtual LRESULT LbSetLocale () noexcept
 
virtual LRESULT LbGetLocale () noexcept
 
virtual LRESULT LbSetCount () noexcept
 
virtual LRESULT LbInitStorage () noexcept
 
virtual LRESULT LbItemFromPoint () noexcept
 
virtual LRESULT LbGetListBoxInfo () noexcept
 
virtual LRESULT LbMsgMax () noexcept
 
virtual LRESULT CbGetEditSel () noexcept
 
virtual LRESULT CbLimitText () noexcept
 
virtual LRESULT CbSetEditSel () noexcept
 
virtual LRESULT CbAddString () noexcept
 
virtual LRESULT CbDeleteString () noexcept
 
virtual LRESULT CbDir () noexcept
 
virtual LRESULT CbGetCount () noexcept
 
virtual LRESULT CbGetCurSel () noexcept
 
virtual LRESULT CbGetLbText () noexcept
 
virtual LRESULT CbGetLbTextLen () noexcept
 
virtual LRESULT CbInsertString () noexcept
 
virtual LRESULT CbResetContent () noexcept
 
virtual LRESULT CbFindString () noexcept
 
virtual LRESULT CbSelectString () noexcept
 
virtual LRESULT CbSetCurSel () noexcept
 
virtual LRESULT CbShowDropDown () noexcept
 
virtual LRESULT CbGetItemData () noexcept
 
virtual LRESULT CbSetItemData () noexcept
 
virtual LRESULT CbGetDroppedControlRect () noexcept
 
virtual LRESULT CbSetItemHeight () noexcept
 
virtual LRESULT CbGetItemHeight () noexcept
 
virtual LRESULT CbSetExtendedUi () noexcept
 
virtual LRESULT CbGetExtendedUi () noexcept
 
virtual LRESULT CbGetDroppedState () noexcept
 
virtual LRESULT CbFindStringExact () noexcept
 
virtual LRESULT CbSetLocale () noexcept
 
virtual LRESULT CbGetLocale () noexcept
 
virtual LRESULT CbGetTopIndex () noexcept
 
virtual LRESULT CbSetTopIndex () noexcept
 
virtual LRESULT CbGetHorizontalExtent () noexcept
 
virtual LRESULT CbSetHorizontalExtent () noexcept
 
virtual LRESULT CbGetDroppedWidth () noexcept
 
virtual LRESULT CbSetDroppedWidth () noexcept
 
virtual LRESULT CbInitStorage () noexcept
 
virtual LRESULT CbGetComboBoxInfo () noexcept
 
virtual LRESULT CbMsgMax () noexcept
 
virtual LRESULT CbSetMinVisible () noexcept
 
virtual LRESULT CbGetMinVisible () noexcept
 
virtual LRESULT DmGetDefId () noexcept
 
virtual LRESULT DmSetDefId () noexcept
 
virtual LRESULT DmReposition () noexcept
 
virtual LRESULT SbmSetPos () noexcept
 
virtual LRESULT SbmGetPos () noexcept
 
virtual LRESULT SbmSetRange () noexcept
 
virtual LRESULT SbmSetRangeRedraw () noexcept
 
virtual LRESULT SbmGetRange () noexcept
 
virtual LRESULT SbmSetScrollInfo () noexcept
 
virtual LRESULT SbmGetScrollInfo () noexcept
 
virtual LRESULT SbmGetScrollBarInfo () noexcept
 
virtual LRESULT StmSetIcon () noexcept
 
virtual LRESULT StmGetIcon () noexcept
 
virtual LRESULT StmSetImage () noexcept
 
virtual LRESULT StmGetImage () noexcept
 
virtual LRESULT StmMsgMax () noexcept
 
virtual LRESULT LvmGetBkColor () noexcept
 
virtual LRESULT LvmSetBkColor () noexcept
 
virtual LRESULT LvmGetImageList () noexcept
 
virtual LRESULT LvmSetImageList () noexcept
 
virtual LRESULT LvmGetItemCount () noexcept
 
virtual LRESULT LvmGetItem () noexcept
 
virtual LRESULT LvmSetItem () noexcept
 
virtual LRESULT LvmInsertItem () noexcept
 
virtual LRESULT LvmDeleteItem () noexcept
 
virtual LRESULT LvmDeleteAllItems () noexcept
 
virtual LRESULT LvmGetCallbackMask () noexcept
 
virtual LRESULT LvmSetCallbackMask () noexcept
 
virtual LRESULT LvmGetNextItem () noexcept
 
virtual LRESULT LvmFindItem () noexcept
 
virtual LRESULT LvmGetItemRect () noexcept
 
virtual LRESULT LvmSetItemPosition () noexcept
 
virtual LRESULT LvmGetItemPosition () noexcept
 
virtual LRESULT LvmGetStringWidth () noexcept
 
virtual LRESULT LvmHitTest () noexcept
 
virtual LRESULT LvmEnsureVisible () noexcept
 
virtual LRESULT LvmScroll () noexcept
 
virtual LRESULT LvmRedrawItems () noexcept
 
virtual LRESULT LvmArrange () noexcept
 
virtual LRESULT LvmEditLabel () noexcept
 
virtual LRESULT LvmGetEditControl () noexcept
 
virtual LRESULT LvmGetColumn () noexcept
 
virtual LRESULT LvmSetColumn () noexcept
 
virtual LRESULT LvmInsertColumn () noexcept
 
virtual LRESULT LvmDeleteColumn () noexcept
 
virtual LRESULT LvmGetColumnWidth () noexcept
 
virtual LRESULT LvmSetColumnWidth () noexcept
 
virtual LRESULT LvmGetHeader () noexcept
 
virtual LRESULT LvmCreateDragImage () noexcept
 
virtual LRESULT LvmGetViewRect () noexcept
 
virtual LRESULT LvmGetTextColor () noexcept
 
virtual LRESULT LvmSetTextColor () noexcept
 
virtual LRESULT LvmGetTextBkColor () noexcept
 
virtual LRESULT LvmSetTextBkColor () noexcept
 
virtual LRESULT LvmGetTopIndex () noexcept
 
virtual LRESULT LvmGetCountPerPage () noexcept
 
virtual LRESULT LvmGetOrigin () noexcept
 
virtual LRESULT LvmUpdate () noexcept
 
virtual LRESULT LvmSetItemState () noexcept
 
virtual LRESULT LvmGetItemState () noexcept
 
virtual LRESULT LvmGetItemText () noexcept
 
virtual LRESULT LvmSetItemText () noexcept
 
virtual LRESULT LvmSetItemCount () noexcept
 
virtual LRESULT LvmSortItems () noexcept
 
virtual LRESULT LvmSetItemPosition32 () noexcept
 
virtual LRESULT LvmGetSelectedCount () noexcept
 
virtual LRESULT LvmGetItemSpacing () noexcept
 
virtual LRESULT LvmGetIsearchString () noexcept
 
virtual LRESULT LvmSetIconSpacing () noexcept
 
virtual LRESULT LvmSetExtendedListViewStyle () noexcept
 
virtual LRESULT LvmGetExtendedListViewStyle () noexcept
 
virtual LRESULT LvmGetSubItemRect () noexcept
 
virtual LRESULT LvmSubItemHitTest () noexcept
 
virtual LRESULT LvmSetColumnOrderArray () noexcept
 
virtual LRESULT LvmGetColumnOrderArray () noexcept
 
virtual LRESULT LvmSetHotItem () noexcept
 
virtual LRESULT LvmGetHotItem () noexcept
 
virtual LRESULT LvmSetHotCursor () noexcept
 
virtual LRESULT LvmGetHotCursor () noexcept
 
virtual LRESULT LvmApproximateViewRect () noexcept
 
virtual LRESULT LvmSetWorkAreas () noexcept
 
virtual LRESULT LvmGetWorkAreas () noexcept
 
virtual LRESULT LvmGetNumberOfWorkAreas () noexcept
 
virtual LRESULT LvmGetSelectionMark () noexcept
 
virtual LRESULT LvmSetSelectionMark () noexcept
 
virtual LRESULT LvmSetHoverTime () noexcept
 
virtual LRESULT LvmGetHoverTime () noexcept
 
virtual LRESULT LvmSetToolTips () noexcept
 
virtual LRESULT LvmGetToolTips () noexcept
 
virtual LRESULT LvmSortItemsEx () noexcept
 
virtual LRESULT LvmSetBkImage () noexcept
 
virtual LRESULT LvmGetBkImage () noexcept
 
virtual LRESULT LvmSetSelectedColumn () noexcept
 
virtual LRESULT LvmSetView () noexcept
 
virtual LRESULT LvmGetView () noexcept
 
virtual LRESULT LvmInsertGroup () noexcept
 
virtual LRESULT LvmSetGroupInfo () noexcept
 
virtual LRESULT LvmGetGroupInfo () noexcept
 
virtual LRESULT LvmRemoveGroup () noexcept
 
virtual LRESULT LvmMoveGroup () noexcept
 
virtual LRESULT LvmMoveItemToGroup () noexcept
 
virtual LRESULT LvmSetGroupMetrics () noexcept
 
virtual LRESULT LvmGetGroupMetrics () noexcept
 
virtual LRESULT LvmEnableGroupView () noexcept
 
virtual LRESULT LvmSortGroups () noexcept
 
virtual LRESULT LvmInsertGroupSorted () noexcept
 
virtual LRESULT LvmRemoveAllGroups () noexcept
 
virtual LRESULT LvmHasGroup () noexcept
 
virtual LRESULT LvmSetTileViewInfo () noexcept
 
virtual LRESULT LvmGetTileViewInfo () noexcept
 
virtual LRESULT LvmSetTileInfo () noexcept
 
virtual LRESULT LvmGetTileInfo () noexcept
 
virtual LRESULT LvmSetInsertMark () noexcept
 
virtual LRESULT LvmGetInsertMark () noexcept
 
virtual LRESULT LvmInsertMarkHitTest () noexcept
 
virtual LRESULT LvmGetInsertMarkRect () noexcept
 
virtual LRESULT LvmSetInsertMarkColor () noexcept
 
virtual LRESULT LvmGetInsertMarkColor () noexcept
 
virtual LRESULT LvmSetInfoTip () noexcept
 
virtual LRESULT LvmGetSelectedColumn () noexcept
 
virtual LRESULT LvmIsGroupViewEnabled () noexcept
 
virtual LRESULT LvmGetOutLineColor () noexcept
 
virtual LRESULT LvmSetOutLineColor () noexcept
 
virtual LRESULT LvmCanceledItLabel () noexcept
 
virtual LRESULT LvmMapIndexToId () noexcept
 
virtual LRESULT LvmMapIdToIndex () noexcept
 
virtual LRESULT TvmInsertItem () noexcept
 
virtual LRESULT TvmDeleteItem () noexcept
 
virtual LRESULT TvmExpand () noexcept
 
virtual LRESULT TvmGetItemRect () noexcept
 
virtual LRESULT TvmGetCount () noexcept
 
virtual LRESULT TvmGetIndent () noexcept
 
virtual LRESULT TvmSetIndent () noexcept
 
virtual LRESULT TvmGetImageList () noexcept
 
virtual LRESULT TvmSetImageList () noexcept
 
virtual LRESULT TvmGetNextItem () noexcept
 
virtual LRESULT TvmSelectItem () noexcept
 
virtual LRESULT TvmGetItem () noexcept
 
virtual LRESULT TvmSetItem () noexcept
 
virtual LRESULT TvmEditLabel () noexcept
 
virtual LRESULT TvmGetEditControl () noexcept
 
virtual LRESULT TvmGetVisibleCount () noexcept
 
virtual LRESULT TvmHitTest () noexcept
 
virtual LRESULT TvmCreateDragImage () noexcept
 
virtual LRESULT TvmSortChildren () noexcept
 
virtual LRESULT TvmEnsureVisible () noexcept
 
virtual LRESULT TvmSortChildrenCb () noexcept
 
virtual LRESULT TvmEndEditLabelNow () noexcept
 
virtual LRESULT TvmGetIsEarchString () noexcept
 
virtual LRESULT TvmSetToolTips () noexcept
 
virtual LRESULT TvmGetToolTips () noexcept
 
virtual LRESULT TvmSetInsertMark () noexcept
 
virtual LRESULT TvmSetItemHeight () noexcept
 
virtual LRESULT TvmGetItemHeight () noexcept
 
virtual LRESULT TvmSetBkColor () noexcept
 
virtual LRESULT TvmSetTextColor () noexcept
 
virtual LRESULT TvmGetBkColor () noexcept
 
virtual LRESULT TvmGetTextColor () noexcept
 
virtual LRESULT TvmSetScrollTime () noexcept
 
virtual LRESULT TvmGetScrollTime () noexcept
 
virtual LRESULT TvmSetInsertMarkColor () noexcept
 
virtual LRESULT TvmGetInsertMarkColor () noexcept
 
virtual LRESULT TvmGetItemState () noexcept
 
virtual LRESULT TvmSetLineColor () noexcept
 
virtual LRESULT TvmGetLineColor () noexcept
 
virtual LRESULT TvmMapAccidToHtreeItem () noexcept
 
virtual LRESULT TvmMapHtreeItemToAccid () noexcept
 
virtual LRESULT HdmGetItemCount () noexcept
 
virtual LRESULT HdmInsertItem () noexcept
 
virtual LRESULT HdmDeleteItem () noexcept
 
virtual LRESULT HdmGetItem () noexcept
 
virtual LRESULT HdmSetItem () noexcept
 
virtual LRESULT HdmLayout () noexcept
 
virtual LRESULT HdmHitTest () noexcept
 
virtual LRESULT HdmGetItemRect () noexcept
 
virtual LRESULT HdmSetImageList () noexcept
 
virtual LRESULT HdmGetImageList () noexcept
 
virtual LRESULT HdmOrderToIndex () noexcept
 
virtual LRESULT HdmCreateDragImage () noexcept
 
virtual LRESULT HdmGetOrderArray () noexcept
 
virtual LRESULT HdmSetOrderArray () noexcept
 
virtual LRESULT HdmSetHotDivider () noexcept
 
virtual LRESULT HdmSetBitmapMargin () noexcept
 
virtual LRESULT HdmGetBitmapMargin () noexcept
 
virtual LRESULT HdmSetFilterChangeTimeout () noexcept
 
virtual LRESULT HdmEditFilter () noexcept
 
virtual LRESULT HdmClearFilter () noexcept
 
virtual LRESULT TcmGetImageList () noexcept
 
virtual LRESULT TcmSetImageList () noexcept
 
virtual LRESULT TcmGetItemCount () noexcept
 
virtual LRESULT TcmGetItem () noexcept
 
virtual LRESULT TcmSetItem () noexcept
 
virtual LRESULT TcmInsertItem () noexcept
 
virtual LRESULT TcmDeleteItem () noexcept
 
virtual LRESULT TcmDeleteAllItems () noexcept
 
virtual LRESULT TcmGetItemRect () noexcept
 
virtual LRESULT TcmGetCurSel () noexcept
 
virtual LRESULT TcmSetCurSel () noexcept
 
virtual LRESULT TcmHitTest () noexcept
 
virtual LRESULT TcmSetItemExtra () noexcept
 
virtual LRESULT TcmAdjustRect () noexcept
 
virtual LRESULT TcmSetItemSize () noexcept
 
virtual LRESULT TcmRemoveImage () noexcept
 
virtual LRESULT TcmSetPadding () noexcept
 
virtual LRESULT TcmGetRowCount () noexcept
 
virtual LRESULT TcmGetToolTips () noexcept
 
virtual LRESULT TcmSetToolTips () noexcept
 
virtual LRESULT TcmGetCurFocus () noexcept
 
virtual LRESULT TcmSetCurFocus () noexcept
 
virtual LRESULT TcmSetMinTabWidth () noexcept
 
virtual LRESULT TcmDeselectAll () noexcept
 
virtual LRESULT TcmHighlightItem () noexcept
 
virtual LRESULT TcmSetExtendedStyle () noexcept
 
virtual LRESULT TcmGetExtendedStyle () noexcept
 
virtual LRESULT PgmSetChild () noexcept
 
virtual LRESULT PgmRecalcSize () noexcept
 
virtual LRESULT PgmForwardMouse () noexcept
 
virtual LRESULT PgmSetBkColor () noexcept
 
virtual LRESULT PgmGetBkColor () noexcept
 
virtual LRESULT PgmSetBorder () noexcept
 
virtual LRESULT PgmGetBorder () noexcept
 
virtual LRESULT PgmSetPos () noexcept
 
virtual LRESULT PgmGetPos () noexcept
 
virtual LRESULT PgmSetButtonSize () noexcept
 
virtual LRESULT PgmGetButtonSize () noexcept
 
virtual LRESULT PgmGetButtonState () noexcept
 
virtual LRESULT BcmGetIdealSize () noexcept
 
virtual LRESULT BcmSetImageList () noexcept
 
virtual LRESULT BcmGetImageList () noexcept
 
virtual LRESULT BcmSetTextMargin () noexcept
 
virtual LRESULT BcmGetTextMargin () noexcept
 
virtual LRESULT CcmSetBkColor () noexcept
 
virtual LRESULT CcmSetColorScheme () noexcept
 
virtual LRESULT CcmGetColorScheme () noexcept
 
virtual LRESULT CcmGetDropTarget () noexcept
 
virtual LRESULT CcmSetUnicodeFormat () noexcept
 
virtual LRESULT CcmGetUnicodeFormat () noexcept
 
virtual LRESULT CcmSetVersion () noexcept
 
virtual LRESULT CcmGetVersion () noexcept
 
virtual LRESULT CcmSetNotifyWindow () noexcept
 
virtual LRESULT CcmSetWindowTheme () noexcept
 
virtual LRESULT CcmDpiScale () noexcept
 
virtual LRESULT EnMsgFilter () noexcept
 
virtual LRESULT EnRequestResize () noexcept
 
virtual LRESULT EnSelChange () noexcept
 
virtual LRESULT EnDropFiles () noexcept
 
virtual LRESULT EnProtected () noexcept
 
virtual LRESULT EnCorrectText () noexcept
 
virtual LRESULT EnStopNoUndo () noexcept
 
virtual LRESULT EnImeChange () noexcept
 
virtual LRESULT EnSaveClipboard () noexcept
 
virtual LRESULT EnOleOpFailed () noexcept
 
virtual LRESULT EnObjectPositions () noexcept
 
virtual LRESULT EnLink () noexcept
 
virtual LRESULT EnDragDropDone () noexcept
 
virtual LRESULT EnParagraphExpanded () noexcept
 
virtual LRESULT EnPageChange () noexcept
 
virtual LRESULT EnLowFiRtf () noexcept
 
virtual LRESULT EnAlignLtr () noexcept
 
virtual LRESULT EnAlignRtl () noexcept
 
virtual LRESULT LvnItemChanging () noexcept
 
virtual LRESULT LvnItemChanged () noexcept
 
virtual LRESULT LvnInsertItem () noexcept
 
virtual LRESULT LvnDeleteItem () noexcept
 
virtual LRESULT LvnDeleteallItems () noexcept
 
virtual LRESULT LvnBeginLabelEdit () noexcept
 
virtual LRESULT LvnEndLabelEdit () noexcept
 
virtual LRESULT LvnColumnClick () noexcept
 
virtual LRESULT LvnBeginDrag () noexcept
 
virtual LRESULT LvnBeginrDrag () noexcept
 
virtual LRESULT LvnOdCacheHint () noexcept
 
virtual LRESULT LvnOdFindItem () noexcept
 
virtual LRESULT LvnItemActivate () noexcept
 
virtual LRESULT LvnOdStateChanged () noexcept
 
virtual LRESULT LvnHotTrack () noexcept
 
virtual LRESULT LvnGetDispInfo () noexcept
 
virtual LRESULT LvnSetDispInfo () noexcept
 
virtual LRESULT LvnKeyDown () noexcept
 
virtual LRESULT LvnMarqueeBegin () noexcept
 
virtual LRESULT LvnGetInfoTip () noexcept
 
virtual LRESULT LvnBeginScroll () noexcept
 
virtual LRESULT LvnEndScroll () noexcept
 
virtual LRESULT HdnItemChanging () noexcept
 
virtual LRESULT HdnItemChanged () noexcept
 
virtual LRESULT HdnItemClick () noexcept
 
virtual LRESULT HdnItemDblClick () noexcept
 
virtual LRESULT HdnDividerDblClick () noexcept
 
virtual LRESULT HdnBeginTrack () noexcept
 
virtual LRESULT HdnEndTrack () noexcept
 
virtual LRESULT HdnTrack () noexcept
 
virtual LRESULT HdnGetDispInfo () noexcept
 
virtual LRESULT HdnBeginDrag () noexcept
 
virtual LRESULT HdnEndDrag () noexcept
 
virtual LRESULT HdnFilterChange () noexcept
 
virtual LRESULT HdnFilterBtnClick () noexcept
 
virtual LRESULT TvnSelChanging () noexcept
 
virtual LRESULT TvnSelChanged () noexcept
 
virtual LRESULT TvnGetDispInfo () noexcept
 
virtual LRESULT TvnSetDispInfo () noexcept
 
virtual LRESULT TvnItemExpanding () noexcept
 
virtual LRESULT TvnItemExpanded () noexcept
 
virtual LRESULT TvnBeginDrag () noexcept
 
virtual LRESULT TvnBeginrDrag () noexcept
 
virtual LRESULT TvnDeleteItem () noexcept
 
virtual LRESULT TvnBeginLabelEdit () noexcept
 
virtual LRESULT TvnEndLabelEdit () noexcept
 
virtual LRESULT TvnKeyDown () noexcept
 
virtual LRESULT TvnGetInfoTip () noexcept
 
virtual LRESULT TvnSingleExpand () noexcept
 
virtual LRESULT TtnGetDispInfo () noexcept
 
virtual LRESULT TtnShow () noexcept
 
virtual LRESULT TtnPop () noexcept
 
virtual LRESULT TtnLinkClick () noexcept
 
virtual LRESULT TcnKeyDown () noexcept
 
virtual LRESULT TcnSelChange () noexcept
 
virtual LRESULT TcnSelChanging () noexcept
 
virtual LRESULT TcnGetObject () noexcept
 
virtual LRESULT TcnFocusChange () noexcept
 
virtual LRESULT TbnGetButtonInfo () noexcept
 
virtual LRESULT TbnBeginDrag () noexcept
 
virtual LRESULT TbnEndDrag () noexcept
 
virtual LRESULT TbnBeginAdjust () noexcept
 
virtual LRESULT TbnEndAdjust () noexcept
 
virtual LRESULT TbnReset () noexcept
 
virtual LRESULT TbnQueryInsert () noexcept
 
virtual LRESULT TbnQueryDelete () noexcept
 
virtual LRESULT TbnToolbarChange () noexcept
 
virtual LRESULT TbnCustHelp () noexcept
 
virtual LRESULT TbnDropDown () noexcept
 
virtual LRESULT TbnGetObject () noexcept
 
virtual LRESULT TbnHotItemChange () noexcept
 
virtual LRESULT TbnDragOut () noexcept
 
virtual LRESULT TbnDeletingButton () noexcept
 
virtual LRESULT TbnGetDispInfo () noexcept
 
virtual LRESULT TbnGetInfotip () noexcept
 
virtual LRESULT TbnRestore () noexcept
 
virtual LRESULT TbnSave () noexcept
 
virtual LRESULT TbnInitCustomize () noexcept
 
virtual LRESULT UdnDeltaPos () noexcept
 
virtual LRESULT McnSelChange () noexcept
 
virtual LRESULT McnGetDayState () noexcept
 
virtual LRESULT McnSelect () noexcept
 
virtual LRESULT DtnDateTimeChange () noexcept
 
virtual LRESULT DtnUserString () noexcept
 
virtual LRESULT DtnWmKeyDown () noexcept
 
virtual LRESULT DtnFormat () noexcept
 
virtual LRESULT DtnFormatQuery () noexcept
 
virtual LRESULT DtnDropDown () noexcept
 
virtual LRESULT DtnCloseUp () noexcept
 
virtual LRESULT RbnHeightChange () noexcept
 
virtual LRESULT RbnGetObject () noexcept
 
virtual LRESULT RbnLayoutChanged () noexcept
 
virtual LRESULT RbnAutoSize () noexcept
 
virtual LRESULT RbnBeginDrag () noexcept
 
virtual LRESULT RbnEndDrag () noexcept
 
virtual LRESULT RbnDeletingBand () noexcept
 
virtual LRESULT RbnDeletedBand () noexcept
 
virtual LRESULT RbnChildSize () noexcept
 
virtual LRESULT RbnChevronPushed () noexcept
 
virtual LRESULT RbnMinMax () noexcept
 
virtual LRESULT RbnAutoBreak () noexcept
 
virtual LRESULT IpnFieldChanged () noexcept
 
virtual LRESULT SbnSimpleModeChange () noexcept
 
virtual LRESULT PgnScroll () noexcept
 
virtual LRESULT PgnCalcSize () noexcept
 
virtual LRESULT PgnHotItemChange () noexcept
 
virtual LRESULT BcnHotItemChange () noexcept
 
virtual LRESULT CbenGetDispInfo () noexcept
 
virtual LRESULT CbenInsertItem () noexcept
 
virtual LRESULT CbenDeleteItem () noexcept
 
virtual LRESULT CbenBeginEdit () noexcept
 
virtual LRESULT CbenEndEdit () noexcept
 
virtual LRESULT CbenDragBegin () noexcept
 
virtual LRESULT NmOutOfMemory () noexcept
 
virtual LRESULT NmClick () noexcept
 
virtual LRESULT NmDblClk () noexcept
 
virtual LRESULT NmReturn () noexcept
 
virtual LRESULT NmRClick () noexcept
 
virtual LRESULT NmRDblClk () noexcept
 
virtual LRESULT NmSetFocus () noexcept
 
virtual LRESULT NmKillFocus () noexcept
 
virtual LRESULT NmCustomDraw () noexcept
 
virtual LRESULT NmHover () noexcept
 
virtual LRESULT NmNcHitTest () noexcept
 
virtual LRESULT NmKeyDown () noexcept
 
virtual LRESULT NmReleasedCapture () noexcept
 
virtual LRESULT NmSetCursor () noexcept
 
virtual LRESULT NmChar () noexcept
 
virtual LRESULT NmToolTipsCreated () noexcept
 
virtual LRESULT NmLDown () noexcept
 
virtual LRESULT NmRDown () noexcept
 
virtual LRESULT NmThemeChanged () noexcept
 
virtual LRESULT BnClicked () noexcept
 
virtual LRESULT BnPaint () noexcept
 
virtual LRESULT BnHilite () noexcept
 
virtual LRESULT BnUnHilite () noexcept
 
virtual LRESULT BnDisable () noexcept
 
virtual LRESULT BnDoubleClicked () noexcept
 
virtual LRESULT BnSetFocus () noexcept
 
virtual LRESULT BnKillFocus () noexcept
 
virtual LRESULT BnPushed () noexcept
 
virtual LRESULT BnUnPushed () noexcept
 
virtual LRESULT BnDblClk () noexcept
 
virtual LRESULT EnSetFocus () noexcept
 
virtual LRESULT EnKillFocus () noexcept
 
virtual LRESULT EnChange () noexcept
 
virtual LRESULT EnUpdate () noexcept
 
virtual LRESULT EnErrSpace () noexcept
 
virtual LRESULT EnMaxText () noexcept
 
virtual LRESULT EnHScroll () noexcept
 
virtual LRESULT EnVScroll () noexcept
 
virtual LRESULT LbnErrSpace () noexcept
 
virtual LRESULT LbnSelChange () noexcept
 
virtual LRESULT LbnDblClk () noexcept
 
virtual LRESULT LbnSelCancel () noexcept
 
virtual LRESULT LbnSetFocus () noexcept
 
virtual LRESULT LbnKillFocus () noexcept
 
virtual LRESULT CbnErrSpace () noexcept
 
virtual LRESULT CbnSelChange () noexcept
 
virtual LRESULT CbnDblClk () noexcept
 
virtual LRESULT CbnSetFocus () noexcept
 
virtual LRESULT CbnKillFocus () noexcept
 
virtual LRESULT CbnEditChange () noexcept
 
virtual LRESULT CbnEditUpdate () noexcept
 
virtual LRESULT CbnDropDown () noexcept
 
virtual LRESULT CbnCloseUp () noexcept
 
virtual LRESULT CbnSelEndOk () noexcept
 
virtual LRESULT CbnSelEndCancel () noexcept
 
virtual LRESULT StnDblClk () noexcept
 
virtual LRESULT StnEnable () noexcept
 
virtual LRESULT StnDisable () noexcept
 
virtual LRESULT ScSize () noexcept
 
virtual LRESULT ScMove () noexcept
 
virtual LRESULT ScMinimize () noexcept
 
virtual LRESULT ScMaximize () noexcept
 
virtual LRESULT ScNextWindow () noexcept
 
virtual LRESULT ScPrevWindow () noexcept
 
virtual LRESULT ScClose () noexcept
 
virtual LRESULT ScVScroll () noexcept
 
virtual LRESULT ScHScroll () noexcept
 
virtual LRESULT ScMouseMenu () noexcept
 
virtual LRESULT ScKeyMenu () noexcept
 
virtual LRESULT ScArrange () noexcept
 
virtual LRESULT ScRestore () noexcept
 
virtual LRESULT ScTaskList () noexcept
 
virtual LRESULT ScScreenSave () noexcept
 
virtual LRESULT ScHotKey () noexcept
 
virtual LRESULT ScDefault () noexcept
 
virtual LRESULT ScMonitorPower () noexcept
 
virtual LRESULT ScContextHelp () noexcept
 
virtual LRESULT ScSeparator () noexcept
 
virtual LRESULT TbLineUp () noexcept
 
virtual LRESULT TbLineDown () noexcept
 
virtual LRESULT TbPageUp () noexcept
 
virtual LRESULT TbPageDown () noexcept
 
virtual LRESULT TbThumbPosition () noexcept
 
virtual LRESULT TbThumbTrack () noexcept
 
virtual LRESULT TbTop () noexcept
 
virtual LRESULT TbBottom () noexcept
 
virtual LRESULT TbEndTrack () noexcept
 
virtual LRESULT HsbLineLeft () noexcept
 
virtual LRESULT HsbLineRight () noexcept
 
virtual LRESULT HsbPageLeft () noexcept
 
virtual LRESULT HsbPageRight () noexcept
 
virtual LRESULT HsbThumbPosition () noexcept
 
virtual LRESULT HsbThumbTrack () noexcept
 
virtual LRESULT HsbLeft () noexcept
 
virtual LRESULT HsbRight () noexcept
 
virtual LRESULT HsbEndScroll () noexcept
 
virtual LRESULT VsbLineUp () noexcept
 
virtual LRESULT VsbLineDown () noexcept
 
virtual LRESULT VsbPageUp () noexcept
 
virtual LRESULT VsbPageDown () noexcept
 
virtual LRESULT VsbThumbPosition () noexcept
 
virtual LRESULT VsbThumbTrack () noexcept
 
virtual LRESULT VsbTop () noexcept
 
virtual LRESULT VsbBottom () noexcept
 
virtual LRESULT VsbEndScroll () noexcept
 
virtual LRESULT CommonCtrlProc () noexcept
 コモンコントロールメッセージ処理関数 [詳解]
 
virtual bool SubtractChildRect (HWND hChild, RECT &rsRect) noexcept
 子ウィンドウ表示領域減算関数 [詳解]
 

静的公開メンバ関数

static HWND CreateSizeBar (HWND hParent) noexcept
 サイズバーコントロール作成関数 [詳解]
 
- 基底クラス LibWindow::CWndBase に属する継承静的公開メンバ関数
static LRESULT CALLBACK WndCallBackProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) noexcept
 ウィンドウメッセージコールバック関数 [詳解]
 
static CWndBaseGetBaseWindow (HWND hWnd, bool bStrict=true) noexcept
 基本ウィンドウクラスインスタンス取得関数 [詳解]
 
static bool IsWndClassStrict (HWND hWnd) noexcept
 基本ウィンドウクラス厳密判定関数 [詳解]
 
static bool GetBaseClassName (HWND hWnd, wchar_t *pszBuffer, int nSize) noexcept
 基底ウィンドウクラス名取得関数 [詳解]
 
static HWND GetTopLevelWindow (HWND hWnd) noexcept
 最上位ウィンドウ取得関数 [詳解]
 
static int GetChildWindowCount (HWND hWnd) noexcept
 子ウィンドウ数取得関数 [詳解]
 
static int GetWindowOrder (HWND hWnd) noexcept
 ウィンドウオーダー番号取得関数 [詳解]
 
static BOOL CALLBACK EnumChildCallBack (HWND hWnd, LPARAM lParam) noexcept
 子ウィンドウ列挙コールバック関数 [詳解]
 

静的公開変数類

static EPartitionPos const PARTITION_POS = EPartitionPos::Left
 パーティション配置位置デフォルト値 [詳解]
 
static int const PARTITION_SIZE = 200
 パーティションサイズデフォルト値 [詳解]
 
static wchar_t const *const KEY_PARTITION_POS = L"パーティション配置位置"
 パーティション配置位置キー文字列 [詳解]
 
static wchar_t const *const KEY_PARTITION_SIZE = L"パーティションサイズ"
 パーティションサイズキー文字列 [詳解]
 

限定公開変数類

HWND m_hSizeBarImage
 サイズバーイメージコントロールハンドル [詳解]
 
POINT m_sPoint
 カーソル座標 [詳解]
 
CWndElementm_pcElement
 エレメントウィンドウポインタ [詳解]
 
int m_nSize
 保存パーティションサイズ [詳解]
 
int m_nMinSize
 最小パーティションサイズ [詳解]
 
int m_nMaxSize
 最大パーティションサイズ [詳解]
 
- 基底クラス LibWindow::CWndContainer に属する継承限定公開変数類
CWndList m_cElementList
 エレメントウィンドウリスト [詳解]
 
CWndElement *(* m_pfnCreateElement )()
 新規エレメントウィンドウ作成関数ポインタ [詳解]
 
wchar_t const * m_pszElementName
 エレメントウィンドウ名 [詳解]
 
bool m_bFocusElement
 エレメントウィンドウフォーカス有効フラグ [詳解]
 
- 基底クラス LibWindow::CWndPane に属する継承限定公開変数類
bool m_bShow
 ウィンドウ表示フラグ [詳解]
 
- 基底クラス LibWindow::CWndBase に属する継承限定公開変数類
HWND m_hWnd
 ウィンドウハンドル [詳解]
 
UINT m_uMsg
 メッセージID [詳解]
 
WPARAM m_wParam
 メッセージ第1引数 [詳解]
 
LPARAM m_lParam
 メッセージ第2引数 [詳解]
 
WNDPROC m_lpfnBaseWndProc
 基底ウィンドウクラスウィンドウプロシージャアドレス [詳解]
 

静的限定公開変数類

static BYTE const TRANS_SIZEBAR_IMAGE = 96
 サイズバーイメージ透明度 [詳解]
 
static int const SIZEBAR_THICK = 4
 サイズバー太さ [詳解]
 
static COLORREF const COLOR_SIZEBAR = RGB( 240, 240, 240 )
 サイズバー色 [詳解]
 
static COLORREF const COLOR_SIZEBAR_BORDER = RGB( 108, 94, 79 )
 サイズバーボーダー色 [詳解]
 
- 基底クラス LibWindow::CWndContainer に属する継承静的限定公開変数類
static wchar_t const *const KEY_FOCUS_ELEMENT = L"エレメントウィンドウフォーカス有効"
 エレメントウィンドウフォーカス有効状態キー文字列 [詳解]
 
- 基底クラス LibWindow::CWndPane に属する継承静的限定公開変数類
static bool s_bShowDebugInfo = false
 デバッグ情報表示フラグ [詳解]
 
static bool s_bDrawDoubleBuffer = false
 ダブルバッファリング描画フラグ [詳解]
 
static bool s_bResizePartitionRealTime = false
 リアルタイムパーティションサイズ変更フラグ [詳解]
 
static HMENU s_hContextMenu = nullptr
 コンテキストメニューハンドル [詳解]
 
static HWND s_hFocus = nullptr
 フォーカスウィンドウ保存ハンドル [詳解]
 
static int const MIN_WIDTH = 24
 最小水平サイズ [詳解]
 
static int const MIN_HEIGHT = 24
 最小垂直サイズ [詳解]
 
static wchar_t const *const KEY_WINDOW_TITLE = L"ウィンドウタイトル"
 ウィンドウタイトルキー文字列 [詳解]
 
static wchar_t const *const KEY_SHOW = L"ウィンドウ表示フラグ"
 ウィンドウ表示フラグキー文字列 [詳解]
 
static wchar_t const *const KEY_FOCUS_ORDER = L"フォーカスウィンドウオーダー番号"
 フォーカスウィンドウオーダー番号キー文字列 [詳解]
 

非公開メンバ関数

 CWndPartition (CWndPartition const &)=delete
 
CWndPartitionoperator= (CWndPartition const &)=delete
 

その他の継承メンバ

- 基底クラス LibWindow::CWndBase に属する継承限定公開型
enum  EEnumChildType { EEnumChildType::Invalid, EEnumChildType::GetCount, EEnumChildType::GetOrder, EEnumChildType::Size }
 子ウィンドウ列挙種別列挙体 [詳解]
 

詳解

パーティションウィンドウクラス

パーティションウィンドウクラスです。

注意
抽象クラスです。

CWndPartition.h31 行目に定義があります。

構築子と解体子

LibWindow::CWndPartition::CWndPartition ( CWndElement *(*)()  pfnCreateElement,
wchar_t const *  pszElementName 
)
explicitnoexcept

コンストラクタ

コンストラクタです。

引数
[in]pfnCreateElement新規エレメントウィンドウ作成関数ポインタ
[in]pszElementNameエレメントウィンドウ名
戻り値
なし
注意
なし

CWndPartition.cpp40 行目に定義があります。

42  : CWndContainer( pfnCreateElement, pszElementName )
43  // メンバ変数初期化
44  , m_hSizeBarImage( nullptr )
45  , m_sPoint()
46  , m_pcElement( nullptr )
47  , m_nSize( 0 )
48  , m_nMinSize( 0 )
49  , m_nMaxSize( 0 )
50  {}
CWndElement * m_pcElement
エレメントウィンドウポインタ
CWndContainer(CWndElement *(*pfnCreateElement)(), wchar_t const *pszElementName) noexcept
コンストラクタ
int m_nMaxSize
最大パーティションサイズ
int m_nMinSize
最小パーティションサイズ
POINT m_sPoint
カーソル座標
int m_nSize
保存パーティションサイズ
HWND m_hSizeBarImage
サイズバーイメージコントロールハンドル
virtual LibWindow::CWndPartition::~CWndPartition ( )
inlinevirtualnoexcept

デストラクタ

デストラクタです。

引数
なし
戻り値
なし
注意
なし

CWndPartition.h68 行目に定義があります。

68 {}
LibWindow::CWndPartition::CWndPartition ( CWndPartition const &  )
privatedelete

関数詳解

virtual bool LibWindow::CWndPartition::IsPartition ( ) const
inlineoverridevirtualnoexcept

パーティションウィンドウ判別関数

パーティションウィンドウ判別関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndPaneを再実装しています。

CWndPartition.h84 行目に定義があります。

84 { return true; }
virtual CWndDocumentTab* LibWindow::CWndPartition::GetDocumentTab ( )
inlinevirtualnoexcept

ドキュメントタブウィンドウ取得関数

ドキュメントタブウィンドウ取得関数です。

引数
なし
戻り値
ドキュメントタブウィンドウポインタ
注意
なし

LibWindow::CWndOverlapで再実装されています。

CWndPartition.h95 行目に定義があります。

参照元 AppendDebugMenu(), BeginMoveSizeBar(), CanDeleteChildWindow(), DeleteChildAll(), GetChildPaneInfo(), GetMinPartitionSize(), GetMinSize(), GetOrderIndex(), GetOrderPane(), GetPaintRect(), InitConfig(), ResumeConfig(), SaveConfig(), ShowChildAll(), UpdateClientRectAll(), WmSetFocus(), WmSize() (計17項目).

95 { return nullptr; }

被呼び出し関係図:

bool LibWindow::CWndPartition::Create ( HWND  hParent = nullptr,
HMENU  hMenu = nullptr 
)
overridevirtualnoexcept

ウィンドウ作成関数

ウィンドウ作成関数です。

引数
[in]hParent親ウィンドウハンドル
[in]hMenuメニューハンドル
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndDockingPartition, LibWindow::CWndOverlap, LibWindow::CWndMainで再実装されています。

CWndPartition.cpp56 行目に定義があります。

参照先 LibWindow::CWndContainer::Create().

参照元 LibWindow::CWndOverlap::Create(), LibWindow::CWndDockingPartition::Create().

56  {
57  // 処理ブロック
58  bool result = false;
59  do {
60  // 基底クラスの関数を実行する
61  if ( !CWndContainer::Create( hParent, hMenu ) ) {
62  // 失敗!
63  break;
64  }
65  // サイズバーイメージコントロールを作成する
66  else if ( !CreateSizeBarImageControl() ) {
67  // 失敗!
68  break;
69  }
70 
71  // 成功!
72  result = true;
73  } while ( false );
74 
75  // 実行結果を返す
76  return result;
77  }
virtual bool CreateSizeBarImageControl() noexcept
サイズバーイメージコントロール作成関数
virtual bool Create(HWND hParent=nullptr, HMENU hMenu=nullptr) noexcept override
ウィンドウ作成関数

呼び出し関係図:

被呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmSize ( )
overridevirtualnoexcept

各種メッセージ処理関数

各種メッセージ処理関数です。

引数
なし
戻り値
メッセージ終了コード
注意
オーバライド関数です。

LibWindow::CWndBaseを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp81 行目に定義があります。

参照先 LibWindow::Bottom, LibCommon::CArray< Type >::GetCount(), GetDocumentTab(), LibWindow::CWndBase::GetHandle(), LibWindow::CWndPane::GetMinHeight(), GetMinSize(), LibWindow::CWndPane::GetMinWidth(), GetPartitionClientRect(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::CWndPane::GetPartitionSize(), LibWindow::CWndPane::GetSizeBar(), LibWindow::Invalid, LibWindow::CWndPane::IsShow(), LibWindow::Left, LibWindow::CWndContainer::m_cElementList, LibWindow::CWndBase::m_hWnd, LibWindow::Right, SIZEBAR_THICK, LibWindow::CWndBase::SubtractChildRect(), LibWindow::Top (計20項目).

参照元 LibWindow::CWndMain::WmSize().

81  {
82  // 処理ブロック
83  LRESULT result = 0;
84  do {
85  // ウィンドウ表示状態を調べる
86  if ( 0 == ::IsWindowVisible( m_hWnd ) ) {
87  // 終了!
88  break;
89  }
90 
91  // パーティション表示クライアント領域を取得する
92  RECT sClientRect;
93  if ( !GetPartitionClientRect( sClientRect ) || ( 0 != ::IsRectEmpty( &sClientRect ) ) ) {
94  // 終了!
95  break;
96  }
97 
98  // ドキュメントタブウィンドウを取得する
99  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
100  if ( nullptr != pcDocumentTab ) {
101  // ウィンドウ表示フラグを調べる
102  if ( !pcDocumentTab->IsShow() ) {
103  // ドキュメントタブウィンドウを隠す
104  ::ShowWindow( pcDocumentTab->GetHandle(), SW_HIDE );
105 
106  // ドキュメントタブウィンドウポインタをクリアする
107  pcDocumentTab = nullptr;
108  }
109  }
110 
111  // 巡回する
112  for ( int nIndex = 0, nCount = m_cElementList.GetCount(); nCount > nIndex; ++nIndex ) {
113  // エレメントウィンドウを取得する
114  CWndElement* pcElement = m_cElementList[ nIndex ];
115  if ( nullptr != pcElement ) {
116  // サイズバーコントロールを取得する
117  HWND hSizeBar = pcElement->GetSizeBar();
118 
119  // ウィンドウ表示フラグを調べる
120  if ( !pcElement->IsShow() ) {
121  // エレメントウィンドウを隠す
122  ::ShowWindow( pcElement->GetHandle(), SW_HIDE );
123 
124  // サイズバーコントロールを隠す
125  ::ShowWindow( hSizeBar, SW_HIDE );
126  }
127  else {
128  // パーティション配置位置を取得する
129  EPartitionPos ePos = GetPartitionPos( pcElement );
130 
131  // ドキュメントタブウィンドウポインタを調べる
132  if ( nullptr == pcDocumentTab ) {
133  // 巡回する
134  for ( int nIndex2 = ( nIndex + 1 );; ++nIndex2 ) {
135  // インデックスを調べる
136  if ( nCount <= nIndex2 ) {
137  // パーティション配置位置を無効化する
138  ePos = EPartitionPos::Invalid;
139 
140  // サイズバーコントロールを隠す
141  ::ShowWindow( hSizeBar, SW_HIDE );
142 
143  // 終了!
144  break;
145  }
146 
147  // エレメントウィンドウを取得する
148  CWndElement* pcElement = m_cElementList[ nIndex2 ];
149  if ( nullptr != pcElement ) {
150  // ウィンドウ表示フラグを調べる
151  if ( pcElement->IsShow() ) {
152  // 終了!
153  break;
154  }
155  }
156  }
157  }
158 
159  // ウィンドウ表示位置を取得する
160  int nLeft = sClientRect.left;
161  int nTop = sClientRect.top;
162  int nWidth = ( sClientRect.right - nLeft );
163  int nHeight = ( sClientRect.bottom - nTop );
164 
165  // パーティションサイズを取得する
166  int nSize = pcElement->GetPartitionSize();
167 
168  // 最小サイズを取得する
169  int nMinWidth = pcElement->GetMinWidth();
170  int nMinHeight = pcElement->GetMinHeight();
171 
172  // 残り必要最小サイズを取得する
173  SIZE sMinSize = {};
174  GetMinSize( sMinSize, ( nIndex + 1 ) );
175 
176  // 最大サイズを取得する
177  int nMaxWidth = ( nWidth - sMinSize.cx );
178  int nMaxHeight = ( nHeight - sMinSize.cy );
179 
180  // パーティション配置位置を調べる
181  switch ( ePos ) {
182  case EPartitionPos::Left: // 左側
183  case EPartitionPos::Right: // 右側
184  // 最大水平サイズを更新する
185  nMaxWidth -= SIZEBAR_THICK;
186  break;
187  case EPartitionPos::Top: // 上側
188  case EPartitionPos::Bottom: // 下側
189  // 最大垂直サイズを更新する
190  nMaxHeight -= SIZEBAR_THICK;
191  break;
192  }
193 
194  // 最大水平サイズを調べる
195  if ( nMinWidth > nMaxWidth ) {
196  // 最大水平サイズを更新する
197  nMaxWidth = nMinWidth;
198  }
199 
200  // 最大垂直サイズを調べる
201  if ( nMinHeight > nMaxHeight ) {
202  // 最大垂直サイズを更新する
203  nMaxHeight = nMinHeight;
204  }
205 
206  // パーティション配置位置を調べる
207  switch ( ePos ) {
208  case EPartitionPos::Left: // 左側
209  case EPartitionPos::Right: // 右側
210  // 水平サイズを取得する
211  nWidth = nSize;
212 
213  // 最小水平サイズを調べる
214  if ( nMinWidth > nWidth ) {
215  // 水平サイズを更新する
216  nWidth = nMinWidth;
217  }
218  // 最大水平サイズを調べる
219  else if ( nMaxWidth < nWidth ) {
220  // 水平サイズを更新する
221  nWidth = nMaxWidth;
222  }
223  break;
224  case EPartitionPos::Top: // 上側
225  case EPartitionPos::Bottom: // 下側
226  // 垂直サイズを取得する
227  nHeight = nSize;
228 
229  // 最小垂直サイズを調べる
230  if ( nMinHeight > nHeight ) {
231  // 垂直サイズを更新する
232  nHeight = nMinHeight;
233  }
234  // 最大垂直サイズを調べる
235  else if ( nMaxHeight < nHeight ) {
236  // 垂直サイズを更新する
237  nHeight = nMaxHeight;
238  }
239  break;
240  }
241 
242  // パーティション配置位置を調べる
243  switch ( ePos ) {
244  case EPartitionPos::Right: // 右側
245  // 水平座標を取得する
246  nLeft = ( sClientRect.right - nWidth );
247  break;
248  case EPartitionPos::Bottom: // 下側
249  // 垂直座標を取得する
250  nTop = ( sClientRect.bottom - nHeight );
251  break;
252  }
253 
254  // エレメントウィンドウを表示する
255  ::SetWindowPos( pcElement->GetHandle(), HWND_TOP, nLeft, nTop, nWidth, nHeight, ( SWP_NOACTIVATE | SWP_SHOWWINDOW ) );
256  ::UpdateWindow( pcElement->GetHandle() );
257 
258  // クライアント描画領域から減算する
259  SubtractChildRect( pcElement->GetHandle(), sClientRect );
260 
261  // パーティション配置位置を調べる
262  if ( EPartitionPos::Invalid != ePos ) {
263  // ウィンドウ表示位置を取得する
264  int nLeft = sClientRect.left;
265  int nTop = sClientRect.top;
266  int nWidth = ( sClientRect.right - nLeft );
267  int nHeight = ( sClientRect.bottom - nTop );
268 
269  // パーティション配置位置を調べる
270  switch ( ePos ) {
271  case EPartitionPos::Left: // 左側
272  // 水平サイズを取得する
273  nWidth = SIZEBAR_THICK;
274  break;
275  case EPartitionPos::Top: // 上側
276  // 垂直サイズを取得する
277  nHeight = SIZEBAR_THICK;
278  break;
279  case EPartitionPos::Right: // 右側
280  // 水平サイズを取得する
281  nWidth = SIZEBAR_THICK;
282 
283  // 水平座標を取得する
284  nLeft = ( sClientRect.right - nWidth );
285  break;
286  case EPartitionPos::Bottom: // 下側
287  // 垂直サイズを取得する
288  nHeight = SIZEBAR_THICK;
289 
290  // 垂直座標を取得する
291  nTop = ( sClientRect.bottom - nHeight );
292  break;
293  }
294 
295  // サイズバーコントロールを表示する
296  ::SetWindowPos( hSizeBar, HWND_TOP, nLeft, nTop, nWidth, nHeight, ( SWP_NOACTIVATE | SWP_SHOWWINDOW ) );
297  ::UpdateWindow( hSizeBar );
298 
299  // クライアント描画領域から減算する
300  SubtractChildRect( hSizeBar, sClientRect );
301  }
302  }
303  }
304  }
305 
306  // ドキュメントタブウィンドウポインタを調べる
307  if ( nullptr != pcDocumentTab ) {
308  // ウィンドウ表示位置を取得する
309  int nLeft = sClientRect.left;
310  int nTop = sClientRect.top;
311  int nWidth = ( sClientRect.right - nLeft );
312  int nHeight = ( sClientRect.bottom - nTop );
313 
314  // ドキュメントタブウィンドウを表示する
315  ::SetWindowPos( pcDocumentTab->GetHandle(), HWND_TOP, nLeft, nTop, nWidth, nHeight, ( SWP_NOACTIVATE | SWP_SHOWWINDOW ) );
316  ::UpdateWindow( pcDocumentTab->GetHandle() );
317  }
318  } while ( false );
319 
320  // 実行結果を返す
321  return result;
322  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool GetMinSize(SIZE &rsSizen, int nStart=0) noexcept
最小サイズ取得関数
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
virtual bool SubtractChildRect(HWND hChild, RECT &rsRect) noexcept
子ウィンドウ表示領域減算関数
Definition: CWndBase.cpp:1425
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
static int const SIZEBAR_THICK
サイズバー太さ
CWndList m_cElementList
エレメントウィンドウリスト
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
virtual bool GetPartitionClientRect(RECT &rsRect) noexcept
パーティション表示クライアント領域取得関数
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

被呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmSetFocus ( )
overridevirtualnoexcept

各種メッセージ処理関数

各種メッセージ処理関数です。

引数
なし
戻り値
メッセージ終了コード
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp326 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndBase::GetHandle(), LibWindow::CWndPane::IsShow(), LibWindow::CWndContainer::m_bFocusElement, LibWindow::CWndBase::m_hWnd, LibWindow::CWndContainer::WmSetFocus().

参照元 LibWindow::CWndMain::WmSetFocus().

326  {
327  // 処理ブロック
328  LRESULT result = 0;
329  do {
330  // キャプチャウィンドウを調べる
331  if ( m_hWnd == ::GetCapture() ) {
332  // 終了!
333  break;
334  }
335 
336  // ドキュメントタブウィンドウを取得する
337  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
338  if ( nullptr != pcDocumentTab ) {
339  // ウィンドウ表示フラグを調べる
340  if ( pcDocumentTab->IsShow() ) {
341  // エレメントウィンドウフォーカス有効状態を調べる
342  if ( !m_bFocusElement ) {
343  // フォーカスウィンドウを設定する
344  ::SetFocus( pcDocumentTab->GetHandle() );
345 
346  // 終了!
347  break;
348  }
349  }
350  }
351 
352  // 基底クラスの関数を実行する
353  result = CWndContainer::WmSetFocus();
354  } while ( false );
355 
356  // 実行結果を返す
357  return result;
358  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
bool m_bFocusElement
エレメントウィンドウフォーカス有効フラグ
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
virtual LRESULT WmSetFocus() noexcept override
各種メッセージ処理関数

呼び出し関係図:

被呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmDrawItem ( )
overridevirtualnoexcept

LibWindow::CWndBaseを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp362 行目に定義があります。

参照先 DrawSizeBar(), LibCommon::CArray< Type >::GetCount(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::CWndPane::GetSizeBar(), LibWindow::CWndContainer::m_cElementList, LibWindow::CWndBase::m_lParam.

参照元 LibWindow::CWndMain::WmDrawItem().

362  {
363  // 処理ブロック
364  LRESULT result = 0;
365  do {
366  // 描画アイテム構造体を取得する
367  LPDRAWITEMSTRUCT lpDraw = reinterpret_cast< LPDRAWITEMSTRUCT >( m_lParam );
368 
369  // 巡回する
370  for ( int nIndex = 0, nCount = m_cElementList.GetCount(); nCount > nIndex; ++nIndex ) {
371  // エレメントウィンドウを取得する
372  CWndElement* pcElement = m_cElementList[ nIndex ];
373  if ( nullptr != pcElement ) {
374  // サイズバーコントロールを取得する
375  HWND hSizeBar = pcElement->GetSizeBar();
376  if ( hSizeBar == lpDraw->hwndItem ) {
377  // サイズバーコントロールを描画する
378  DrawSizeBar( lpDraw, GetPartitionPos( pcElement ) );
379 
380  // 終了!
381  break;
382  }
383  }
384  }
385  } while ( false );
386 
387  // 実行結果を返す
388  return result;
389  }
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
CWndList m_cElementList
エレメントウィンドウリスト
LPARAM m_lParam
メッセージ第2引数
Definition: CWndBase.h:1542
virtual bool DrawSizeBar(LPDRAWITEMSTRUCT lpDraw, EPartitionPos ePos) noexcept
サイズバーコントロール描画関数
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

被呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmSetCursor ( )
overridevirtualnoexcept

LibWindow::CWndBaseを再実装しています。

CWndPartition.cpp393 行目に定義があります。

参照先 LibWindow::Bottom, LibCommon::CArray< Type >::GetCount(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::CWndPane::GetSizeBar(), LibWindow::Left, LibWindow::CWndContainer::m_cElementList, LibWindow::CWndBase::m_wParam, LibWindow::Right, LibWindow::Top, LibWindow::CWndBase::WmSetCursor().

393  {
394  // 処理ブロック
395  LRESULT result = 0;
396  do {
397  // コントロールハンドルを取得する
398  HWND hCtrl = reinterpret_cast< HWND >( m_wParam );
399 
400  // 巡回する
401  for ( int nIndex = 0, nCount = m_cElementList.GetCount(); nCount > nIndex; ++nIndex ) {
402  // エレメントウィンドウを取得する
403  CWndElement* pcElement = m_cElementList[ nIndex ];
404  if ( nullptr != pcElement ) {
405  // コントロールハンドルを調べる
406  HWND hSizeBar = pcElement->GetSizeBar();
407  if ( hCtrl == hSizeBar ) {
408  // パーティション配置位置種別を調べる
409  EPartitionPos ePos = GetPartitionPos( pcElement );
410  switch ( ePos ) {
411  case EPartitionPos::Left: // 左端
412  case EPartitionPos::Right: // 右端
413  // 左右サイズ変更カーソル形状にする
414  ::SetCursor( ::LoadCursorW( nullptr, IDC_SIZEWE ) );
415 
416  // 成功!
417  result = TRUE;
418  break;
419  case EPartitionPos::Top: // 上端
420  case EPartitionPos::Bottom: // 下端
421  // 上下サイズ変更カーソル形状にする
422  ::SetCursor( ::LoadCursorW( nullptr, IDC_SIZENS ) );
423 
424  // 成功!
425  result = TRUE;
426  break;
427  }
428 
429  // 終了!
430  break;
431  }
432  }
433  }
434 
435  // 実行結果を調べる
436  if ( TRUE != result ) {
437  // 基底クラスの関数を実行する
438  result = CWndContainer::WmSetCursor();
439  }
440  } while ( false );
441 
442  // 実行結果を返す
443  return result;
444  }
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
CWndList m_cElementList
エレメントウィンドウリスト
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
WPARAM m_wParam
メッセージ第1引数
Definition: CWndBase.h:1541
virtual LRESULT WmSetCursor() noexcept
Definition: CWndBase.h:592
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

LRESULT LibWindow::CWndPartition::StnClicked ( )
overridevirtualnoexcept

LibWindow::CWndBaseを再実装しています。

CWndPartition.cpp448 行目に定義があります。

参照先 BeginMoveSizeBar(), LibCommon::CArray< Type >::GetCount(), LibWindow::CWndPane::GetSizeBar(), LibWindow::CWndContainer::m_cElementList, LibWindow::CWndBase::m_lParam.

448  {
449  // 処理ブロック
450  LRESULT result = 0;
451  do {
452  // コントロールハンドルを取得する
453  HWND hCtrl = reinterpret_cast< HWND >( m_lParam );
454 
455  // 巡回する
456  for ( int nIndex = 0, nCount = m_cElementList.GetCount(); nCount > nIndex; ++nIndex ) {
457  // エレメントウィンドウを取得する
458  CWndElement* pcElement = m_cElementList[ nIndex ];
459  if ( nullptr != pcElement ) {
460  // コントロールハンドルを調べる
461  HWND hSizeBar = pcElement->GetSizeBar();
462  if ( hCtrl == hSizeBar ) {
463  // サイズバー移動を開始する
464  BeginMoveSizeBar( pcElement );
465 
466  // 終了!
467  break;
468  }
469  }
470  }
471  } while ( false );
472 
473  // 実行結果を返す
474  return result;
475  }
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
CWndList m_cElementList
エレメントウィンドウリスト
virtual bool BeginMoveSizeBar(CWndElement *pcElement) noexcept
サイズバー移動開始関数
LPARAM m_lParam
メッセージ第2引数
Definition: CWndBase.h:1542
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149

呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmLButtonUp ( )
overridevirtualnoexcept

LibWindow::CWndBaseを再実装しています。

CWndPartition.cpp479 行目に定義があります。

参照先 EndMoveSizeBar(), LibWindow::CWndBase::m_hWnd, LibWindow::CWndBase::WmLButtonUp().

479  {
480  // 処理ブロック
481  LRESULT result = 0;
482  do {
483  // キャプチャウィンドウを調べる
484  if ( m_hWnd == ::GetCapture() ) {
485  // サイズバー移動を終了する
486  EndMoveSizeBar();
487 
488  // 終了!
489  break;
490  }
491 
492  // 基底クラスの関数を実行する
493  result = CWndContainer::WmLButtonUp();
494  } while ( false );
495 
496  // 実行結果を返す
497  return result;
498  }
virtual bool EndMoveSizeBar() noexcept
サイズバー移動終了関数
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
virtual LRESULT WmLButtonUp() noexcept
Definition: CWndBase.h:693

呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmKeyDown ( )
overridevirtualnoexcept

LibWindow::CWndBaseを再実装しています。

CWndPartition.cpp502 行目に定義があります。

参照先 CancelMoveSizeBar(), LibWindow::CWndBase::m_hWnd, LibWindow::CWndBase::m_wParam, LibWindow::CWndBase::WmKeyDown().

502  {
503  // 処理ブロック
504  LRESULT result = 0;
505  do {
506  // キャプチャウィンドウを調べる
507  if ( m_hWnd == ::GetCapture() ) {
508  // 仮想キーコードを調べる
509  int nVirtKey = static_cast< int >( m_wParam );
510  if ( VK_ESCAPE == nVirtKey ) {
511  // サイズバー移動を中止する
513 
514  // 終了!
515  break;
516  }
517  }
518 
519  // 基底クラスの関数を実行する
520  result = CWndContainer::WmKeyDown();
521  } while ( false );
522 
523  // 実行結果を返す
524  return result;
525  }
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
virtual bool CancelMoveSizeBar() noexcept
サイズバー移動中止関数
virtual LRESULT WmKeyDown() noexcept
Definition: CWndBase.h:655
WPARAM m_wParam
メッセージ第1引数
Definition: CWndBase.h:1541

呼び出し関係図:

LRESULT LibWindow::CWndPartition::WmMouseMove ( )
overridevirtualnoexcept

LibWindow::CWndBaseを再実装しています。

CWndPartition.cpp529 行目に定義があります。

参照先 LibWindow::CWndBase::m_hWnd, MoveSizeBar(), LibWindow::CWndBase::WmMouseMove().

529  {
530  // 処理ブロック
531  LRESULT result = 0;
532  do {
533  // キャプチャウィンドウを調べる
534  if ( m_hWnd == ::GetCapture() ) {
535  // サイズバーを移動する
536  MoveSizeBar();
537 
538  // 終了!
539  break;
540  }
541 
542  // 基底クラスの関数を実行する
543  result = CWndContainer::WmMouseMove();
544  } while ( false );
545 
546  // 実行結果を返す
547  return result;
548  }
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
virtual LRESULT WmMouseMove() noexcept
Definition: CWndBase.h:691
virtual bool MoveSizeBar() noexcept
サイズバー移動関数

呼び出し関係図:

bool LibWindow::CWndPartition::InitConfig ( CJsonConfig rcConfig)
overridevirtualnoexcept

ウィンドウ構成情報初期化関数

ウィンドウ構成情報初期化関数です。

引数
[in]rcConfigJSON構成ファイル参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndDockingPartition, LibWindow::CWndMainで再実装されています。

CWndPartition.cpp552 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndDocumentTab::GetSectionName(), LibWindow::CWndContainer::InitConfig().

参照元 LibWindow::CWndMain::InitConfig(), LibWindow::CWndDockingPartition::InitConfig().

552  {
553  // 処理ブロック
554  bool result = false;
555  do {
556  // 基底クラスの関数を実行する
557  if ( !CWndContainer::InitConfig( rcConfig ) ) {
558  // 失敗!
559  break;
560  }
561 
562  // ドキュメントタブウィンドウを取得する
563  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
564  if ( nullptr != pcDocumentTab ) {
565  // ドキュメントタブウィンドウセクションブロック
566  CJsonConfigAuto cConfigAuto( rcConfig, pcDocumentTab->GetSectionName() );
567 
568  // ドキュメントタブウィンドウ構成情報を初期化する
569  if ( !pcDocumentTab->InitConfig( rcConfig ) ) {
570  // 失敗!
571  break;
572  }
573  }
574 
575  // 成功!
576  result = true;
577  } while ( false );
578 
579  // 実行結果を返す
580  return result;
581  }
virtual bool InitConfig(CJsonConfig &rcConfig) noexcept override
ウィンドウ構成情報初期化関数
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::ResumeConfig ( CJsonConfig rcConfig)
overridevirtualnoexcept

ウィンドウ構成情報復元関数

ウィンドウ構成情報復元関数です。

引数
[in]rcConfigJSON構成ファイル参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndOverlap, LibWindow::CWndMainで再実装されています。

CWndPartition.cpp585 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndDocumentTab::GetSectionName(), LibWindow::CWndContainer::ResumeConfig().

参照元 LibWindow::CWndOverlap::ResumeConfig().

585  {
586  // 処理ブロック
587  bool result = false;
588  do {
589  // 基底クラスの関数を実行する
590  if ( !CWndContainer::ResumeConfig( rcConfig ) ) {
591  // 失敗!
592  break;
593  }
594 
595  // ドキュメントタブウィンドウを取得する
596  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
597  if ( nullptr != pcDocumentTab ) {
598  // ドキュメントタブウィンドウセクションブロック
599  CJsonConfigAuto cConfigAuto( rcConfig, pcDocumentTab->GetSectionName() );
600 
601  // ドキュメントタブウィンドウ構成情報を復元する
602  if ( !pcDocumentTab->ResumeConfig( rcConfig ) ) {
603  // 失敗!
604  break;
605  }
606  }
607 
608  // 成功!
609  result = true;
610  } while ( false );
611 
612  // 実行結果を返す
613  return result;
614  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool ResumeConfig(CJsonConfig &rcConfig) noexcept override
ウィンドウ構成情報復元関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::SaveConfig ( CJsonConfig rcConfig)
overridevirtualnoexcept

ウィンドウ構成情報保存関数

ウィンドウ構成情報保存関数です。

引数
[in]rcConfigJSON構成ファイル参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndOverlap, LibWindow::CWndMain, LibWindow::CWndDockingPartitionで再実装されています。

CWndPartition.cpp618 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndDocumentTab::GetSectionName(), LibWindow::CWndContainer::SaveConfig().

参照元 LibWindow::CWndDockingPartition::SaveConfig(), LibWindow::CWndOverlap::SaveConfig().

618  {
619  // 処理ブロック
620  bool result = false;
621  do {
622  // 基底クラスの関数を実行する
623  if ( !CWndContainer::SaveConfig( rcConfig ) ) {
624  // 失敗!
625  break;
626  }
627 
628  // ドキュメントタブウィンドウを取得する
629  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
630  if ( nullptr != pcDocumentTab ) {
631  // ドキュメントタブウィンドウセクションブロック
632  CJsonConfigAuto cConfigAuto( rcConfig, pcDocumentTab->GetSectionName(), true );
633 
634  // ドキュメントタブウィンドウ構成情報を保存する
635  if ( !pcDocumentTab->SaveConfig( rcConfig ) ) {
636  // 失敗!
637  break;
638  }
639  }
640 
641  // 成功!
642  result = true;
643  } while ( false );
644 
645  // 実行結果を返す
646  return result;
647  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool SaveConfig(CJsonConfig &rcConfig) noexcept override
ウィンドウ構成情報保存関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::GetChildPaneInfo ( SChildPaneInfo rsChildInfo)
overridevirtualnoexcept

子ペインウィンドウ情報取得関数

子ペインウィンドウ情報取得関数です。

引数
[in]rsChildInfo子ペインウィンドウ情報構造体参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp651 行目に定義があります。

参照先 CanDeleteChildWindow(), LibWindow::CWndPane::CanHideChildWindow(), LibWindow::CWndContainer::GetChildPaneInfo(), GetDocumentTab(), LibWindow::CWndPane::IsShow().

参照元 LibWindow::CWndMain::GetChildPaneInfo().

651  {
652  // 処理ブロック
653  bool result = false;
654  do {
655  // 基底クラスの関数を実行する
656  if ( !CWndContainer::GetChildPaneInfo( rsChildInfo ) ) {
657  // 失敗!
658  break;
659  }
660 
661  // ドキュメントタブウィンドウを取得する
662  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
663  if ( nullptr != pcDocumentTab ) {
664  // 子ウィンドウ数をインクリメントする
665  ++rsChildInfo.m_nCount;
666 
667  // 表示フラグを調べる
668  if ( pcDocumentTab->IsShow() ) {
669  // 表示状態子ウィンドウ数をインクリメントする
670  ++rsChildInfo.m_nShow;
671  }
672  else {
673  // 非表示状態子ウィンドウ数をインクリメントする
674  ++rsChildInfo.m_nHide;
675  }
676 
677  // 非表示可能状態を調べる
678  if ( CanHideChildWindow( pcDocumentTab ) ) {
679  // 非表示可能状態子ウィンドウ数をインクリメントする
680  ++rsChildInfo.m_nHideable;
681  }
682 
683  // 削除可能状態を調べる
684  if ( CanDeleteChildWindow( pcDocumentTab ) ) {
685  // 削除可能状態子ウィンドウ数をインクリメントする
686  ++rsChildInfo.m_nDeletable;
687  }
688 
689  // 子ペインウィンドウ情報を取得する
690  if ( !pcDocumentTab->GetChildPaneInfo( rsChildInfo ) ) {
691  // 失敗!
692  break;
693  }
694  }
695 
696  // 成功!
697  result = true;
698  } while ( false );
699 
700  // 実行結果を返す
701  return result;
702  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool CanHideChildWindow(CWndPane *pcChild) noexcept
子ウィンドウ非表示可能状態取得関数
Definition: CWndPane.h:490
virtual bool GetChildPaneInfo(SChildPaneInfo &rsChildInfo) noexcept override
子ペインウィンドウ情報取得関数
virtual bool CanDeleteChildWindow(CWndPane *pcChild) noexcept override
子ウィンドウ削除可能状態取得関数

呼び出し関係図:

被呼び出し関係図:

int LibWindow::CWndPartition::GetOrderIndex ( CWndPane pcPane = nullptr,
int *  pnOrder = nullptr 
)
overridevirtualnoexcept

ペインウィンドウオーダー番号取得関数

ペインウィンドウオーダー番号取得関数です。

引数
[in]pcPaneペインウィンドウポインタ
[in,out]pnOrderオーダー番号ポインタ
戻り値
オーダー番号
  • 0以上 成功
  • 0未満 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp706 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndContainer::GetOrderIndex().

参照元 LibWindow::CWndDockingPartition::AppendDebugMenu(), LibWindow::CWndMain::GetOrderIndex().

706  {
707  // 処理ブロック
708  int result = -1;
709  do {
710  // 基底クラスの関数を実行する
711  int nOrder = CWndContainer::GetOrderIndex( pcPane, pnOrder );
712  if ( 0 > nOrder ) {
713  // ドキュメントタブウィンドウを取得する
714  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
715  if ( nullptr != pcDocumentTab ) {
716  // ドキュメントタブウィンドウのオーダー番号を取得する
717  nOrder = pcDocumentTab->GetOrderIndex( pcPane, pnOrder );
718  if ( 0 > nOrder ) {
719  // 失敗!
720  break;
721  }
722  }
723  }
724 
725  // 成功!
726  result = nOrder;
727  } while ( false );
728 
729  // 実行結果を返す
730  return result;
731  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual int GetOrderIndex(CWndPane *pcPane=nullptr, int *pnOrder=nullptr) noexcept override
ペインウィンドウオーダー番号取得関数

呼び出し関係図:

被呼び出し関係図:

CWndPane * LibWindow::CWndPartition::GetOrderPane ( int *  pnOrder)
overridevirtualnoexcept

オーダー番号ペインウィンドウ取得関数

オーダー番号ペインウィンドウ取得関数です。

引数
[in,out]pnOrderオーダー番号ポインタ
戻り値
ペインウィンドウポインタ
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp735 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndContainer::GetOrderPane().

参照元 LibWindow::CWndMain::GetOrderPane().

735  {
736  // 処理ブロック
737  CWndPane* result = nullptr;
738  do {
739  // 基底クラスの関数を実行する
740  CWndPane* pcPane = CWndContainer::GetOrderPane( pnOrder );
741  if ( nullptr == pcPane ) {
742  // ドキュメントタブウィンドウを取得する
743  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
744  if ( nullptr == pcDocumentTab ) {
745  // 失敗!
746  break;
747  }
748 
749  // ドキュメントタブウィンドウのオーダー番号ペインウィンドウを取得する
750  pcPane = pcDocumentTab->GetOrderPane( pnOrder );
751  if ( nullptr == pcPane ) {
752  // 失敗!
753  break;
754  }
755  }
756 
757  // 成功!
758  result = pcPane;
759  } while ( false );
760 
761  // 実行結果を返す
762  return result;
763  }
CWndPane() noexcept
コンストラクタ
Definition: CWndPane.cpp:30
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual CWndPane * GetOrderPane(int *pnOrder) noexcept override
オーダー番号ペインウィンドウ取得関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::ShowChildAll ( bool  bShow)
overridevirtualnoexcept

全子ウィンドウ表示関数

全子ウィンドウ表示関数です。

引数
[in]bShowウィンドウ表示フラグ
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp767 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndContainer::ShowChildAll(), LibWindow::CWndPane::ShowChildWindow().

参照元 LibWindow::CWndMain::ShowChildAll().

767  {
768  // 処理ブロック
769  bool result = false;
770  do {
771  // 基底クラスの関数を実行する
772  if ( !CWndContainer::ShowChildAll( bShow ) ) {
773  // 失敗!
774  break;
775  }
776 
777  // ドキュメントタブウィンドウを取得する
778  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
779  if ( nullptr != pcDocumentTab ) {
780  // ドキュメントタブウィンドウを表示する
781  if ( !ShowChildWindow( pcDocumentTab, bShow ) ) {
782  // 失敗!
783  break;
784  }
785  // ドキュメントタブウィンドウの全子ウィンドウを表示する
786  else if ( !pcDocumentTab->ShowChildAll( bShow ) ) {
787  // 失敗!
788  break;
789  }
790  }
791 
792  // 成功!
793  result = true;
794  } while ( false );
795 
796  // 実行結果を返す
797  return result;
798  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool ShowChildAll(bool bShow) noexcept override
全子ウィンドウ表示関数
virtual bool ShowChildWindow(CWndPane *pcChild, bool bShow) noexcept
子ウィンドウ表示状態設定関数
Definition: CWndPane.cpp:682

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::DeleteChildAll ( )
overridevirtualnoexcept

全子ウィンドウ削除関数

全子ウィンドウ削除関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp802 行目に定義があります。

参照先 LibWindow::CWndContainer::DeleteChildAll(), GetDocumentTab().

参照元 LibWindow::CWndMain::DeleteChildAll().

802  {
803  // 処理ブロック
804  bool result = false;
805  do {
806  // ドキュメントタブウィンドウを取得する
807  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
808  if ( nullptr != pcDocumentTab ) {
809  // ドキュメントタブウィンドウの全子ウィンドウを削除する
810  if ( !pcDocumentTab->DeleteChildAll() ) {
811  // 失敗!
812  break;
813  }
814  }
815 
816  // 基底クラスの関数を実行する
818  } while ( false );
819 
820  // 実行結果を返す
821  return result;
822  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool DeleteChildAll() noexcept override
全子ウィンドウ削除関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::CanDeleteChildWindow ( CWndPane pcChild)
overridevirtualnoexcept

子ウィンドウ削除可能状態取得関数

子ウィンドウ削除可能状態取得関数です。

引数
[in]pcChildペインウィンドウポインタ
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndPaneを再実装しています。

CWndPartition.cpp826 行目に定義があります。

参照先 LibWindow::CWndPane::CanDeleteChildWindow(), GetDocumentTab().

参照元 GetChildPaneInfo().

826  {
827  // 処理ブロック
828  bool result = false;
829  do {
830  // ドキュメントタブウィンドウを取得する
831  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
832  if ( nullptr != pcDocumentTab ) {
833  // 子ペインウィンドウポインタを調べる
834  if ( pcDocumentTab == pcChild ) {
835  // 失敗!
836  break;
837  }
838  }
839 
840  // 基底クラスの関数を実行する
841  result = CWndContainer::CanDeleteChildWindow( pcChild );
842  } while ( false );
843 
844  // 実行結果を返す
845  return result;
846  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool CanDeleteChildWindow(CWndPane *pcChild) noexcept
子ウィンドウ削除可能状態取得関数
Definition: CWndPane.h:503

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::UpdateClientRectAll ( )
overridevirtualnoexcept

全ウィンドウクライアント領域更新関数

全ウィンドウクライアント領域更新関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp850 行目に定義があります。

参照先 GetDocumentTab(), LibWindow::CWndContainer::UpdateClientRectAll().

参照元 LibWindow::CWndMain::UpdateClientRectAll().

850  {
851  // 処理ブロック
852  bool result = false;
853  do {
854  // 基底クラスの関数を実行する
856  // 失敗!
857  break;
858  }
859 
860  // ドキュメントタブウィンドウを取得する
861  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
862  if ( nullptr != pcDocumentTab ) {
863  // 全ウィンドウクライアント領域を更新する
864  pcDocumentTab->UpdateClientRectAll();
865  }
866 
867  // 成功!
868  result = true;
869  } while ( false );
870 
871  // 実行結果を返す
872  return result;
873  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual bool UpdateClientRectAll() noexcept override
全ウィンドウクライアント領域更新関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::GetPaintRect ( RECT &  rsRect)
overridevirtualnoexcept

クライアント描画領域取得関数

クライアント描画領域取得関数です。

引数
[out]rsRect矩形領域参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndPaneを再実装しています。

CWndPartition.cpp877 行目に定義があります。

参照先 LibCommon::CArray< Type >::GetCount(), GetDocumentTab(), LibWindow::CWndBase::GetHandle(), GetPartitionClientRect(), LibWindow::CWndPane::GetSizeBar(), LibWindow::CWndContainer::m_cElementList, LibWindow::CWndBase::SubtractChildRect().

877  {
878  // 処理ブロック
879  bool result = false;
880  do {
881  // パーティション表示クライアント領域を取得する
882  RECT sClientRect;
883  if ( !GetPartitionClientRect( sClientRect ) ) {
884  // 失敗!
885  break;
886  }
887  // 巡回する
888  else for ( int nIndex = 0, nCount = m_cElementList.GetCount();; ++nIndex ) {
889  // インデックスを調べる
890  if ( nCount <= nIndex ) {
891  // ドキュメントタブウィンドウを取得する
892  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
893  if ( nullptr != pcDocumentTab ) {
894  // ドキュメントタブウィンドウ表示状態を調べる
895  if ( 0 != ::IsWindowVisible( pcDocumentTab->GetHandle() ) ) {
896  // ウィンドウ表示領域を減算する
897  if ( !SubtractChildRect( pcDocumentTab->GetHandle(), sClientRect ) ) {
898  // 失敗!
899  break;
900  }
901  }
902  }
903 
904  // クライアント描画領域を取得する
905  rsRect = sClientRect;
906 
907  // 成功!
908  result = true;
909  break;
910  }
911 
912  // エレメントウィンドウを取得する
913  CWndElement* pcElement = m_cElementList[ nIndex ];
914  if ( nullptr != pcElement ) {
915  // ウィンドウ表示状態を調べる
916  if ( 0 != ::IsWindowVisible( pcElement->GetHandle() ) ) {
917  // ウィンドウ表示領域を減算する
918  if ( !SubtractChildRect( pcElement->GetHandle(), sClientRect ) ) {
919  // 失敗!
920  break;
921  }
922 
923  // サイズバーコントロールを取得する
924  HWND hSizeBar = pcElement->GetSizeBar();
925  if ( nullptr != hSizeBar ) {
926  // ウィンドウ表示状態を調べる
927  if ( 0 != ::IsWindowVisible( hSizeBar ) ) {
928  // ウィンドウ表示領域を減算する
929  if ( !SubtractChildRect( hSizeBar, sClientRect ) ) {
930  // 失敗!
931  break;
932  }
933  }
934  }
935  }
936  }
937  }
938  } while ( false );
939 
940  // 実行結果を返す
941  return result;
942  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
virtual bool SubtractChildRect(HWND hChild, RECT &rsRect) noexcept
子ウィンドウ表示領域減算関数
Definition: CWndBase.cpp:1425
CWndList m_cElementList
エレメントウィンドウリスト
virtual bool GetPartitionClientRect(RECT &rsRect) noexcept
パーティション表示クライアント領域取得関数
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149

呼び出し関係図:

int LibWindow::CWndPartition::GetMinWidth ( )
overridevirtualnoexcept

最小水平サイズ取得関数

最小水平サイズ取得関数です。

引数
なし
戻り値
水平サイズ
注意
オーバライド関数です。

LibWindow::CWndPaneを再実装しています。

LibWindow::CWndOverlapで再実装されています。

CWndPartition.cpp946 行目に定義があります。

参照先 GetMinSize(), LibWindow::CWndPane::GetMinWidth().

参照元 LibWindow::CWndOverlap::GetMinWidth().

946  {
947  // 処理ブロック
948  int result = CWndContainer::GetMinWidth();
949  do {
950  // 最小サイズを取得する
951  SIZE sSize;
952  if ( GetMinSize( sSize ) ) {
953  // 最小水平サイズを取得する
954  result = sSize.cx;
955  }
956  } while ( false );
957 
958  // 実行結果を返す
959  return result;
960  }
virtual bool GetMinSize(SIZE &rsSizen, int nStart=0) noexcept
最小サイズ取得関数
virtual int GetMinWidth() noexcept
最小水平サイズ取得関数
Definition: CWndPane.h:620

呼び出し関係図:

被呼び出し関係図:

int LibWindow::CWndPartition::GetMinHeight ( )
overridevirtualnoexcept

最小垂直サイズ取得関数

最小垂直サイズ取得関数です。

引数
なし
戻り値
垂直サイズ
注意
オーバライド関数です。

LibWindow::CWndPaneを再実装しています。

LibWindow::CWndOverlapで再実装されています。

CWndPartition.cpp964 行目に定義があります。

参照先 LibWindow::CWndPane::GetMinHeight(), GetMinSize().

参照元 LibWindow::CWndOverlap::GetMinHeight().

964  {
965  // 処理ブロック
966  int result = CWndContainer::GetMinHeight();
967  do {
968  // 最小サイズを取得する
969  SIZE sSize;
970  if ( GetMinSize( sSize ) ) {
971  // 最小垂直サイズを取得する
972  result = sSize.cy;
973  }
974  } while ( false );
975 
976  // 実行結果を返す
977  return result;
978  }
virtual int GetMinHeight() noexcept
最小垂直サイズ取得関数
Definition: CWndPane.h:631
virtual bool GetMinSize(SIZE &rsSizen, int nStart=0) noexcept
最小サイズ取得関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::AppendDebugMenu ( HMENU  hMenu)
overridevirtualnoexcept

デバッグメニュー追加関数

デバッグメニュー追加関数です。

引数
[in]hMenuメニューハンドル
戻り値
実行結果
  • true 成功
  • false 失敗
注意
オーバライド関数です。

LibWindow::CWndContainerを再実装しています。

LibWindow::CWndMain, LibWindow::CWndDockingPartitionで再実装されています。

CWndPartition.cpp982 行目に定義があります。

参照先 LibWindow::CWndContainer::AppendDebugMenu(), GetDocumentTab(), LibWindow::GetEnableMenuCommandCount(), LibWindow::CWndBase::GetHandle().

参照元 LibWindow::CWndDockingPartition::AppendDebugMenu(), LibWindow::CWndMain::AppendDebugMenu().

982  {
983  // 処理ブロック
984  bool result = false;
985  do {
986  // 基底クラスの関数を実行する
987  if ( !CWndContainer::AppendDebugMenu( hMenu ) ) {
988  // 失敗!
989  break;
990  }
991 
992  // ドキュメントタブウィンドウを取得する
993  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
994  if ( nullptr != pcDocumentTab ) {
995  // サブメニューを作成する
996  HMENU hSubMenu = ::CreatePopupMenu();
997  if ( nullptr == hSubMenu ) {
998  // 失敗!
999  break;
1000  }
1001  // ドキュメントタブウィンドウのデバッグメニューを追加する
1002  else if ( !pcDocumentTab->AppendDebugMenu( hSubMenu ) ) {
1003  // サブメニューを削除する
1004  ::DestroyMenu( hSubMenu );
1005 
1006  // 失敗!
1007  break;
1008  }
1009 
1010  // ウィンドウタイトルを取得する
1011  wchar_t szBuffer[ MAX_PATH ];
1012  ::GetWindowTextW( pcDocumentTab->GetHandle(), szBuffer, MAX_PATH );
1013 
1014  // メニュー項目数を調べる
1015  if ( 0 < ::GetMenuItemCount( hMenu ) ) {
1016  // セパレータを追加する
1017  ::AppendMenuW( hMenu, MF_SEPARATOR, 0, nullptr );
1018  }
1019 
1020  // サブメニューを追加する
1021  ::AppendMenuW( hMenu, MF_POPUP, reinterpret_cast< UINT_PTR >( hSubMenu ), szBuffer );
1022  if ( 0 >= GetEnableMenuCommandCount( hSubMenu ) ) {
1023  // サブメニュー項目を無効化する
1024  ::EnableMenuItem( hMenu, ( ::GetMenuItemCount( hMenu ) - 1 ), ( MF_BYPOSITION | MFS_DISABLED ) );
1025  }
1026  }
1027 
1028  // 成功!
1029  result = true;
1030  } while ( false );
1031 
1032  // 実行結果を返す
1033  return result;
1034  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
LIB_WINDOW_API int GetEnableMenuCommandCount(HMENU hMenu) noexcept
メニューコマンド有効数取得関数
virtual bool AppendDebugMenu(HMENU hMenu) noexcept override
デバッグメニュー追加関数

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::GetPartitionClientRect ( RECT &  rsRect)
virtualnoexcept

パーティション表示クライアント領域取得関数

パーティション表示クライアント領域取得関数です。

引数
[out]rsRect矩形領域参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

LibWindow::CWndMainで再実装されています。

CWndPartition.cpp1038 行目に定義があります。

参照先 LibWindow::CWndBase::m_hWnd.

参照元 BeginMoveSizeBar(), LibWindow::CWndOverlap::GetMinHeight(), LibWindow::CWndOverlap::GetMinWidth(), GetPaintRect(), WmSize().

1038  {
1039  // 処理ブロック
1040  bool result = false;
1041  do {
1042  // クライアント領域を取得する
1043  if ( 0 == ::GetClientRect( m_hWnd, &rsRect ) ) {
1044  // 失敗!
1045  break;
1046  }
1047 
1048  // 成功!
1049  result = true;
1050  } while ( false );
1051 
1052  // 実行結果を返す
1053  return result;
1054  }
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539

被呼び出し関係図:

bool LibWindow::CWndPartition::GetMinSize ( SIZE &  rsSizen,
int  nStart = 0 
)
virtualnoexcept

最小サイズ取得関数

最小サイズ取得関数です。

引数
[out]rsSizeサイズ構造体参照
[in]nStart開始インデックス
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1058 行目に定義があります。

参照先 LibWindow::Bottom, LibCommon::CArray< Type >::GetCount(), GetDocumentTab(), LibWindow::CWndDocumentTab::GetMinHeight(), LibWindow::CWndPane::GetMinHeight(), LibWindow::CWndDocumentTab::GetMinWidth(), LibWindow::CWndPane::GetMinWidth(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::Invalid, LibWindow::CWndPane::IsShow(), LibWindow::Left, LibWindow::CWndContainer::m_cElementList, LibWindow::CWndPane::MIN_HEIGHT, LibWindow::CWndPane::MIN_WIDTH, LibWindow::Right, SIZEBAR_THICK, LibWindow::Top (計17項目).

参照元 GetMinHeight(), GetMinWidth(), WmSize().

1058  {
1059  // 処理ブロック
1060  bool result = false;
1061  do {
1062  // エレメントウィンドウ数を取得する
1063  int nCount = m_cElementList.GetCount();
1064 
1065  // 開始インデックスを調べる
1066  if ( ( 0 > nStart ) || ( nCount < nStart ) ) {
1067  // 失敗!
1068  break;
1069  }
1070 
1071  // ドキュメントタブウィンドウを取得する
1072  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
1073  if ( nullptr != pcDocumentTab ) {
1074  // ウィンドウ表示フラグを調べる
1075  if ( !pcDocumentTab->IsShow() ) {
1076  // ドキュメントタブウィンドウポインタをクリアする
1077  pcDocumentTab = nullptr;
1078  }
1079  }
1080 
1081  // 最小サイズをクリアする
1082  rsSize.cx = 0;
1083  rsSize.cy = 0;
1084 
1085  // パーティション直角配置位置最小サイズを初期化する
1086  int nMinAngleWidth = 0;
1087  int nMinAngleHeight = 0;
1088 
1089  // 開始インデックスを調べる
1090  if ( 0 == nStart ) {
1091  // パーティション直角配置位置最小サイズを設定する
1092  nMinAngleWidth = MIN_WIDTH;
1093  nMinAngleHeight = MIN_HEIGHT;
1094  }
1095 
1096  // 巡回する
1097  for ( int nIndex = nStart; nCount > nIndex; ++nIndex ) {
1098  // エレメントウィンドウを取得する
1099  CWndPane* pcElement = m_cElementList[ nIndex ];
1100  if ( nullptr != pcElement ) {
1101  // ウィンドウ表示フラグを調べる
1102  if ( pcElement->IsShow() ) {
1103  // 最小サイズを取得する
1104  int nMinWidth = pcElement->GetMinWidth();
1105  int nMinHeight = pcElement->GetMinHeight();
1106 
1107  // パーティション配置位置を取得する
1108  EPartitionPos ePos = GetPartitionPos( pcElement );
1109 
1110  // ドキュメントタブウィンドウポインタを調べる
1111  if ( nullptr == pcDocumentTab ) {
1112  // 巡回する
1113  for ( int nIndex2 = ( nIndex + 1 );; ++nIndex2 ) {
1114  // インデックスを調べる
1115  if ( nCount <= nIndex2 ) {
1116  // パーティション配置位置を無効化する
1117  ePos = EPartitionPos::Invalid;
1118 
1119  // 終了!
1120  break;
1121  }
1122 
1123  // エレメントウィンドウを取得する
1124  CWndPane* pcElement2 = m_cElementList[ nIndex2 ];
1125  if ( nullptr != pcElement2 ) {
1126  // ウィンドウ表示フラグを調べる
1127  if ( pcElement2->IsShow() ) {
1128  // 終了!
1129  break;
1130  }
1131  }
1132  }
1133  }
1134 
1135  // パーティション配置位置を調べる
1136  switch ( ePos ) {
1137  case EPartitionPos::Left: // 左側
1138  case EPartitionPos::Right: // 右側
1139  // 最小水平サイズを更新する
1140  rsSize.cx += ( nMinWidth + SIZEBAR_THICK );
1141 
1142  // パーティション直角配置位置最小垂直サイズを更新する
1143  nMinAngleHeight = max( nMinAngleHeight, ( rsSize.cy + nMinHeight ) );
1144  break;
1145  case EPartitionPos::Top: // 上側
1146  case EPartitionPos::Bottom: // 下側
1147  // 最小垂直サイズを更新する
1148  rsSize.cy += ( nMinHeight + SIZEBAR_THICK );
1149 
1150  // パーティション直角配置位置最小水平サイズを更新する
1151  nMinAngleWidth = max( nMinAngleWidth, ( rsSize.cx + nMinWidth ) );
1152  break;
1153  default:
1154  // パーティション直角配置位置最小サイズを更新する
1155  nMinAngleWidth = max( nMinAngleWidth, ( rsSize.cx + nMinWidth ) );
1156  nMinAngleHeight = max( nMinAngleHeight, ( rsSize.cy + nMinHeight ) );
1157  break;
1158  }
1159  }
1160  }
1161  }
1162 
1163  // ドキュメントタブウィンドウポインタを調べる
1164  if ( nullptr != pcDocumentTab ) {
1165  // 最小サイズを取得する
1166  int nMinWidth = pcDocumentTab->GetMinWidth();
1167  int nMinHeight = pcDocumentTab->GetMinHeight();
1168 
1169  // パーティション直角配置位置最小サイズを更新する
1170  nMinAngleWidth = max( nMinAngleWidth, ( rsSize.cx + nMinWidth ) );
1171  nMinAngleHeight = max( nMinAngleHeight, ( rsSize.cy + nMinHeight ) );
1172  }
1173 
1174  // 最小サイズを更新する
1175  rsSize.cx = max( rsSize.cx, nMinAngleWidth );
1176  rsSize.cy = max( rsSize.cy, nMinAngleHeight );
1177 
1178  // 成功!
1179  result = true;
1180  } while ( false );
1181 
1182  // 実行結果を返す
1183  return result;
1184  }
CWndPane() noexcept
コンストラクタ
Definition: CWndPane.cpp:30
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
static int const MIN_HEIGHT
最小垂直サイズ
Definition: CWndPane.h:703
static int const MIN_WIDTH
最小水平サイズ
Definition: CWndPane.h:702
static int const SIZEBAR_THICK
サイズバー太さ
CWndList m_cElementList
エレメントウィンドウリスト
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::GetMinPartitionSize ( SIZE &  rsSize)
virtualnoexcept

最小パーティション表示領域サイズ取得関数

最小パーティション表示領域サイズ取得関数です。

引数
[out]rsSizeサイズ構造体参照
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1188 行目に定義があります。

参照先 LibWindow::Bottom, LibCommon::CArray< Type >::GetCount(), GetDocumentTab(), LibWindow::CWndDocumentTab::GetMinHeight(), LibWindow::CWndPane::GetMinHeight(), LibWindow::CWndDocumentTab::GetMinWidth(), LibWindow::CWndPane::GetMinWidth(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::CWndPane::GetPartitionSize(), LibWindow::Invalid, LibWindow::CWndPane::IsShow(), LibWindow::Left, LibWindow::CWndContainer::m_cElementList, LibWindow::Right, SIZEBAR_THICK, LibWindow::Top (計16項目).

1188  {
1189  // 処理ブロック
1190  bool result = false;
1191  do {
1192  // サイズをクリアする
1193  rsSize.cx = 0;
1194  rsSize.cy = 0;
1195 
1196  // ドキュメントタブウィンドウを取得する
1197  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
1198  if ( nullptr != pcDocumentTab ) {
1199  // ウィンドウ表示フラグを調べる
1200  if ( !pcDocumentTab->IsShow() ) {
1201  // ドキュメントタブウィンドウポインタをクリアする
1202  pcDocumentTab = nullptr;
1203  }
1204  }
1205 
1206  // 巡回する
1207  int nMinAngleWidth = 0;
1208  int nMinAngleHeight = 0;
1209  for ( int nIndex = 0, nCount = m_cElementList.GetCount();; ++nIndex ) {
1210  // インデックスを調べる
1211  if ( nCount <= nIndex ) {
1212  // ドキュメントタブウィンドウポインタを調べる
1213  if ( nullptr != pcDocumentTab ) {
1214  // 最小サイズを取得する
1215  int nMinWidth = pcDocumentTab->GetMinWidth();
1216  int nMinHeight = pcDocumentTab->GetMinHeight();
1217 
1218  // 最小直角サイズを更新する
1219  nMinAngleWidth = max( nMinAngleWidth, ( rsSize.cx + nMinWidth ) );
1220  nMinAngleHeight = max( nMinAngleHeight, ( rsSize.cy + nMinHeight ) );
1221  }
1222 
1223  // 最小パーティション表示領域サイズを更新する
1224  rsSize.cx = max( rsSize.cx, nMinAngleWidth );
1225  rsSize.cy = max( rsSize.cy, nMinAngleHeight );
1226 
1227  // 終了!
1228  break;
1229  }
1230 
1231  // エレメントウィンドウを取得する
1232  CWndElement* pcElement = m_cElementList[ nIndex ];
1233  if ( nullptr != pcElement ) {
1234  // ウィンドウ表示フラグを調べる
1235  if ( pcElement->IsShow() ) {
1236  // パーティション配置位置を取得する
1237  EPartitionPos ePos = GetPartitionPos( pcElement );
1238 
1239  // ドキュメントタブウィンドウポインタを調べる
1240  if ( nullptr == pcDocumentTab ) {
1241  // 巡回する
1242  for ( int nIndex2 = ( nIndex + 1 );; ++nIndex2 ) {
1243  // インデックスを調べる
1244  if ( nCount <= nIndex2 ) {
1245  // パーティション配置位置を無効化する
1246  ePos = EPartitionPos::Invalid;
1247 
1248  // 終了!
1249  break;
1250  }
1251 
1252  // エレメントウィンドウを取得する
1253  CWndElement* pcElement = m_cElementList[ nIndex2 ];
1254  if ( nullptr != pcElement ) {
1255  // ウィンドウ表示フラグを調べる
1256  if ( pcElement->IsShow() ) {
1257  // 終了!
1258  break;
1259  }
1260  }
1261  }
1262  }
1263 
1264  // 最小サイズを取得する
1265  int nMinWidth = pcElement->GetMinWidth();
1266  int nMinHeight = pcElement->GetMinHeight();
1267 
1268  // パーティションサイズを取得する
1269  int nSize = pcElement->GetPartitionSize();
1270 
1271  // パーティション配置位置を調べる
1272  switch ( ePos ) {
1273  case EPartitionPos::Left: // 左側
1274  case EPartitionPos::Right: // 右側
1275  // 最小水平サイズを更新する
1276  rsSize.cx += ( nSize + SIZEBAR_THICK );
1277 
1278  // 最小直角垂直サイズを更新する
1279  nMinAngleHeight = max( nMinAngleHeight, ( rsSize.cy + nMinHeight ) );
1280  break;
1281  case EPartitionPos::Top: // 上側
1282  case EPartitionPos::Bottom: // 下側
1283  // 最小垂直サイズを更新する
1284  rsSize.cy += ( nSize + SIZEBAR_THICK );
1285 
1286  // 最小直角水平サイズを更新する
1287  nMinAngleWidth = max( nMinAngleWidth, ( rsSize.cx + nMinWidth ) );
1288  break;
1289  default:
1290  // 最小直角サイズを更新する
1291  nMinAngleWidth = max( nMinAngleWidth, ( rsSize.cx + nMinWidth ) );
1292  nMinAngleHeight = max( nMinAngleHeight, ( rsSize.cy + nMinHeight ) );
1293  break;
1294  }
1295  }
1296  }
1297  }
1298 
1299  // 成功!
1300  result = true;
1301  } while ( false );
1302 
1303  // 実行結果を返す
1304  return result;
1305  }
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
static int const SIZEBAR_THICK
サイズバー太さ
CWndList m_cElementList
エレメントウィンドウリスト
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

EPartitionPos LibWindow::CWndPartition::GetPartitionPos ( CWndElement pcElement)
virtualnoexcept

パーティション配置位置取得関数

パーティション配置位置取得関数です。

引数
[in]pcElementエレメントウィンドウポインタ
戻り値
パーティション配置位置種別
注意
なし

CWndPartition.cpp1309 行目に定義があります。

参照先 LibWindow::Bottom, LibWindow::CWndPane::GetPaneWindow(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::Invalid, LibWindow::CWndPane::IsPartition(), LibWindow::Left, LibWindow::Right, LibWindow::Top.

1309  {
1310  // 処理ブロック
1312  do {
1313  // エレメントウィンドウポインタを調べる
1314  if ( nullptr == pcElement ) {
1315  // 失敗!
1316  break;
1317  }
1318 
1319  // パーティション配置位置を取得する
1320  EPartitionPos ePos = pcElement->GetPartitionPos();
1321  if ( EPartitionPos::Invalid == ePos ) {
1322  // 親ペインウィンドウを取得する
1323  CWndPane* pcParent = GetPaneWindow( ::GetParent( pcElement->GetHandle() ) );
1324  if ( nullptr == pcParent ) {
1325  // 失敗!
1326  break;
1327  }
1328  // パーティションウィンドウか調べる
1329  else if ( !pcParent->IsPartition() ) {
1330  // 失敗!
1331  break;
1332  }
1333  // パーティション配置位置を調べる
1334  else switch ( pcParent->GetPartitionPos() ) {
1335  case EPartitionPos::Left: // 左側
1336  case EPartitionPos::Right: // 右側
1337  // パーティション配置位置を設定する
1338  ePos = EPartitionPos::Top;
1339  break;
1340  case EPartitionPos::Top: // 上側
1341  case EPartitionPos::Bottom: // 下側
1342  // パーティション配置位置を設定する
1343  ePos = EPartitionPos::Left;
1344  break;
1345  }
1346 
1347  // パーティション配置位置を調べる
1348  if ( EPartitionPos::Invalid == ePos ) {
1349  // 失敗!
1350  break;
1351  }
1352  }
1353 
1354  // 成功!
1355  result = ePos;
1356  } while ( false );
1357 
1358  // 実行結果を返す
1359  return result;
1360  }
CWndPane() noexcept
コンストラクタ
Definition: CWndPane.cpp:30
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
virtual CWndPane * GetPaneWindow(HWND hWnd) const noexcept
表示フラグ取得関数
Definition: CWndPane.h:178

呼び出し関係図:

bool LibWindow::CWndPartition::BeginMoveSizeBar ( CWndElement pcElement)
virtualnoexcept

サイズバー移動開始関数

サイズバー移動開始関数です。

引数
[in]pcElementエレメントウィンドウポインタ
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1364 行目に定義があります。

参照先 LibWindow::Bottom, LibCommon::CArray< Type >::Find(), LibCommon::CArray< Type >::GetCount(), GetDocumentTab(), LibWindow::CWndBase::GetHandle(), LibWindow::CWndDocumentTab::GetMinHeight(), LibWindow::CWndPane::GetMinHeight(), LibWindow::CWndDocumentTab::GetMinWidth(), LibWindow::CWndPane::GetMinWidth(), GetPartitionClientRect(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::CWndPane::GetPartitionSize(), LibWindow::CWndPane::GetSizeBar(), LibWindow::CWndPane::IsShow(), LibWindow::Left, LibWindow::CWndContainer::m_cElementList, m_hSizeBarImage, LibWindow::CWndBase::m_hWnd, m_nMaxSize, m_nMinSize, m_nSize, m_pcElement, m_sPoint, LibWindow::Right, LibWindow::CWndPane::s_bResizePartitionRealTime, SIZEBAR_THICK, LibWindow::Top (計27項目).

参照元 StnClicked().

1364  {
1365  // 処理ブロック
1366  bool result = false;
1367  do {
1368  // エレメントウィンドウポインタを調べる
1369  m_pcElement = pcElement;
1370  if ( nullptr == m_pcElement ) {
1371  // 失敗!
1372  break;
1373  }
1374 
1375  // パーティションサイズを保存する
1377 
1378  // 最小最大パーティションサイズを初期化する
1379  m_nMinSize = 0;
1380  m_nMaxSize = 0;
1381 
1382  // エレメントウィンドウ最小サイズを取得する
1383  int nMinWidth = m_pcElement->GetMinWidth();
1384  int nMinHeight = m_pcElement->GetMinHeight();
1385 
1386  // パーティション配置位置を調べる
1388  switch ( ePos ) {
1389  case EPartitionPos::Left: // 左側
1390  case EPartitionPos::Right: // 右側
1391  // パーティション最小サイズを更新する
1392  m_nMinSize = nMinWidth;
1393  break;
1394  case EPartitionPos::Top: // 上側
1395  case EPartitionPos::Bottom: // 下側
1396  // パーティション最小サイズを更新する
1397  m_nMinSize = nMinHeight;
1398  break;
1399  }
1400 
1401  // パーティション表示クライアント領域を取得する
1402  RECT sClientRect;
1403  if ( GetPartitionClientRect( sClientRect ) ) {
1404  // スクリーン座標系に変換する
1405  ::ClientToScreen( m_hWnd, reinterpret_cast< LPPOINT >( &sClientRect.left ) );
1406  ::ClientToScreen( m_hWnd, reinterpret_cast< LPPOINT >( &sClientRect.right ) );
1407 
1408  // エレメントウィンドウ表示領域を取得する
1409  RECT sElementRect;
1410  ::GetWindowRect( m_pcElement->GetHandle(), &sElementRect );
1411 
1412  // パーティション配置位置を調べる
1413  switch ( ePos ) {
1414  case EPartitionPos::Left: // 左側
1415  // パーティション最大サイズを取得する
1416  m_nMaxSize = ( sClientRect.right - sElementRect.left - SIZEBAR_THICK );
1417  break;
1418  case EPartitionPos::Top: // 上側
1419  // パーティション最大サイズを取得する
1420  m_nMaxSize = ( sClientRect.bottom - sElementRect.top - SIZEBAR_THICK );
1421  break;
1422  case EPartitionPos::Right: // 右側
1423  // パーティション最大サイズを取得する
1424  m_nMaxSize = ( sElementRect.right - sClientRect.left - SIZEBAR_THICK );
1425  break;
1426  case EPartitionPos::Bottom: // 下側
1427  // パーティション最大サイズを取得する
1428  m_nMaxSize = ( sElementRect.bottom - sClientRect.top - SIZEBAR_THICK );
1429  break;
1430  }
1431 
1432  // エレメントウィンドウインデックスを取得する
1433  int nElement = m_cElementList.Find( m_pcElement );
1434 
1435  // 巡回する
1436  for ( int nIndex = 0, nCount = m_cElementList.GetCount();; ++nIndex ) {
1437  // インデックスを調べる
1438  if ( nCount <= nIndex ) {
1439  // ドキュメントタブウィンドウを取得する
1440  CWndDocumentTab* pcDocumentTab = GetDocumentTab();
1441  if ( nullptr != pcDocumentTab ) {
1442  // ウィンドウ表示フラグを調べる
1443  if ( pcDocumentTab->IsShow() ) {
1444  // 最小サイズを取得する
1445  int nMinWidth = pcDocumentTab->GetMinWidth();
1446  int nMinHeight = pcDocumentTab->GetMinHeight();
1447 
1448  // パーティション配置位置を調べる
1449  switch ( ePos ) {
1450  case EPartitionPos::Left: // 左側
1451  case EPartitionPos::Right: // 右側
1452  // 最大サイズを更新する
1453  m_nMaxSize -= nMinWidth;
1454  break;
1455  case EPartitionPos::Top: // 上側
1456  case EPartitionPos::Bottom: // 下側
1457  // 最大サイズを更新する
1458  m_nMaxSize -= nMinHeight;
1459  break;
1460  }
1461  }
1462  }
1463 
1464  // 終了!
1465  break;
1466  }
1467  // インデックスを調べる
1468  else if ( nElement != nIndex ) {
1469  // エレメントウィンドウを取得する
1470  CWndElement* pcElement = m_cElementList[ nIndex ];
1471  if ( nullptr != pcElement ) {
1472  // ウィンドウ表示フラグを調べる
1473  if ( pcElement->IsShow() ) {
1474  // パーティション配置位置を取得する
1475  EPartitionPos ePos2 = GetPartitionPos( pcElement );
1476 
1477  // 最小サイズを取得する
1478  int nMinWidth = pcElement->GetMinWidth();
1479  int nMinHeight = pcElement->GetMinHeight();
1480 
1481  // パーティション配置位置を調べる
1482  if ( ePos == ePos2 ) {
1483  // インデックスを調べる
1484  if ( nElement < nIndex ) {
1485  // パーティション配置位置を調べる
1486  switch ( ePos ) {
1487  case EPartitionPos::Left: // 左側
1488  case EPartitionPos::Right: // 右側
1489  // 最大サイズを更新する
1490  m_nMaxSize -= nMinWidth;
1491  break;
1492  case EPartitionPos::Top: // 上側
1493  case EPartitionPos::Bottom: // 下側
1494  // 最大サイズを更新する
1495  m_nMaxSize -= nMinHeight;
1496  break;
1497  }
1498  }
1499  }
1500  // パーティション配置位置を調べる
1501  else switch ( ePos ) {
1502  case EPartitionPos::Left: // 左側
1503  case EPartitionPos::Right: // 右側
1504  switch ( ePos2 ) {
1505  case EPartitionPos::Left: // 左側
1506  case EPartitionPos::Right: // 右側
1507  // 最大サイズを更新する
1508  m_nMaxSize -= nMinWidth;
1509  break;
1510  }
1511  break;
1512  case EPartitionPos::Top: // 上側
1513  case EPartitionPos::Bottom: // 下側
1514  switch ( ePos2 ) {
1515  case EPartitionPos::Top: // 上側
1516  case EPartitionPos::Bottom: // 下側
1517  // 最大サイズを更新する
1518  m_nMaxSize -= nMinHeight;
1519  break;
1520  }
1521  break;
1522  }
1523  }
1524  }
1525  }
1526  }
1527  }
1528 
1529  // サイズバーコントロールを取得する
1530  HWND hSizeBar = m_pcElement->GetSizeBar();
1531 
1532  // サイズバーコントロール表示位置を取得する
1533  RECT sSizeBarRect;
1534  ::GetWindowRect( hSizeBar, &sSizeBarRect );
1535 
1536  // カーソル座標としてサイズバー表示位置を取得する
1537  m_sPoint.x = sSizeBarRect.left;
1538  m_sPoint.y = sSizeBarRect.top;
1539 
1540  // リアルタイムパーティションサイズ変更フラグを調べる
1541  if ( !s_bResizePartitionRealTime ) {
1542  // サイズバーイメージコントロール表示位置を取得する
1543  int nLeft = sSizeBarRect.left;
1544  int nTop = sSizeBarRect.top;
1545  int nWidth = ( sSizeBarRect.right - nLeft );
1546  int nHeight = ( sSizeBarRect.bottom - nTop );
1547 
1548  // サイズバーイメージコントロールを表示する
1549  ::SetWindowPos( m_hSizeBarImage, HWND_TOP, nLeft, nTop, nWidth, nHeight, ( SWP_NOACTIVATE | SWP_SHOWWINDOW ) );
1550  ::UpdateWindow( m_hSizeBarImage );
1551 
1552  // サイズバーイメージコントロールを描画する
1553  HDC hDc = ::GetDC( hSizeBar );
1554  HDC hDc2 = ::GetDC( m_hSizeBarImage );
1555  ::BitBlt( hDc2, 0, 0, nWidth, nHeight, hDc, 0, 0, SRCCOPY );
1556  ::ReleaseDC( m_hSizeBarImage, hDc2 );
1557  ::ReleaseDC( m_hSizeBarImage, hDc );
1558  }
1559 
1560  // フォーカスウィンドウを設定する
1561  ::SetFocus( m_pcElement->GetHandle() );
1562 
1563  // マウスをキャプチャする
1564  ::SetCapture( m_hWnd );
1565 
1566  // 成功!
1567  result = true;
1568  } while ( false );
1569 
1570  // 実行結果を返す
1571  return result;
1572  }
virtual HWND GetSizeBar() const noexcept
サイズバーコントロール取得関数
Definition: CWndPane.h:215
virtual HWND & GetHandle() noexcept
ウィンドウハンドル取得関数
Definition: CWndBase.h:69
virtual CWndDocumentTab * GetDocumentTab() noexcept
ドキュメントタブウィンドウ取得関数
Definition: CWndPartition.h:95
virtual int GetMinHeight() noexcept
最小垂直サイズ取得関数
Definition: CWndPane.h:631
CWndPane CWndElement
エレメントウィンドウクラス型
Definition: CWndList.h:26
CWndElement * m_pcElement
エレメントウィンドウポインタ
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
virtual int GetMinWidth() noexcept
最小水平サイズ取得関数
Definition: CWndPane.h:620
static int const SIZEBAR_THICK
サイズバー太さ
static bool s_bResizePartitionRealTime
リアルタイムパーティションサイズ変更フラグ
Definition: CWndPane.h:695
CWndList m_cElementList
エレメントウィンドウリスト
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
virtual int Find(Type const &rElement) const noexcept
検索関数
Definition: CArray.hpp:637
int m_nMaxSize
最大パーティションサイズ
int m_nMinSize
最小パーティションサイズ
virtual int GetPartitionSize() const noexcept
パーティションサイズ取得関数
Definition: CWndPane.h:250
POINT m_sPoint
カーソル座標
int m_nSize
保存パーティションサイズ
HWND m_hSizeBarImage
サイズバーイメージコントロールハンドル
virtual bool GetPartitionClientRect(RECT &rsRect) noexcept
パーティション表示クライアント領域取得関数
virtual int GetCount() const noexcept
配列要素数取得関数
Definition: CArray.h:149
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::CancelMoveSizeBar ( )
virtualnoexcept

サイズバー移動中止関数

サイズバー移動中止関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1576 行目に定義があります。

参照先 m_hSizeBarImage, LibWindow::CWndBase::m_hWnd, m_nSize, m_pcElement, LibWindow::CWndPane::s_bResizePartitionRealTime, LibWindow::CWndPane::SetPartitionSize().

参照元 WmKeyDown().

1576  {
1577  // 処理ブロック
1578  bool result = false;
1579  do {
1580  // エレメントウィンドウポインタを調べる
1581  if ( nullptr == m_pcElement ) {
1582  // 失敗!
1583  break;
1584  }
1585 
1586  // リアルタイムパーティションサイズ変更フラグを調べる
1588  // サイズバーイメージコントロールを隠す
1589  ::ShowWindow( m_hSizeBarImage, SW_HIDE );
1590 
1591  // パーティションサイズを復元する
1593 
1594  // WM_SIZEメッセージを送信する
1595  ::SendMessageW( m_hWnd, WM_SIZE, 0, 0 );
1596  ::UpdateWindow( m_hWnd );
1597  }
1598 
1599  // エレメントウィンドウポインタをクリアする
1600  m_pcElement = nullptr;
1601 
1602  // 保存パーティションサイズをクリアする
1603  m_nSize = 0;
1604 
1605  // マウスキャプチャを解放する
1606  ::ReleaseCapture();
1607 
1608  // 成功!
1609  result = true;
1610  } while ( false );
1611 
1612  // 実行結果を返す
1613  return result;
1614  }
virtual bool SetPartitionSize(int nSize) noexcept
パーティションサイズ設定関数
Definition: CWndPane.h:263
CWndElement * m_pcElement
エレメントウィンドウポインタ
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
static bool s_bResizePartitionRealTime
リアルタイムパーティションサイズ変更フラグ
Definition: CWndPane.h:695
int m_nSize
保存パーティションサイズ
HWND m_hSizeBarImage
サイズバーイメージコントロールハンドル

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::MoveSizeBar ( )
virtualnoexcept

サイズバー移動関数

サイズバー移動関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1618 行目に定義があります。

参照先 LibWindow::Bottom, LibWindow::CWndBase::GetHandle(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::Left, m_hSizeBarImage, LibWindow::CWndBase::m_hWnd, m_nMaxSize, m_nMinSize, m_nSize, m_pcElement, m_sPoint, LibWindow::Right, LibWindow::CWndPane::s_bResizePartitionRealTime, LibWindow::CWndPane::SetPartitionSize(), SIZEBAR_THICK, LibWindow::Top (計16項目).

参照元 WmMouseMove().

1618  {
1619  // 処理ブロック
1620  bool result = false;
1621  do {
1622  // エレメントウィンドウポインタを調べる
1623  if ( nullptr == m_pcElement ) {
1624  // 失敗!
1625  break;
1626  }
1627 
1628  // カーソル移動量を取得する
1629  POINT sPoint;
1630  ::GetCursorPos( &sPoint );
1631  int dx = ( sPoint.x - m_sPoint.x );
1632  int dy = ( sPoint.y - m_sPoint.y );
1633 
1634  // パーティション配置位置を調べる
1636  int nSize = 0;
1637  switch ( ePos ) {
1638  case EPartitionPos::Left: // 左側
1639  // パーティションサイズを取得する
1640  nSize = ( m_nSize + dx );
1641  break;
1642  case EPartitionPos::Top: // 上側
1643  // パーティションサイズを取得する
1644  nSize = ( m_nSize + dy );
1645  break;
1646  case EPartitionPos::Right: // 右側
1647  // パーティションサイズを取得する
1648  nSize = ( m_nSize - dx );
1649  break;
1650  case EPartitionPos::Bottom: // 下側
1651  // パーティションサイズを取得する
1652  nSize = ( m_nSize -dy );
1653  break;
1654  }
1655 
1656  // 最小パーティションサイズを調べる
1657  if ( m_nMinSize > nSize ) {
1658  // パーティションサイズを更新する
1659  nSize = m_nMinSize;
1660  }
1661  // 最大パーティションサイズを調べる
1662  else if ( m_nMaxSize < nSize ) {
1663  // パーティションサイズを更新する
1664  nSize = m_nMaxSize;
1665  }
1666 
1667  // リアルタイムパーティションサイズ変更フラグを調べる
1669  // パーティションサイズを設定する
1670  m_pcElement->SetPartitionSize( nSize );
1671 
1672  // WM_SIZEメッセージを送信する
1673  ::SendMessageW( m_hWnd, WM_SIZE, 0, 0 );
1674  ::UpdateWindow( m_hWnd );
1675  }
1676  else {
1677  // エレメントウィンドウ表示領域を取得する
1678  RECT sElementRect;
1679  ::GetWindowRect( m_pcElement->GetHandle(), &sElementRect );
1680 
1681  // サイズバーイメージコントロール表示位置を初期化する
1682  int nLeft = sElementRect.left;
1683  int nTop = sElementRect.top;
1684 
1685  // パーティション配置位置を調べる
1686  switch ( ePos ) {
1687  case EPartitionPos::Left: // 左側
1688  // サイズバーイメージコントロール表示水平座標を取得する
1689  nLeft = ( sElementRect.left + nSize );
1690  break;
1691  case EPartitionPos::Top: // 上側
1692  // サイズバーイメージコントロール表示垂直座標を取得する
1693  nTop = ( sElementRect.top + nSize );
1694  break;
1695  case EPartitionPos::Right: // 右側
1696  // サイズバーイメージコントロール表示水平座標を取得する
1697  nLeft = ( sElementRect.right - nSize - SIZEBAR_THICK );
1698  break;
1699  case EPartitionPos::Bottom: // 下側
1700  // サイズバーイメージコントロール表示垂直座標を取得する
1701  nTop = ( sElementRect.bottom - nSize - SIZEBAR_THICK );
1702  break;
1703  }
1704 
1705  // サイズバーイメージコントロールを移動する
1706  ::SetWindowPos( m_hSizeBarImage, HWND_TOP, nLeft, nTop, 0, 0, ( SWP_NOSIZE | SWP_NOACTIVATE | SWP_SHOWWINDOW ) );
1707  ::UpdateWindow( m_hSizeBarImage );
1708  }
1709 
1710  // 成功!
1711  result = true;
1712  } while ( false );
1713 
1714  // 実行結果を返す
1715  return result;
1716  }
virtual HWND & GetHandle() noexcept
ウィンドウハンドル取得関数
Definition: CWndBase.h:69
virtual bool SetPartitionSize(int nSize) noexcept
パーティションサイズ設定関数
Definition: CWndPane.h:263
CWndElement * m_pcElement
エレメントウィンドウポインタ
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
static int const SIZEBAR_THICK
サイズバー太さ
static bool s_bResizePartitionRealTime
リアルタイムパーティションサイズ変更フラグ
Definition: CWndPane.h:695
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
int m_nMaxSize
最大パーティションサイズ
int m_nMinSize
最小パーティションサイズ
POINT m_sPoint
カーソル座標
int m_nSize
保存パーティションサイズ
HWND m_hSizeBarImage
サイズバーイメージコントロールハンドル
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::EndMoveSizeBar ( )
virtualnoexcept

サイズバー移動終了関数

サイズバー移動終了関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1720 行目に定義があります。

参照先 LibWindow::Bottom, LibWindow::CWndBase::GetHandle(), LibWindow::CWndPane::GetPartitionPos(), LibWindow::CWndPane::GetSizeBar(), LibWindow::Left, m_hSizeBarImage, LibWindow::CWndBase::m_hWnd, m_nSize, m_pcElement, LibWindow::Right, LibWindow::CWndPane::s_bResizePartitionRealTime, LibWindow::CWndPane::SetPartitionSize(), LibWindow::Top.

参照元 WmLButtonUp().

1720  {
1721  // 処理ブロック
1722  bool result = false;
1723  do {
1724  // エレメントウィンドウポインタを調べる
1725  if ( nullptr == m_pcElement ) {
1726  // 失敗!
1727  break;
1728  }
1729 
1730  // リアルタイムパーティションサイズ変更フラグを調べる
1731  RECT sSizeBarRect;
1733  // サイズバーコントロールを取得する
1734  HWND hSizeBar = m_pcElement->GetSizeBar();
1735 
1736  // サイズバーコントロール表示位置を取得する
1737  ::GetWindowRect( hSizeBar, &sSizeBarRect );
1738  }
1739  else {
1740  // サイズバーイメージコントロール表示領域を取得する
1741  ::GetWindowRect( m_hSizeBarImage, &sSizeBarRect );
1742 
1743  // サイズバーイメージコントロールを隠す
1744  ::ShowWindow( m_hSizeBarImage, SW_HIDE );
1745  }
1746 
1747  // エレメントウィンドウ表示領域を取得する
1748  RECT sElementRect;
1749  ::GetWindowRect( m_pcElement->GetHandle(), &sElementRect );
1750 
1751  // パーティション配置位置を調べる
1753  int nSize = 0;
1754  switch ( ePos ) {
1755  case EPartitionPos::Left: // 左側
1756  // パーティションサイズを取得する
1757  nSize = ( sSizeBarRect.left - sElementRect.left );
1758  break;
1759  case EPartitionPos::Top: // 上側
1760  // パーティションサイズを取得する
1761  nSize = ( sSizeBarRect.top - sElementRect.top );
1762  break;
1763  case EPartitionPos::Right: // 右側
1764  // パーティションサイズを取得する
1765  nSize = ( sElementRect.right - sSizeBarRect.right );
1766  break;
1767  case EPartitionPos::Bottom: // 下側
1768  // パーティションサイズを取得する
1769  nSize = ( sElementRect.bottom - sSizeBarRect.bottom );
1770  break;
1771  }
1772 
1773  // パーティションサイズを設定する
1774  m_pcElement->SetPartitionSize( nSize );
1775 
1776  // WM_SIZEメッセージを送信する
1777  ::SendMessageW( m_hWnd, WM_SIZE, 0, 0 );
1778  ::UpdateWindow( m_hWnd );
1779 
1780  // エレメントウィンドウポインタをクリアする
1781  m_pcElement = nullptr;
1782 
1783  // 保存パーティションサイズをクリアする
1784  m_nSize = 0;
1785 
1786  // マウスキャプチャを解放する
1787  ::ReleaseCapture();
1788 
1789  // 成功!
1790  result = true;
1791  } while ( false );
1792 
1793  // 実行結果を返す
1794  return result;
1795  }
virtual HWND GetSizeBar() const noexcept
サイズバーコントロール取得関数
Definition: CWndPane.h:215
virtual HWND & GetHandle() noexcept
ウィンドウハンドル取得関数
Definition: CWndBase.h:69
virtual bool SetPartitionSize(int nSize) noexcept
パーティションサイズ設定関数
Definition: CWndPane.h:263
CWndElement * m_pcElement
エレメントウィンドウポインタ
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
static bool s_bResizePartitionRealTime
リアルタイムパーティションサイズ変更フラグ
Definition: CWndPane.h:695
EPartitionPos
パーティション配置位置種別列挙体
Definition: CWndPane.h:58
int m_nSize
保存パーティションサイズ
HWND m_hSizeBarImage
サイズバーイメージコントロールハンドル
virtual EPartitionPos GetPartitionPos() const noexcept
パーティション配置位置取得関数
Definition: CWndPane.h:239

呼び出し関係図:

被呼び出し関係図:

bool LibWindow::CWndPartition::CreateSizeBarImageControl ( )
virtualnoexcept

サイズバーイメージコントロール作成関数

サイズバーイメージコントロール作成関数です。

引数
なし
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1799 行目に定義があります。

参照先 m_hSizeBarImage, LibWindow::CWndBase::m_hWnd, TRANS_SIZEBAR_IMAGE.

1799  {
1800  // 処理ブロック
1801  bool result = false;
1802  do {
1803  // サイズバーイメージコントロールを作成する
1804  DWORD dwStyle = ( WS_POPUP | SS_OWNERDRAW );
1805  m_hSizeBarImage = ::CreateWindowExW( WS_EX_LAYERED, WC_STATICW, nullptr, dwStyle, 0, 0, 0, 0, m_hWnd, nullptr, ::GetModuleHandleW( nullptr ), nullptr );
1806  if ( nullptr == m_hSizeBarImage ) {
1807  // 失敗!
1808  break;
1809  }
1810  // 透明度を設定する
1811  else if ( 0 == ::SetLayeredWindowAttributes( m_hSizeBarImage, 0, TRANS_SIZEBAR_IMAGE, LWA_ALPHA ) ) {
1812  // 失敗!
1813  break;
1814  }
1815 
1816  // 成功!
1817  result = true;
1818  } while ( false );
1819 
1820  // 実行結果を返す
1821  return result;
1822  }
static BYTE const TRANS_SIZEBAR_IMAGE
サイズバーイメージ透明度
HWND m_hWnd
ウィンドウハンドル
Definition: CWndBase.h:1539
HWND m_hSizeBarImage
サイズバーイメージコントロールハンドル
bool LibWindow::CWndPartition::DrawSizeBar ( LPDRAWITEMSTRUCT  lpDraw,
EPartitionPos  ePos 
)
virtualnoexcept

サイズバーコントロール描画関数

サイズバーコントロール描画関数です。

引数
[in]lpDraw描画アイテム構造体ポインタ
[in]ePosパーティション配置位置
戻り値
実行結果
  • true 成功
  • false 失敗
注意
なし

CWndPartition.cpp1826 行目に定義があります。

参照先 LibWindow::Bottom, COLOR_SIZEBAR, COLOR_SIZEBAR_BORDER, LibWindow::Left, LibWindow::Right, LibWindow::Top.

参照元 WmDrawItem().

1826  {
1827  // 処理ブロック
1828  bool result = false;
1829  do {
1830  // ブラシを作成する
1831  HBRUSH hBrush = ::CreateSolidBrush( COLOR_SIZEBAR );
1832 
1833  // 塗りつぶす
1834  ::FillRect( lpDraw->hDC, &lpDraw->rcItem, hBrush );
1835 
1836  // ブラシを削除する
1837  ::DeleteObject( hBrush );
1838 
1839  // ペンを作成する
1840  HPEN hPen = ::CreatePen( PS_SOLID, 1, COLOR_SIZEBAR_BORDER );
1841  ::SelectObject( lpDraw->hDC, hPen );
1842 
1843  // パーティション配置位置を調べる
1844  int nLeft = lpDraw->rcItem.left;
1845  int nTop = lpDraw->rcItem.top;
1846  int nWidth = ( lpDraw->rcItem.right - nLeft );
1847  int nHeight = ( lpDraw->rcItem.bottom - nTop );
1848  switch ( ePos ) {
1849  case EPartitionPos::Left: // 左側
1850  case EPartitionPos::Right: // 右側
1851  // 上下ラインを描画する
1852  ::MoveToEx( lpDraw->hDC, nLeft, nTop, nullptr );
1853  ::LineTo( lpDraw->hDC, nLeft, ( nTop + nHeight ) );
1854  nLeft = ( lpDraw->rcItem.right - 1 );
1855  ::MoveToEx( lpDraw->hDC, nLeft, nTop, nullptr );
1856  ::LineTo( lpDraw->hDC, nLeft, ( nTop + nHeight ) );
1857  break;
1858  case EPartitionPos::Top: // 上側
1859  case EPartitionPos::Bottom: // 下側
1860  // 左右ラインを描画する
1861  ::MoveToEx( lpDraw->hDC, nLeft, nTop, nullptr );
1862  ::LineTo( lpDraw->hDC, ( nLeft + nWidth ), nTop );
1863  nTop = ( lpDraw->rcItem.bottom - 1 );
1864  ::MoveToEx( lpDraw->hDC, nLeft, nTop, nullptr );
1865  ::LineTo( lpDraw->hDC, ( nLeft + nWidth ), nTop );
1866  break;
1867  }
1868 
1869  // ペンを削除する
1870  ::DeleteObject( hPen );
1871 
1872  // 成功!
1873  result = true;
1874  } while ( false );
1875 
1876  // 実行結果を返す
1877  return result;
1878  }
static COLORREF const COLOR_SIZEBAR
サイズバー色
static COLORREF const COLOR_SIZEBAR_BORDER
サイズバーボーダー色

被呼び出し関係図:

HWND LibWindow::CWndPartition::CreateSizeBar ( HWND  hParent)
staticnoexcept

サイズバーコントロール作成関数

サイズバーコントロール作成関数です。

引数
[in]hParent親ウィンドウハンドル
戻り値
コントロールハンドル
注意
なし

CWndPartition.cpp1884 行目に定義があります。

参照元 LibWindow::CWndDockingPartition::Create(), LibWindow::CWndDocking::Create().

1884  {
1885  // 処理ブロック
1886  HWND result = nullptr;
1887  do {
1888  // サイズバーコントロールを作成する
1889  DWORD dwStyle = ( WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | SS_NOTIFY | SS_OWNERDRAW );
1890  HWND hSizeBar = ::CreateWindowExW( 0, WC_STATICW, nullptr, dwStyle, 0, 0, 0, 0, hParent, nullptr, ::GetModuleHandleW( nullptr ), nullptr );
1891  if ( nullptr == hSizeBar ) {
1892  // 失敗!
1893  break;
1894  }
1895 
1896  // 成功!
1897  result = hSizeBar;
1898  } while ( false );
1899 
1900  // 実行結果を返す
1901  return result;
1902  }

被呼び出し関係図:

CWndPartition& LibWindow::CWndPartition::operator= ( CWndPartition const &  )
privatedelete

メンバ詳解

EPartitionPos const LibWindow::CWndPartition::PARTITION_POS = EPartitionPos::Left
static

パーティション配置位置デフォルト値

CWndPartition.h35 行目に定義があります。

int const LibWindow::CWndPartition::PARTITION_SIZE = 200
static

パーティションサイズデフォルト値

CWndPartition.h36 行目に定義があります。

wchar_t const *const LibWindow::CWndPartition::KEY_PARTITION_POS = L"パーティション配置位置"
static

パーティション配置位置キー文字列

CWndPartition.h41 行目に定義があります。

参照元 LibWindow::CWndDockingPartition::InitConfig(), LibWindow::CWndDockingPartition::SaveConfig().

wchar_t const *const LibWindow::CWndPartition::KEY_PARTITION_SIZE = L"パーティションサイズ"
static
HWND LibWindow::CWndPartition::m_hSizeBarImage
protected

サイズバーイメージコントロールハンドル

CWndPartition.h456 行目に定義があります。

参照元 BeginMoveSizeBar(), CancelMoveSizeBar(), CreateSizeBarImageControl(), EndMoveSizeBar(), MoveSizeBar().

POINT LibWindow::CWndPartition::m_sPoint
protected

カーソル座標

CWndPartition.h457 行目に定義があります。

参照元 BeginMoveSizeBar(), MoveSizeBar().

CWndElement* LibWindow::CWndPartition::m_pcElement
protected

エレメントウィンドウポインタ

CWndPartition.h458 行目に定義があります。

参照元 BeginMoveSizeBar(), CancelMoveSizeBar(), EndMoveSizeBar(), MoveSizeBar().

int LibWindow::CWndPartition::m_nSize
protected

保存パーティションサイズ

CWndPartition.h459 行目に定義があります。

参照元 BeginMoveSizeBar(), CancelMoveSizeBar(), EndMoveSizeBar(), MoveSizeBar().

int LibWindow::CWndPartition::m_nMinSize
protected

最小パーティションサイズ

CWndPartition.h460 行目に定義があります。

参照元 BeginMoveSizeBar(), MoveSizeBar().

int LibWindow::CWndPartition::m_nMaxSize
protected

最大パーティションサイズ

CWndPartition.h461 行目に定義があります。

参照元 BeginMoveSizeBar(), MoveSizeBar().

BYTE const LibWindow::CWndPartition::TRANS_SIZEBAR_IMAGE = 96
staticprotected

サイズバーイメージ透明度

CWndPartition.h466 行目に定義があります。

参照元 CreateSizeBarImageControl().

int const LibWindow::CWndPartition::SIZEBAR_THICK = 4
staticprotected

サイズバー太さ

CWndPartition.h467 行目に定義があります。

参照元 BeginMoveSizeBar(), GetMinPartitionSize(), GetMinSize(), MoveSizeBar(), WmSize().

COLORREF const LibWindow::CWndPartition::COLOR_SIZEBAR = RGB( 240, 240, 240 )
staticprotected

サイズバー色

CWndPartition.h468 行目に定義があります。

参照元 DrawSizeBar().

COLORREF const LibWindow::CWndPartition::COLOR_SIZEBAR_BORDER = RGB( 108, 94, 79 )
staticprotected

サイズバーボーダー色

CWndPartition.h469 行目に定義があります。

参照元 DrawSizeBar().


このクラス詳解は次のファイルから抽出されました: