473,383 Members | 1,885 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,383 software developers and data experts.

Form come up near system tray

I'm writing a very small notifyicon app and I want a form to pop up on double click near the icon tray.
Any suggestions?
Thanks.
Jun 26 '07 #1
2 1890
Hi,

You can calculate the size of the screen and then position the window where
you want.

"deciacco" <a@awrote in message
news:B6******************************@giganews.com ...
I'm writing a very small notifyicon app and I want a form to pop up on
double click near the icon tray.
Any suggestions?
Thanks.

Jun 26 '07 #2
I wasn't sure how to get the desktop information. What I needed was the keyword "Screen".
This is what I did for future ref:

myapp.MyForm frmDisplay = new MyForm();
Rectangle scrn = new Rectangle();
scrn = Screen.PrimaryScreen.WorkingArea;
frmDisplay.Top = scrn.Height - frmDisplay.Height;
frmDisplay.Left = scrn.Width - frmDisplay.Width;
frmDisplay.Show();

Thanks!!

Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,

You can calculate the size of the screen and then position the window where
you want.

"deciacco" <a@awrote in message
news:B6******************************@giganews.com ...
>I'm writing a very small notifyicon app and I want a form to pop up on
double click near the icon tray.
Any suggestions?
Thanks.

Jun 26 '07 #3

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

Similar topics

1
by: balu | last post by:
Hello , I Had a problem in developing a application for getting a message over or above system tray . When we first logon into the yahoo messenger , whenever a new user logon ,The messenger...
7
by: Danielb | last post by:
I want my application to run most of the time as just an notify icon visible in the system tray, with some dialogs windows that open if the user selects an option from the context menu on the tray...
8
by: Michael Rich | last post by:
I am writing a program that primaryly runs in the system tray. When the program starts, I would like to hide the main form and only show the tray icon. in the Form Load event I set Me.Visible =...
1
by: dk | last post by:
Any idea why the response time is slow when running a system tray app when viewing the properties form? There is one primary loop and a timer control which executes every 3minutes. Is having the...
4
by: steve | last post by:
hi all, i was wondering how is it possible to add an extra box ( i think they are called boxes: upper right corner ...) in a form that will minimize it in the system tray? You know some...
4
by: Matthew | last post by:
The following code does not hide the form. Any ideas why? Also, is there a workaround? I have VB.NET 2003. I have a system tray icon, and want to have that be the only thing showing when the...
1
by: Thief_ | last post by:
I have two projects in one solution: a.. Outlook Monitor b.. Tray Notification Both contain a form called "Form1.vb". How do I reference "Outlook Monitor"'s Form1 from "Tray Notification"'s...
10
by: Crouchie1998 | last post by:
Hello To All You Real Programmers Out There!! There is an application called: "Tray It" Webpage: ---------- http://www.teamcti.com/trayit/trayit.htm Direct Download:
2
by: mqudsi | last post by:
I'm making a system tray application, and I just can't figure out how to make it hide on execution just like it used to in C++. If I have a button the form and in the button's Click method i have...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
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...

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.