Pregunta

I made a ScreenCapture Program in VB.Net. I already have the Region and Dragging Forms without border's code. But my Problem is i cannot drag a form if it is transparent.

Here's the Image: enter image description here

That Faded Black part is the Form1 and is an MDI Container. The Transparent part is my Form2 and is the Childform.

My Question: How do i drag that child form? because when i try to click on it, it will just click the thing on whats behind it. Let's say that Badges button of Stackoverflow. Anyone Can help me with this?

Here's my Files if you want to experiment with it. Try.zip

¿Fue útil?

Solución

I think a better option would be to have a regular form, on which you would place contents underneath it (bitmap copy), so it appears as though you are looking at the desktop, while instead you are looking at the form. Then you can fade in, or fade out areas at will, using GDI+ or DirectX, and your mouse clicks should be registered just fine.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top