Hi,
How can I bring up a WinForms application window among several other
windows?
I have tried Show() method, but it doesn't always work.
Thanks,
Alan 4 2607
Hi,
Try setting the Form.TopMost property. http://msdn.microsoft.com/library/de...pMostTopic.asp
Regards,
Vikram, S
"A.M" wrote: Hi,
How can I bring up a WinForms application window among several other windows? I have tried Show() method, but it doesn't always work.
Thanks, Alan
That will disturb other applications. I need to bring up the form up on
certain events and have the form minimised in normal situations.
Thanks,
Alan
"Vi*******@hotmail.com" <Vi*****************@discussions.microsoft.com>
wrote in message news:21**********************************@microsof t.com... Hi,
Try setting the Form.TopMost property.
http://msdn.microsoft.com/library/de...pMostTopic.asp Regards, Vikram, S "A.M" wrote:
Hi,
How can I bring up a WinForms application window among several other windows? I have tried Show() method, but it doesn't always work.
Thanks, Alan
Hi Alan,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to bring up windows on certain
events and have it minimized in normal situations. If there is any
misunderstanding, please feel free to let me know.
Could we set the TopMost property to true at the beginning of certain event
and set it to false at the end or in another event handler when form
becomes inactive. Also we set it to minimized there.
this.TopMost = true;
this.WindowState = FormWindowState.Minimized;
//.....
this.TopMost = false;
this.WindowState = FormWindowState.Normal;
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
If you need only to bring up a form, you can use the Form BringToFront()
method.
Otherwise if you need a TopMost window that stay ever on top, you can use
the TopMost property ;)
HTH,
Mephiston
"A.M" <no*****@online.nospam> ha scritto nel messaggio
news:u6**************@tk2msftngp13.phx.gbl... Hi,
How can I bring up a WinForms application window among several other windows? I have tried Show() method, but it doesn't always work.
Thanks, Alan
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: localhost |
last post by:
I am looking for any info on creating an MDI WinForms application that
uses the "main executable" as a main window container (along with a
menu), but can launch other .exe from a menu that act as...
|
by: Pramod Thewarkar |
last post by:
Hi,
I have deployed my winform application on iis server in a virtual directory.
On the start of my application, it is reading some information from the
config file (app.config). When i am...
|
by: Cenray |
last post by:
How to generate a web request from a Winform Application using a WebService?
In a C# Windows Application, when I try to genrate a web request using the
following code, it is woking fine
...
|
by: Lucas Tam |
last post by:
Is there a way to write to IIS' Application or Session variables from a
Winforms application? I am trying to share application state between a web
application and a desktop app.
Remoting would...
|
by: Dean Slindee |
last post by:
I would like to hear some practical comments about how to decide whether a
new application becomes a Winform vs a Webform application. Would you say
that every app should be, by default, a Winform...
|
by: Hercules Dev. |
last post by:
hi all,
I developed a winform control and succeeded in hosting it in my ASP.Net
application, I used the default way which is installing my winform
control in the same directory of my ASP.Net...
|
by: WT |
last post by:
Hello,
Using VS2005.
I have an assembly library that can be called from a Web site asp.net
application or from a winform application.
From this library I need to retrieve a path using simply a...
|
by: Monty |
last post by:
Hello,
I have created a solution which has both a web UI and a winform UI, the
latter is just for administrators. The Web UI (a Web Application Project)
and the winform project both...
|
by: purnimakhamri |
last post by:
hi, can any body tell how to open winform from web application. if i write in winform
system.Diognastics.process.start("URL");
means its opening web apllication .but i want to write the code in...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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...
|
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...
| |