gui control get device