Clicking through transparent windows

J

joe

I have a 50% transparent window that is on top of the
desktop. I want the user to be able to click 'Through the
transparent window' onto objects behind it ... my computer.

The transparent window does not need force it just needs
to be ontop of all the other windows.

another example is .. if you press alt-ctrl-del to bring
up task manager how can i program the window to pass mouse
clicks on it to the window behined it, if task manger is
my program?

I hope this is clear enough to answer :)
 
A

Andrew \(Infragistics\)

This is not really a c# specific question. You should have posted to the
windowsforms newsgroup. Anyway, assuming there are no controls on the form,
override the WndProc of the form, respond to the WM_NCHITTEST message and
return HTTRANSPARENT.
 

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