开发者

Deselect an item from Feature View?

If you have worked on installscript of InstallShield. You might also came across to this condition when you have a 'Feature View' and all in the list are selected by default. How can we deselect them?

Than开发者_如何转开发ks.


Look at the FeatureSetData() and FeatureSelectItem() functions:

FeatureSetData ( szFeatureSource, szFeature, nInfo, nData, szData );
The FeatureSetData function sets properties and data for the specified feature. Most of the settings correspond to the properties in the Features view.

FeatureSelectItem ( szFeatureSource, szFeature, bSelect );
The FeatureSelectItem function sets a feature's selection status to either selected or not selected. You can use FeatureSelectItem to change selection status before displaying features in feature dialogs, and you can use it to change or override selections afterward, depending on your setup's requirements.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜