WindFuncs.h 779 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <vector>
  3. #include <string>
  4. using namespace std;
  5. #include "WindNode.h"
  6. class WindFuncs
  7. {
  8. public:
  9. WindFuncs(void);
  10. virtual ~WindFuncs(void);
  11. static BOOL CheckWindowMatch(HWND subhandle,WindNode &node,BOOL Visible = FALSE);
  12. static BOOL CheckTheProcess(HWND Wnd,WindNode &node);
  13. static UINT GetZOrder(HWND Wnd);
  14. static HWND GetTrueParent(HWND hwnd);
  15. static BOOL CmpNoCase(string &src,string &des);
  16. static WindNode LocateOneWindow(HWND Parent,WindNode &node,BOOL Visible = TRUE);
  17. static BOOL LocateWindows(HWND Parent,WindNode &node,vector<WindNode> &reslist,BOOL Visible = TRUE,BOOL singleSearch = FALSE);
  18. static BOOL LocateWindowsWithRegEx(HWND Parent,WindNode &node,vector<WindNode> &reslist,BOOL Visible = TRUE,BOOL singleSearch = TRUE);
  19. };