DX Controller Scripts... Please help!
from
WinCustomize Forums
I'm trying to figure out controller scripts for DX and I'm running in to a problem. I can't get DX to recognize anything but right clicks on my widget. I've tried this code to test it out. It only produces a message box when I right click, not when I left-click or double click on the widget.
Also, the documentation states that I can create a custon right click menu for my widget.
How do I return true? and where would I place the code for the new menu?
Thanks in advance for the help.
Confused,
ExodusCrow
|
Sub Object_OnScriptEnter desktopx.RegisterController Object.Name End Sub Function OnControl(lType, lCode) msgbox (lType & " " & lCode) End function |
Also, the documentation states that I can create a custon right click menu for my widget.
| For instance you can replace the right click or systray widget menu by returning true to 1 / 1 notification and provide your own menu as described in the preceding chapter. |
How do I return true? and where would I place the code for the new menu?
Thanks in advance for the help.
Confused,
ExodusCrow