BlzCreateFrameByType
- Parameters
-
typeName string
A string reference to the internal frame type. List of known valid type names that return a new frame:
"FRAME"
"BUTTON"
"SPRITE"
"MESSAGE"
"TEXT"
"BACKDROP"
"TEXTBUTTON"
"CHECKBOX"
"EDITBOX"
"SLIDER"
"SCROLL"
"SCROLLBAR"
"RADIOGROUP"
"LISTBOXITEM"
"LISTBOX"
"STATUSBAR"
"HIGHLIGHT"
"MODEL"
"DIALOG"
"MENU"
"POPUPMENU"
"CHATDISPLAY"
"TEXTAREA"
"LISTBUTTON"
"SIMPLETOP"
"SIMPLEFRAME"
"SIMPLEGRID"
"SIMPLEBUTTON"
"SIMPLECHECKBOX"
"SIMPLESTATUSBAR"
name string
owner framehandle
inherits string
createContext integer
- comment
-
Create & Define a new (Simple)Frame. Can use a root-(Simple)Frame-BluePrint with inherits, when that is done it needs to be a loaded BluePrint.
- bug
-
Using the
"CONTROL"
or"SIMPLEMESSAGEFRAME"
as type name causes a game crash. - patch
-
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
framehandle
- Source code
-
native BlzCreateFrameByType takes string typeName, string name, framehandle owner, string inherits, integer createContext returns framehandle