窗口查找器类,继承自单例类
More...
#include <SwndFinder.h>
|
SWindow * | FindChildByName (SWindow *pParent, const SStringW &strName, int nDeep) |
| 通过名称查找子窗口
|
|
SWindow * | FindChildByID (SWindow *pParent, int nID, int nDeep) |
| 通过ID查找子窗口
|
|
void | CacheResultForName (SWindow *pParent, const SStringW &strName, int nDeep, SWindow *pResult) |
| 缓存通过名称查找的结果
|
|
void | CacheResultForID (SWindow *pParent, int nID, int nDeep, SWindow *pResult) |
| 缓存通过ID查找的结果
|
|
SWindow * | FindChildByKey (SWindow *pParent, const SFindInfo &fi) |
| 通过查找信息查找子窗口
|
|
窗口查找器类,继承自单例类
Definition at line 122 of file SwndFinder.h.
◆ FINDCACHE
typedef SMap<SFindInfo, SWND> SWindowFinder::FINDCACHE |
|
protected |
◆ CacheResultForID()
void SWindowFinder::CacheResultForID |
( |
SWindow * | pParent, |
|
|
int | nID, |
|
|
int | nDeep, |
|
|
SWindow * | pResult ) |
|
protected |
缓存通过ID查找的结果
- Parameters
-
pParent | 父窗口指针 |
nID | 窗口ID |
nDeep | 查找深度 |
pResult | 找到的窗口指针 |
Definition at line 62 of file SwndFinder.cpp.
◆ CacheResultForName()
void SWindowFinder::CacheResultForName |
( |
SWindow * | pParent, |
|
|
const SStringW & | strName, |
|
|
int | nDeep, |
|
|
SWindow * | pResult ) |
|
protected |
缓存通过名称查找的结果
- Parameters
-
pParent | 父窗口指针 |
strName | 窗口名称 |
nDeep | 查找深度 |
pResult | 找到的窗口指针 |
Definition at line 54 of file SwndFinder.cpp.
◆ FindChildByID()
SWindow * SWindowFinder::FindChildByID |
( |
SWindow * | pParent, |
|
|
int | nID, |
|
|
int | nDeep ) |
|
protected |
通过ID查找子窗口
- Parameters
-
pParent | 父窗口指针 |
nID | 窗口ID |
nDeep | 查找深度 |
- Returns
- 找到的窗口指针,未找到返回NULL
Definition at line 30 of file SwndFinder.cpp.
◆ FindChildByKey()
通过查找信息查找子窗口
- Parameters
-
- Returns
- 找到的窗口指针,未找到返回NULL
Definition at line 36 of file SwndFinder.cpp.
◆ FindChildByName()
通过名称查找子窗口
- Parameters
-
pParent | 父窗口指针 |
strName | 窗口名称 |
nDeep | 查找深度 |
- Returns
- 找到的窗口指针,未找到返回NULL
Definition at line 24 of file SwndFinder.cpp.
◆ SWindow
◆ m_findCache
FINDCACHE SWindowFinder::m_findCache |
|
protected |
The documentation for this class was generated from the following files: