PDA

View Full Version : DLLWindowDisEnable - DLL - HTML - Intrigued


Intrigued
09-23-2006, 08:40 PM
Here is an example of a DLL I wrapped together today. (if you have not noticed I have been exploring more options to help boost my and your AMS application's abilities).

This .exe example will show off that this DLL allows you to now protect HTML (and other) content by disabling the window. This means no right-clicks, (I see Shift+F10 still works, will check on this), etc. In this example I used a Web object to show how convenient this can be to display your HTML creations in an HTML page.

Example (.exe):

http://www.amsuser.com/ams/examples/DLLWindowDisEnable-AMS6-Intrigued.exe

Note: this could come in handy for a Kiosk setup as well?

Intrigued
09-23-2006, 09:55 PM
@Shift+F10 point I made in the last post. It seems spuratic. But, it seems consistent if you disable the window before the user can Shift+F10. (aka. On Show).

Try it out and see what results you come up with and let me know if you would folks.

(add in) Also, by doing the disable On Show, it also seems though the scrollbar and the down/up page movements are disabled as well. Which may be what you want anyway, say for a Kiosk mode application. Or?

(add in 2) Disabling the window On Show then enabling, disabling at will seems to work too!

TIA

Intrigued
09-25-2006, 08:54 AM
If anyone tries this, please let me know how it goes. If you have problems please post back such for me (us).

TIA