473,395 Members | 2,151 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.

Form TopMost just for application?

Is there a way to make a modeless dialog remain as a topmost window to your
application, but not to all other applications. In other words, how can I
keep a form(s) on top of my application all the time, but minimize when the
main application minimizes?

Thanks,
Jacob
Nov 15 '05 #1
2 2385
Make the MainForm, the owner of the floating window.

-vJ

"Jacob" <ja**********@hotmail.com> wrote in message
news:OEpEb.8380$7D3.3243@fed1read02...
Is there a way to make a modeless dialog remain as a topmost window to your application, but not to all other applications. In other words, how can I
keep a form(s) on top of my application all the time, but minimize when the main application minimizes?

Thanks,
Jacob

Nov 15 '05 #2
Thank you so much. That worked perfectly! I should have just asked in the
beginning instead of spending the whole day trying to figure it out :)

Jacob
"Vijaye Raji" <no************@hotmail.com> wrote in message
news:e4**************@tk2msftngp13.phx.gbl...
Make the MainForm, the owner of the floating window.

-vJ

"Jacob" <ja**********@hotmail.com> wrote in message
news:OEpEb.8380$7D3.3243@fed1read02...
Is there a way to make a modeless dialog remain as a topmost window to

your
application, but not to all other applications. In other words, how can I keep a form(s) on top of my application all the time, but minimize when

the
main application minimizes?

Thanks,
Jacob


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Giulio Mastrosanti | last post by:
Which is the instance name of the starting form of an application? I want to access his controls and variables from another form but can't find the way... Which is the property I can use and...
1
by: Jax | last post by:
I want my application to stop a certain action when it hasn't felt a mouse move for over 10 minutes I understand I could do this by using the mousemove event of the form of my application But if my...
4
by: anders | last post by:
I have a 'solution' with a Webservice, Business layer and a data layer. In the Business layer I've added a form that need to be started on the server(this site has full rights, runs with Local...
5
by: oran johnson | last post by:
If Form.TopMost = true, will the form appear even if the associated application is not the active or foreground application? Thanks.
0
by: varun varun | last post by:
hello friend, while developing an asp.net application, i created a base form(say mybaseform1) with certain links on it. then i tried to inherit the same from in other application forms by...
8
by: Tim | last post by:
Is it possible to close the form I invoked via Application.Run() as I invoke another form without the application exiting? (I'd rather not hide it since I don't need it anymore) ....call to...
1
by: Henry Lee | last post by:
hi , all This is driving me crazy , I use msgbox method in .net 2.0 environment and it is running fine on my IIS (Windows 2000) until today. The error is like "Showing a modal dialog box or form...
7
by: Lee Crabtree | last post by:
I remember when I was first getting into .NET Forms programming that there was a rather emphatic rule about not constructing a form before calling Application.Run with it. So this: ...
1
by: Gurur | last post by:
I want to access the properties of a child form of an application from another application. Properties means I want to perform some action on the visibility of the child form. I have the class...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.