Brad Wardell's site for talking about the customization of Windows.
Need help?
Published on April 5, 2005 By Frogboy In Object Desktop
If you have a widget you want or are trying to make a widget and need some help, let us know and we can see what info we can provide to make things easier.
Comments
on Apr 05, 2005
Hi,

I purchased Object Desktop a few weeks ago and I love it. I am setting up a public kiosk desktop application that uses widgets and I have two questions:

1- How Can I disable right-click on a widget in order to disable menu pop-up
2- How can I prevent users from moving my widgets on the desktop by presing the CTRL-key that overrides the lockdown setting in the configuration.

Thanks in advance.

AD


Posted via WinCustomize Browser/Stardock Central
on Apr 07, 2005
Function Object_OnKeyDown(key, ex)
Object_OnKeyDown = True 'This stops DX from processing ALL keys
End Function

Sub Object_OnScriptEnter
desktopx.RegisterController Object.Name
End Sub

Function OnControl(lType, lCode)
If lType = 1 and lCode = 2 Then
OnControl = True
End If
End function


See p30, p31 and chapter 10 in the scripting guide for explaination of the code.
on Apr 07, 2005

If you're setting up a public kiosk app you would probably want to get DesktopX Enterprise because it has all kinds of security features in there and is designed for kiosks:

https://www.stardock.com/products/desktopxenterprise/