469,630 Members | 1,228 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,630 developers. It's quick & easy.

Unfocused Stay-On-Top Form, when showing from a diffreant thread..

I would like develop Form on my Windows Application, that is going to notify
the user, just like Microsoft Office 2003 shows that there are new mail
coming. When I use System.Windows.Forms.Form and show it on a different then
main thread on my application, this new form became focused, but I want that
new form at the beginning acts like just stay-on-top notification… also in
this form I would like have controls, that could be focused, when users click
it, like, LinkLabel (so it couldn’t be just ToolTip, or something like this)…
Could I create such a Form, that wont be take focus, when I showing it in
c#...
Nov 16 '05 #1
2 3236
Krzysztof,

In order to do this, I believe you want to set the TopMost property to
true.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Krzysztof Karnicki" <Krzysztof Ka******@discussions.microsoft.com> wrote in
message news:C4**********************************@microsof t.com...
I would like develop Form on my Windows Application, that is going to
notify
the user, just like Microsoft Office 2003 shows that there are new mail
coming. When I use System.Windows.Forms.Form and show it on a different
then
main thread on my application, this new form became focused, but I want
that
new form at the beginning acts like just stay-on-top notification. also in
this form I would like have controls, that could be focused, when users
click
it, like, LinkLabel (so it couldn't be just ToolTip, or something like
this).
Could I create such a Form, that wont be take focus, when I showing it in
c#...

Nov 16 '05 #2
Thanks,

I've made it...
But it is about different problem...
Imagine e.g. word processing application... you write something, and this
application sometimes shows you new Form with some information... this new
Form always gets focus, when showing, but I don't want this... I want to
develop, that the cursor will stay on the place where it was, before
notification have shown up...so new Form want engage user, he could still
write, because he didn’t lost focus on a main window… new window is only
notification until user clicks it.
So another words I want to show new Window, that isn't focused, until user
activates is...

So, If You know any solution for creating Window, that wont get focused...


"Nicholas Paldino [.NET/C# MVP]" wrote:
Krzysztof,

In order to do this, I believe you want to set the TopMost property to
true.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Krzysztof Karnicki" <Krzysztof Ka******@discussions.microsoft.com> wrote in
message news:C4**********************************@microsof t.com...
I would like develop Form on my Windows Application, that is going to
notify
the user, just like Microsoft Office 2003 shows that there are new mail
coming. When I use System.Windows.Forms.Form and show it on a different
then
main thread on my application, this new form became focused, but I want
that
new form at the beginning acts like just stay-on-top notification. also in
this form I would like have controls, that could be focused, when users
click
it, like, LinkLabel (so it couldn't be just ToolTip, or something like
this).
Could I create such a Form, that wont be take focus, when I showing it in
c#...


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by dr. zoidberg | last post: by
3 posts views Thread by Steven T. Hatton | last post: by
1 post views Thread by Brett | last post: by
4 posts views Thread by Stan Sainte-Rose | last post: by
21 posts views Thread by PlainDave | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.