473,395 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 3392
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dr. zoidberg | last post by:
Hello, I have created simple login sistem. I'm using sessions and they expire after I close my browser. How can I stay loged after I have closed my browser window? I know I should use cookies,...
0
by: EKL | last post by:
What command line option should I use to turn off Hotspot's compiled mode behavior and stay in interpreted mode? ekl
7
by: Daniel | last post by:
how to make two references to one string that stay refered to the same string reguardless of the changing value in the string?
3
by: Steven T. Hatton | last post by:
My understanding of the containers in the Standard Library is that they can move out from under pointers and references if they are resized. Stroustrup suggests I can reserve the capacity I will...
1
by: Brett | last post by:
How can I get this link to stay inside the iFrame? I was thinking Javascripting might work. <iframe src="blank.html" name="RSIFrame" id="RSIFrame" width="400" height="400"></iframe> <a...
0
by: baylor | last post by:
i'm using forms authentication. i would like for a user to be logged in until they close the browser. The FormsAuthentication.RedirectFromLoginPage method takes the parameter...
4
by: Stan Sainte-Rose | last post by:
First, I thank you Herfried. I have 3 tabpages in a tabcontrol. I would like to force the user to stay in the current tabpage until he doesn't correctly fill some textboxes. I know how to...
21
by: PlainDave | last post by:
Hi, Is there a way to make windows tooltips stay up longer than the default 5 seconds using CSS in a web page? I'd prefer to have it stay visible as long as the mouse is over the "whatever." The...
0
Niheel
by: Niheel | last post by:
How do you stay energized for the long hours of development, product launches, or just general work? Over the years I've heard of many ways people try to keep themselves focused and energized for...
9
by: Bob Homes | last post by:
This newgroup (Vb.net General Discussions) is the ONLY one I am using. I want to be able to get here quickly and stay awhile. But that doesn't seem possible. Am I missing something? To get here,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.