| 42 | } |
| 43 | |
| 44 | LPTSTR GuiControlType::GetTypeName() |
| 45 | { |
| 46 | if (type == GUI_CONTROL_TAB) |
| 47 | { |
| 48 | // Tab2 and Tab3 are changed into Tab at an early stage. |
| 49 | if (attrib & GUI_CONTROL_ATTRIB_ALTBEHAVIOR) |
| 50 | return sTypeNames[GUI_CONTROL_TAB2]; |
| 51 | if (GetProp(hwnd, _T("ahk_dlg"))) |
| 52 | return sTypeNames[GUI_CONTROL_TAB3]; |
| 53 | } |
| 54 | return sTypeNames[type]; |
| 55 | } |
| 56 | |
| 57 | GuiControlType::TypeAttribs GuiControlType::TypeHasAttrib(GuiControls aType, TypeAttribs aAttrib) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected