{"name":"BIS_fnc_getIDC","title":"BIS fnc getIDC","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_getIDC","revid":348396,"updated":"2023-11-08T13:00:01Z","groups":["GUI"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Returns IDD of given display.","syntaxes":[{"syntax":"[config, ctrlName] call BIS_fnc_getIDC","params":[{"name":"config","type":"Config","description":"config path to display","type_expr":"Config"},{"name":"ctrlName","type":"String","description":"config name of control","type_expr":"String"}],"returns":{"type":"Number","type_expr":"Number","description":"IDC, returns -1 if control was not found"}}],"examples":[{"code":["private _IDC = [configFile >> \"Display3DENPlace\", \"ButtonCancel\"] call BIS_fnc_getIDC;"]}],"see_also":["configFile","findDisplay","createDisplay","displayCtrl"]}