473,789 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Popup window within Desktop App



I'm curious about the best way to display a simple popup window when
somebody chooses the MenuItem Help>About ... you know, the typical
window that pops up describing the application. About 95% of my C#
experience is web based and I've never tried this before nor thought
of it 'til now as I'm working on my first desktop app. Web searches
seem to only show me stupid web browser pop up window code examples. I
must not be putting the proper key words into google.

Thanks to anyone who can help.
MsJuLiE
Nov 16 '05 #1
3 2023
Hi,

Add a windows form to ur project and make its' form border style to tool
window.

write this in
MenuItem Help_Onclickeve nt
{
myForm = new MyForm();
myForm.Show();
or
MyForm.ShowDial og();
}
That's all.

Nirosh.

"JuLiE Dxer" <Ms*****@verizo n.net> wrote in message
news:dg******** *************** *********@4ax.c om...


I'm curious about the best way to display a simple popup window when
somebody chooses the MenuItem Help>About ... you know, the typical
window that pops up describing the application. About 95% of my C#
experience is web based and I've never tried this before nor thought
of it 'til now as I'm working on my first desktop app. Web searches
seem to only show me stupid web browser pop up window code examples. I
must not be putting the proper key words into google.

Thanks to anyone who can help.
MsJuLiE

Nov 16 '05 #2


Yes, that's as easy as it was :)
Thanks a lot..

It's good to see at this late hour on west coast USA that there are
some people awake on the other side of the planet (Sri Lanka?)
monitoring the group..

It's embarrasing, at times, how simple some things are after you learn
them.

MsJuLiE

On Thu, 7 Oct 2004 14:54:45 +0600, "Champika Nirosh" <te**@test.lk >
wrote:
Hi,

Add a windows form to ur project and make its' form border style to tool
window.

write this in
MenuItem Help_Onclickeve nt
{
myForm = new MyForm();
myForm.Show();
or
MyForm.ShowDial og();
}
That's all.

Nirosh.

"JuLiE Dxer" <Ms*****@verizo n.net> wrote in message
news:dg******* *************** **********@4ax. com...


I'm curious about the best way to display a simple popup window when
somebody chooses the MenuItem Help>About ... you know, the typical
window that pops up describing the application. About 95% of my C#
experience is web based and I've never tried this before nor thought
of it 'til now as I'm working on my first desktop app. Web searches
seem to only show me stupid web browser pop up window code examples. I
must not be putting the proper key words into google.

Thanks to anyone who can help.
MsJuLiE


Nov 16 '05 #3
What a nice comment.. you should have some artistic skill as well..

Yes from Sri Lanka ..

"JuLiE Dxer" <Ms*****@verizo n.net> wrote in message
news:0a******** *************** *********@4ax.c om...


Yes, that's as easy as it was :)
Thanks a lot..

It's good to see at this late hour on west coast USA that there are
some people awake on the other side of the planet (Sri Lanka?)
monitoring the group..

It's embarrasing, at times, how simple some things are after you learn
them.

MsJuLiE

On Thu, 7 Oct 2004 14:54:45 +0600, "Champika Nirosh" <te**@test.lk >
wrote:
Hi,

Add a windows form to ur project and make its' form border style to tool
window.

write this in
MenuItem Help_Onclickeve nt
{
myForm = new MyForm();
myForm.Show();
or
MyForm.ShowDial og();
}
That's all.

Nirosh.

"JuLiE Dxer" <Ms*****@verizo n.net> wrote in message
news:dg******* *************** **********@4ax. com...


I'm curious about the best way to display a simple popup window when
somebody chooses the MenuItem Help>About ... you know, the typical
window that pops up describing the application. About 95% of my C#
experience is web based and I've never tried this before nor thought
of it 'til now as I'm working on my first desktop app. Web searches
seem to only show me stupid web browser pop up window code examples. I
must not be putting the proper key words into google.

Thanks to anyone who can help.
MsJuLiE

Nov 16 '05 #4

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

Similar topics

1
18329
by: Noozer | last post by:
When using the WebBrowser control, is it possible to cause popup windows to appear within the WebBrowser control itself instead of a new window? This is what I've written in the NewWindow2 event, but I can't figure out how to get the popup to appear in the same browser window. In this code the user is presented with "Yes", "No" or "Cancel". Yes allows the popup to spawn a window, No should load the popup in the same window and Cancel...
38
5092
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find out what i'm doing wrong, and so far it seems i'm doing it the right way. Here's my code...any suggestions would be appreciated. <script language="javascript"> <!-- window.open("256fx/index.htm", "", "height=400, width=600"); //-->
3
1767
by: Shaun McKinnon | last post by:
Okay, here's my problem...oh, and thanks in advance to all the help. Here's my script: <script type="text/javascript"> <!-- window.open("256fx/index.htm","","height=400,width=600"); //--> </script>
2
1437
by: Mark Findlay | last post by:
Is it possible to change a popup window's 'resizable attribute from within the popup window itself? I create the popup window with the window.open(....) function and use a resizable=no parameter. But within the popup window itself, would it be possible to then change the resizable property to enable the window to be resized? Many thanks for your expertise!
17
2516
by: Applebrownbetty | last post by:
Hi, I'd like to append/amend the following code from the Dreamweaver extension "Open Picture Window Fever" for the ability to center the PopUp window: By default, it allows the window to be offset on the left and top, but does not include a centering option. I'm thinking it would include something like (screen.width-imageWidth)/2; somewhere but not sure how do go about doing this.
6
7094
by: veganeater | last post by:
Hi Everyone, I was wondering if there was a way to pass a variable to a popup window. The purpose is make it so when a user clicks on a specific region/link of the glossary page, a popup opens with the related description. This is done and is obviously not a concern. However, now I would like to make it so the corresponding row becomes highlighted (changes background colour via DOM). I imagine it can be done, but I'm at a loss for...
23
6416
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div align="center">
19
13338
by: Davey | last post by:
I have a popup window that opens using the following function. Unfortunately when this function (or any other popup generating function) is called from *within* a popup, it opens it within the current popup (i.e. it doesn't spawn another child popup). How can I get it to open up another popup window? function popobjed(url) { var newwindow;
3
2170
by: EnjoyNews | last post by:
I have a popup problem. I have a script that generates a popup for image viewing. It has 2 function, and the first is that it automaticly generates the popup window to the size of the image, and the second is that it closes the popup window when you click outside of it. It is a script I have found on the internet, since I have no experience in javascript coding.
0
9666
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, 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...
0
9511
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10410
Oralloy
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...
0
10200
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 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...
0
9020
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, 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...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5418
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
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 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.