|
by: Robert W. |
last post by:
I have a separate thread that handles data transfer operations (with a mobile
device). I've set things up so that a small notification form is displayed
in the lower right corner of the window. This all works fine.
But what I can't figure out how to do is to get it to display on top of my
main form, if the main form is maximized. I've tried all of the following:
statusForm = new frmNotify();
statusForm.Show(); // Display...
|
by: Ioannis Demetriades |
last post by:
Hi
On my main form I have a menu with menu shortcuts and I noticed that when I
display a new form as an MDIChild form the shortcuts work fine from within
the mdi child form. If however i display an owned form (as opposed to
mdichild) the shortcuts don't work unless the owner form has the focus.
Is there an easy way of making those shortcuts work with owned forms as
well?
|
by: Jerry Wei |
last post by:
Dear all:
I have a problem about how to handle the events. For example, there
are two forms, Form1 and Form2. Form2 is owned by Form1 and there is a
button,Button1, in Form2. It is no problem for Form2 to handle the
event "Button1.Click" . My problem is how to handle the Button1.click
event in Form1 as Form2's owner. Is there any way to achieve this
demand???
=================================================================
owner and...
|
by: Tom Edelbrok |
last post by:
I've created a form on the fly at run-time as "new form". Works fine. I even
add some controls to it (ie: a label control, etc). I then use
"AddOwnedForm" to add my newly created form as an owned form of my main
application form.
Immediately after showing my new form I set "Enabled = False" for the
original application form, disabling and graying it.
However, my new form doesn't have the focus, and I can't figure out how to
give it...
|
by: Don |
last post by:
If you have a form that calls another form via the following code:
Dim myForm as Form2
myForm = New Form2
myForm.Owner = Me
MyForm.ShowDialog
and you minimize the second form, the first form remains visible (albeit
completely disabled).
|
|
by: Dave Booker |
last post by:
I have a Windows form application that I generally run minimized. When a
critical event occurs it instantiates another "Alert" form which I want to
grab the user focus.
In the Alert constructor I call both this.Show() and this.Activate(), but if
the parent application is minimized then the Alert form will also stay
minimized (and just flash).
How can I cause the Alert form to show itself and grab focus?
|
by: pamelafluente |
last post by:
Hi guys I am puzzed (???) with a probably stupid problem (VB2003). I
must be doing something dumb ...
I want to open a owned form (must *not* be mdi child) over an Mdi
Container, when the Mdi container starts.
I have a small demo program made of: Form1, Form2 (empty) and a
"StartProgram" class
which contain the following code. The startup object is set to be: Sub
Main
|
by: Zytan |
last post by:
I have created a new form from the main form. When I close the main
form with the 'x' close button, its Form.FormClosed event is run, but
not the dialog's.
Is this normal? It is ok / dangerous? How can I force shutdown code
within the dialog's Form.FormClosed event run?
Zytan
|
by: mpathfinder |
last post by:
hi everybody
i have a MDI form that it shows child forms with the "Show()" method .
in one of that child forms i show another form that owned by this form again with the "Show()" method .
this cause this second form become TopMost . means that all another forms are shown behind this second form .
why this happen ?
code is like this :
/// within MDI form
frmChild1 frm = new frmChild1();
frm.MdiParent = this;
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|