Archive: InstallOptions - OnMouseMove over label


InstallOptions - OnMouseMove over label
  Hello,
I am using installoptionsex with my installer. I got there a treeview, droplist and a label.
Two problems:

1.
I want to display some description text on Label after mouse moving over the items of treeview. How can I do it?

Example:

Treeview:

Root

----Item1
---SubItem1ofItem1
---SubItem2ofItem1
----Item2
---SubItem1ofItem2
---SubItem2ofItem2
----Item3

When mouse is over the SubItem1ofItem1 the label displays a description text
, for example: "This is first Subitem".
It must work as in components page in MUI interface page.

2. As I mentioned above, there are froplist and treeview components on my custom page.
In droplist I got two items: "None" and "Default".
If user choose "None" the treeview items must be changed on this defined by "None" profile. And if user choose "Default" item on droplist, the treeview must be changed on this defined by "Default" profile.

This profiles are saving to ini file to "ListItems". To display items on treeview its reading this key from ini file - but it is reading when page is displaying.

I want to read this info and load to treeview in runtime, when user choose proper profile from droplist. What message I have to send? How am I gonna do it?
Please, if anyone know how to help me, please do this.
Thanks,
-Pawel

It doesn't look like InstallOptionsEx supports OnMouseOver. At least not anything that I could find in its documentation.

Re-reading the INI also seems impossible. You'll need to send TVM_ messages to the TreeView control on your own.


Originally posted by kichik
It doesn't look like InstallOptionsEx supports OnMouseOver. At least not anything that I could find in its documentation.
Yeah, I read all documentation of installoptionsex and unfortunatelly found nothing. :(



Re-reading the INI also seems impossible. You'll need to send TVM_ messages to the TreeView control on your own.
Thanks, but I have no idea how to do it. Which message do I have to send?
I need to select (checkbox) specified item - info which of item have to be selected is written to the ini file (format: 1|0|0 (checked|unchecked|unchecked)).

Hmm, it is too difficult :(

-Pawel

It's not simple, but MSDN has all the details:

http://msdn2.microsoft.com/en-us/library/bb762741(VS.85).aspx