MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / GetTypeName

Method GetTypeName

source/script_gui.cpp:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44LPTSTR 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
57GuiControlType::TypeAttribs GuiControlType::TypeHasAttrib(GuiControls aType, TypeAttribs aAttrib)
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected