8 #ifndef _EVMESSAGEMAP_H_INCLUDED_ 9 #define _EVMESSAGEMAP_H_INCLUDED_ 13 #endif // _MSC_VER > 1000 22 #pragma pack(push,_FVCL_PACKING) 131 if( dlg == NULL )
return false;
145 dlg->AddMessageMap(
this );
153 if( dlg == NULL )
return false;
185 if( fixedID != 0 && fixedID != dlg->GetDlgCtrlFixedID() )
209 if( fixedID != 0 && fixedID != dlg->GetDlgCtrlFixedID() )
242 if( fixedID != 0 && fixedID != dlg->GetDlgCtrlFixedID() )
247 if( dlg->Update( bReDraw ) )
257 static void ICommandPre(
void* pvParam, TYPE* dlg, WPARAM wParam, LPARAM lParam )
266 function( owner, dlg, wParam, lParam );
272 static void ICommandPost(
void* pvParam, TYPE* dlg, WPARAM wParam, LPARAM lParam )
281 function( owner, dlg, wParam, lParam );
287 static void IWndMsgPre(
void* pvParam, TYPE* dlg, UINT message, WPARAM wParam, LPARAM lParam )
296 function( owner, dlg, message, wParam, lParam );
298 pThis->
OnWndMsgPre( dlg, message, wParam, lParam );
302 static void IWndMsgPost(
void* pvParam, TYPE* dlg, UINT message, WPARAM wParam, LPARAM lParam )
311 function( owner, dlg, message, wParam, lParam );
331 virtual void OnWndMsgPre( TYPE* dlg, UINT message, WPARAM wParam, LPARAM lParam )
336 virtual void OnWndMsgPost( TYPE* dlg, UINT message, WPARAM wParam, LPARAM lParam )
365 #endif // _EVMESSAGEMAP_H_INCLUDED_ virtual bool push_back(const_reference _Val)
配列への要素の追加
Definition: FvMultiData.h:196
void * m_pvWndMsgPost
(処理後)ウィンドウメッセージ処理関数へ渡すオブジェクトへのポインタ
Definition: EvMessageMap.h:360
static void ICommandPost(void *pvParam, TYPE *dlg, WPARAM wParam, LPARAM lParam)
(処理後)コマンドメッセージ受信インターフェース
Definition: EvMessageMap.h:272
virtual void OnCommandPre(TYPE *dlg, WPARAM wParam, LPARAM lParam)
(処理前)コマンドメッセージ処理関数
Definition: EvMessageMap.h:321
void * m_pvWndMsgPre
(処理前)ウィンドウメッセージ処理関数へ渡すオブジェクトへのポインタ.
Definition: EvMessageMap.h:359
virtual void OnWndMsgPre(TYPE *dlg, UINT message, WPARAM wParam, LPARAM lParam)
(処理前)ウィンドウメッセージ処理関数
Definition: EvMessageMap.h:331
FVCL::CFvList< TYPE * > m_dialogs
メッセージ監視対象のダイアログのコレクション
Definition: EvMessageMap.h:349
bool m_blWndMsgPre
(処理前)ウィンドウメッセージ処理関数の呼び出し指示
Definition: EvMessageMap.h:344
bool GetWndMsgPre(LPWNDMSGHANDLER *function, void **owner) const
(処理前)ウィンドウメッセージ処理関数の取得
Definition: EvMessageMap.h:104
virtual void OnCommandPost(TYPE *dlg, WPARAM wParam, LPARAM lParam)
(処理後)コマンドメッセージ処理関数
Definition: EvMessageMap.h:326
bool SetCommandPost(LPCOMMANDHANDLER function, void *owner)
(処理後)コマンドメッセージ処理関数の設定
Definition: EvMessageMap.h:79
FVCLの基底クラス
Definition: FvObject.h:23
bool AddDialog(TYPE *dlg, UINT filter=FVCL::DlgCtrlFilter::NONE)
ダイアログの追加登録
Definition: EvMessageMap.h:129
int INT
整数型(32ビット)
Definition: FvDefs.h:36
配列走査テンプレートクラス
Definition: FvIterator.h:38
bool m_blWndMsgPost
(処理後)ウィンドウメッセージ処理関数の呼び出し指示
Definition: EvMessageMap.h:345
bool GetCommandPre(LPCOMMANDHANDLER *function, void **owner) const
(処理前)コマンドメッセージ処理関数の取得
Definition: EvMessageMap.h:71
UINT GetDialogCount(UINT fixedID=0, UINT filter=FVCL::DlgCtrlFilter::NONE) const
ダイアログの個数取得
Definition: EvMessageMap.h:174
TYPE * GetDialog(UINT index) const
ダイアログの取得
Definition: EvMessageMap.h:196
~CEvMessageMap()
デストラクタ
Definition: EvMessageMap.h:55
TYPE * GetDialogByFixedID(UINT fixedID=0, UINT filter=FVCL::DlgCtrlFilter::NONE) const
ダイアログの取得
Definition: EvMessageMap.h:202
bool GetCommandPost(LPCOMMANDHANDLER *function, void **owner) const
(処理後)コマンドメッセージ処理関数の取得
Definition: EvMessageMap.h:87
LPWNDMSGHANDLER m_OnWndMsgPost
(処理後)ウィンドウメッセージ処理関数へのポインタ
Definition: EvMessageMap.h:355
UINT GetDialogFilter(UINT index) const
ダイアログ用途フィルタの取得
Definition: EvMessageMap.h:228
static void ICommandPre(void *pvParam, TYPE *dlg, WPARAM wParam, LPARAM lParam)
(処理前)コマンドメッセージ受信インターフェース
Definition: EvMessageMap.h:257
UINT UpdateDialog(bool bReDraw=true, UINT fixedID=0, UINT filter=FVCL::DlgCtrlFilter::NONE)
ダイアログの更新
Definition: EvMessageMap.h:234
virtual void OnWndMsgPost(TYPE *dlg, UINT message, WPARAM wParam, LPARAM lParam)
(処理後)ウィンドウメッセージ処理関数
Definition: EvMessageMap.h:336
bool m_blCommandPre
(処理前)コマンドメッセージ処理関数の呼び出し指示
Definition: EvMessageMap.h:342
virtual iterator begin()
配列の先頭位置の取得
Definition: FvMultiData.h:112
void(* LPCOMMANDHANDLER)(void *, TYPE *, WPARAM, LPARAM)
コマンドメッセージ処理関数型
Definition: EvMessageMap.h:28
void * m_pvCommandPost
(処理後)コマンドメッセージ処理関数へ渡すオブジェクトへのポインタ
Definition: EvMessageMap.h:358
virtual iterator erase(iterator _First, iterator _Last)
要素の削除
Definition: FvMultiData.h:154
LPCOMMANDHANDLER m_OnCommandPre
(処理前)コマンドメッセージ処理関数へのポインタ
Definition: EvMessageMap.h:352
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
static void IWndMsgPre(void *pvParam, TYPE *dlg, UINT message, WPARAM wParam, LPARAM lParam)
(処理前)ウィンドウメッセージ受信インターフェース
Definition: EvMessageMap.h:287
LPCOMMANDHANDLER m_OnCommandPost
(処理後)コマンドメッセージ処理関数へのポインタ
Definition: EvMessageMap.h:353
bool SetWndMsgPost(LPWNDMSGHANDLER function, void *owner)
(処理後)ウィンドウメッセージ処理関数の設定
Definition: EvMessageMap.h:113
bool m_blCommandPost
(処理後)コマンドメッセージ処理関数の呼び出し指示
Definition: EvMessageMap.h:343
CEvMessageMap()
コンストラクタ
Definition: EvMessageMap.h:36
bool DelDialog(const TYPE *dlg)
ダイアログの登録解除
Definition: EvMessageMap.h:151
bool SetDialogFilter(UINT index, UINT filter)
ダイアログ用途フィルタの設定
Definition: EvMessageMap.h:220
LPWNDMSGHANDLER m_OnWndMsgPre
(処理前)ウィンドウメッセージ処理関数へのポインタ
Definition: EvMessageMap.h:354
bool SetWndMsgPre(LPWNDMSGHANDLER function, void *owner)
(処理前)ウィンドウメッセージ処理関数の設定
Definition: EvMessageMap.h:96
const UINT NONE
なし
Definition: EVCbasicDeclare.h:52
void(* LPWNDMSGHANDLER)(void *, TYPE *, UINT, WPARAM, LPARAM)
ウィンドウメッセージ処理関数型
Definition: EvMessageMap.h:29
bool GetWndMsgPost(LPWNDMSGHANDLER *function, void **owner) const
(処理後)ウィンドウメッセージ処理関数の取得
Definition: EvMessageMap.h:121
virtual size_type size() const
配列の要素数の取得
Definition: FvMultiData.h:226
bool SetCommandPre(LPCOMMANDHANDLER function, void *owner)
(処理前)コマンドメッセージ処理関数の設定
Definition: EvMessageMap.h:63
メッセージマップクラス
Definition: EvMessageMap.h:24
FVCL::CFvList< UINT > m_filters
処理用途フィルタのコレクション
Definition: EvMessageMap.h:350
static void IWndMsgPost(void *pvParam, TYPE *dlg, UINT message, WPARAM wParam, LPARAM lParam)
(処理後)ウィンドウメッセージ受信インターフェース
Definition: EvMessageMap.h:302
void * m_pvCommandPre
(処理前)コマンドメッセージ処理関数へ渡すオブジェクトへのポインタ
Definition: EvMessageMap.h:357