retrieve a list of control IDs for a window