source: trunk/MFCtooling/replay/WindowFinder.h @ 32

Last change on this file since 32 was 32, checked in by sherbold, 14 years ago
File size: 545 bytes
RevLine 
[32]1#pragma once
2
3#include "WindowData.h"
4#include <map>
5#include <vector>
6
7BOOL CALLBACK EnumChildren(HWND hwnd, LPARAM lParam);
8
9class WindowFinder
10{
11private:
12        WindowData * currentWindow;
13
14        std::vector<std::pair<HWND,int>> * scores;
15
16        std::vector<HWND> * parentHandles;
17
18        int maxScore;
19
20        bool evalPopup;
21
22public:
23        WindowFinder(void);
24        ~WindowFinder(void);
25
26        HWND find(WindowData * winData);
27
28        void setEqualityScore(HWND hwnd, int resourceId, wchar_t * windowName, wchar_t * className);
29
30        bool isCurrentPopup();
31
32};
Note: See TracBrowser for help on using the repository browser.