non-focusable form

  • Thread starter Thread starter Roman
  • Start date Start date
R

Roman

hello

im working with winforms.
how can i make form a non-focusable, more precisely
i want to have form that is half transparent and is positioned
somewhere on the screen and i still can click some items
that are behind that form, for example i have my transparent
window in lower right corner and i still can click some icons
on desktop and all else : )
thanks for any advice
best regards
lukasz
 
Roman,

Use Control.Region property to cut your form in a shape you want. Only
points that are part of the region will belong to the window (control or
form) all others the user can click through.
You can create windows with holes or window of two or more disconnected
pieces. You can go crazy there :)
 

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

Back
Top