I tried changing the control to "ListView":
Code
mdx SetControlMDX $dname 1 ListView noscroll > $mircdir $+ mdx\views.mdx

And I started getting an echo response from a left mouse click "sclick", and also this answer i get from right mouse button.

I flipped through the reference book for MDX and perhaps in order for the left mouse button to become active in "TreeView" control, you need to create some lines with text and control elements, so that this field is not empty.

slclick = The user has selected an item. That is, according to the guide, this should work as soon as some element is selected. Maybe this will solve your problem in code.



🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples