Home All Groups Group Topic Archive Search About
Author
21 Jul 2006 6:21 PM
rodchar
hey all,

1.) how do i tell my winform to be "always on top"?

2.) is there any way to make a "hole" in my window form? For instance, as i
drag my form around what ever is behind my form you can you thru the hole of
my form?

thanks,
rodchar

Author
21 Jul 2006 6:44 PM
Herfried K. Wagner [MVP]
"rodchar" <rodc***@discussions.microsoft.com> schrieb:
> 1.) how do i tell my winform to be "always on top"?

Set the form's 'TopMost' property to 'True'.

> 2.) is there any way to make a "hole" in my window form? For instance, as
> i
> drag my form around what ever is behind my form you can you thru the hole
> of
> my form?

Check out the form's 'TransparencyKey' and 'Region' properties.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
21 Jul 2006 9:23 PM
rodchar
thank you.


Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "rodchar" <rodc***@discussions.microsoft.com> schrieb:
> > 1.) how do i tell my winform to be "always on top"?
>
> Set the form's 'TopMost' property to 'True'.
>
> > 2.) is there any way to make a "hole" in my window form? For instance, as
> > i
> > drag my form around what ever is behind my form you can you thru the hole
> > of
> > my form?
>
> Check out the form's 'TransparencyKey' and 'Region' properties.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>
>
Author
22 Jul 2006 11:29 PM
Lars Graeve
Hi,

I think the better way is to define the form region.
Lars

Show quoteHide quote
"rodchar" <rodc***@discussions.microsoft.com> schrieb im Newsbeitrag
news:7668E0B8-3E8C-40D7-9207-BB49E892C48D@microsoft.com...
> hey all,
>
> 1.) how do i tell my winform to be "always on top"?
>
> 2.) is there any way to make a "hole" in my window form? For instance, as
> i
> drag my form around what ever is behind my form you can you thru the hole
> of
> my form?
>
> thanks,
> rodchar
>