MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / FindDirectUIChild

Method FindDirectUIChild

cpp/iedriver/Alert.cpp:642–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642BOOL CALLBACK Alert::FindDirectUIChild(HWND hwnd, LPARAM arg){
643 HWND *dialog_handle = reinterpret_cast<HWND*>(arg);
644 std::vector<wchar_t> child_window_class(100);
645 ::GetClassName(hwnd, &child_window_class[0], 100);
646
647 if (wcscmp(&child_window_class[0], L"DirectUIHWND") != 0) {
648 return TRUE;
649 }
650 *dialog_handle = hwnd;
651 return FALSE;
652}
653
654BOOL CALLBACK Alert::FindTextBoxes(HWND hwnd, LPARAM arg) {
655 std::vector<HWND>* dialog_handles = reinterpret_cast<std::vector<HWND>*>(arg);

Callers

nothing calls this directly

Calls 1

GetClassNameClass · 0.85

Tested by

no test coverage detected