Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to use GetSelectedTreeComponent


1 reply to this topic

sthomasy

sthomasy
  • Members
  • 1 posts

Posted 09 September 2003 - 23:21

Does anybody have experience using the function GetSelectedTreeComponent() in installscript? I'm writing a custom dialog box with tree-view control. I'm trying to get the text related to the current selection in the control. GetSelectedTreeComponent() seems to be the right function. However, I'm not sure what should be passed in as the first parameter. The prototype only shows it should be a pointer. I tried to use the handle to the tree control, it didn't work. I tried to use the handle to the currently selected item in the tree control, it still doesn't work. Any suggestions?

Thanks.

kari_hun

kari_hun
  • Members
  • 10 posts

Posted 16 September 2003 - 07:44

Hi,

See the "Script\ISRT\Src\SdComponentTreeDlg.rul" file in the installed IS folder.

kari_hun