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

Method FindDialogButton

cpp/iedriver/Alert.cpp:600–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600BOOL CALLBACK Alert::FindDialogButton(HWND hwnd, LPARAM arg) {
601 Alert::DialogButtonFindInfo* button_info = reinterpret_cast<Alert::DialogButtonFindInfo*>(arg);
602 int control_id = ::GetDlgCtrlID(hwnd);
603 if (button_info->match_proc(hwnd)) {
604 button_info->button_handle = hwnd;
605 button_info->button_control_id = control_id;
606 return FALSE;
607 }
608 return TRUE;
609}
610
611BOOL CALLBACK Alert::FindTextBox(HWND hwnd, LPARAM arg) {
612 TextBoxFindInfo* find_info = reinterpret_cast<TextBoxFindInfo*>(arg);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected