By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,625 Members | 1,274 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,625 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.