| 562 | } |
| 563 | |
| 564 | bool Alert::IsLinkButton(HWND button_handle) { |
| 565 | std::vector<wchar_t> button_window_class(100); |
| 566 | ::GetClassName(button_handle, &button_window_class[0], static_cast<int>(button_window_class.size())); |
| 567 | if (wcscmp(&button_window_class[0], L"Button") == 0) { |
| 568 | long window_long = ::GetWindowLong(button_handle, GWL_STYLE); |
| 569 | long button_style = window_long & BS_TYPEMASK; |
| 570 | return button_style == BS_COMMANDLINK; |
| 571 | } |
| 572 | return false; |
| 573 | } |
| 574 | |
| 575 | bool Alert::IsSimpleEdit(HWND edit_handle) { |
| 576 | std::vector<wchar_t> child_window_class(100); |
nothing calls this directly
no test coverage detected