[C#] Disable Click on Screen

G

Guest

Hi,

I'd like to disable the click on screen.
do you known an API which can do it (like EnableHardwareKeyboard() for
keyboard) ?

Thanks

Best Regards
 
P

Per Rasmussen

That can only disable clicks on your application and not the entire screen,
right? How can you do it for the entire screen?

Regards,
Per Rasmussen.
 
J

Johanna via DotNetMonster.com

Hi,

You can run your Application in full screen modus.

public const uint SHFS_SHOWTASKBAR = 0x0001;
public const uint SHFS_HIDETASKBAR = 0x0002;
public const uint SHFS_SHOWSIPBUTTON = 0x0004;
public const uint SHFS_HIDESIPBUTTON = 0x0008;
public const uint SHFS_SHOWSTARTICON = 0x0010;
public const uint SHFS_HIDESTARTICON = 0x0020;

[DllImport("aygshell.dll")]
public static extern uint SHFullScreen(IntPtr hwndRequester, uint dwState);

I hope it helps,

Johanna
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top