Answer the question
In order to leave comments, you need to log in
How to create a ghost window in C#?
Hello everyone!
Faced the problem of creating a ghost window (mouse clicks pass through this window).
We have a form and some text on it.
The form has the following properties: on top of all windows, without a border, the transparency key matches the background color.
To insert text on the form, I tried to use labels and the DrawString method from the Graphics class.
The problem is that when the cursor hits the text, our form takes focus, and the click in the window we need (which is located under ours) does not occur.
Tell me, in which direction to dig or what crutches can be attached? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question