Page MenuHomeFeedback Tracker

Using <b><i>ctrlCreate</i></b> to create certain elements causes error "No entry 'config.bin/...'"
New, WishlistPublic

Description

https://community.bistudio.com/wiki/ctrlCreate/classnames

I realized that whatever listBox class of the above list I use with <b><i>ctrlCreate</i></b>, it generates the attached error.

The control is still being created and <b><i>ctrlSetPosition</i></b> can be performed on it without any problems. {F25091}

Details

Legacy ID
1285002825
Severity
None
Resolution
Open
Reproducibility
Always
Category
Config
Steps To Reproduce

1.) Create an hpp file with no controls inside (idd required)
2.) Execute the follwing code:
<i>createDialog "TestDialog"; (findDisplay IDD) ctrlCreate ["RscListBox", IDC];</i>
3.) Recognize the config.bin error.

Additional Information

Related ticket:
#20515 (Expand "ctrlCreate" to look for classes in description.ext first)

The same issue occurs with:

  • RscIGUIListBox (fixed)
  • RscIGUIListNBox (fixed)
  • RscListNBox (fixed)
  • RscXListBox (fixed)
  • RscTree (thx Uranoxyd)
  • RscMap (thx Uranoxyd)

Event Timeline

HereisJohnny edited Additional Information. (Show Details)
HereisJohnny set Category to Config.
HereisJohnny set Reproducibility to Always.
HereisJohnny set Severity to None.
HereisJohnny set Resolution to Open.
HereisJohnny set Legacy ID to 1285002825.May 7 2016, 7:46 PM

Changed to config, as base classes are missing essential params like x in this case.

I already thought it would be something like that. It's interesting though as this problem does not exist with other classes like "RscButtonMenu" or "RscText".

Can I look these configs up somewhere?

There's a config viewer in the editor, just look for the path shown in the error.

(That is: configFile >> "RscListBox")

Same with RscTree

You can add RscMap to the list :[ hoping for #20515 :D

Use

RscMapControl or
RscMapControlEmpty

RscMap is not what you think it is.

Ahh both are working. Thank you. :)