I'm trying create a simple C# program that runs hidden on back ground.. and when i hit some keys on my keyboard, the interface of the program will appear... yup, thats it.. and also, how do i disable some keys on the keyboard? and what about fullscreen applications?

Recommended Answers

All 2 Replies

Hi
My suggestion is to search Low Level Keyboard Hook in c#, this will help u. I think so.

1. - to running hidden
there are a couple ways :
1. this.Visible = false;
this.ShowInTaskbar = false;
2. this.Opacity = 0;
this.ShowInTaskbar = false;
- to get form back => Set visible as True or Opacity to 100 on keypressed event.
2. You can disable by know the ascii or keychar (in keypressed event again).
3. To fullscreen : set WindowsState = true in form properties.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.