Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[V8i MDL] Loading DialogItemListRsc resources via mdlResource_load()

$
0
0

I'm attempting to use a DialogItemListRsc, one for each "similar" type of data (OptionButtons) so I can use mdlResource_load to load the correct OptionButton resource when my tool starts. Initially,  the DialogItemListRsc only contained one item - the OptionButton. Now I wish to add a second item to the list (in this case an OptionButton). Now, when my tool's dialog box (NOT toolsettings) is opened, the second entry in the DialogItemListRsc is not drawn. It's there, as long as I move the cursor over the location where the OptionButton *should* be, it will "repaint" itself and all is well. I tried to switch the order of the items in the DialogItemListRsc, but it seems only the first entry is "visible" when the dialog box is first displayed. The other item is there, just not "painted".

Any ideas why, and what can be done about it?

 

Bruce


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>