473,383 Members | 1,795 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.

Drag and Drop to SysTray ?

Hi guys,

I'm working on a application that I want to drag a file into, and at the
time of dropping, get the full path of the file. But, what I really want is
to drag the file to a waiting NotifyIcon in the system tray and drop it
there to execute the process.

I notice in just playing around some that dragging and mousing over anything
currently in my task tray yields an 'invalid' mouse pointer and was
wondering if someone could tell me if it is even conceivable to do this
before I spend to much time on it.

Thanks guys,
chrisj
Jan 10 '06 #1
5 3478
Chris,

"Chris Johnson" <ra*****@gmail.com> schrieb:
I'm working on a application that I want to drag a file into, and at the
time of dropping, get the full path of the file. But, what I really want
is to drag the file to a waiting NotifyIcon in the system tray and drop it
there to execute the process.


I would not include this feature in an application simply because it's very
uncommon to drag something over the taskbar's notification area.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 10 '06 #2
Herfried,

For the average user I would more than totally agree, it would be highly
unintuitive.

In this one instance though, this application would be well benefited by it.
Basically,
in my work I have to generate many postscript files during my day to day
work, and,
if I want to see what they look like without printing, I then have to
distill it. This leads
to many problems with distilling from different network locations, to
different network
locations and so forth.

My dream application is that I can drag and drop a PS file to the app, it
does the work
in the background, and I get my PDF. I can do everything but the drag to
systray. It would
just be nicer if it could reside there rather than the start bar.

Any thoughts?

chrisj

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eg**************@TK2MSFTNGP12.phx.gbl...
Chris,

"Chris Johnson" <ra*****@gmail.com> schrieb:
I'm working on a application that I want to drag a file into, and at the
time of dropping, get the full path of the file. But, what I really want
is to drag the file to a waiting NotifyIcon in the system tray and drop
it there to execute the process.


I would not include this feature in an application simply because it's
very uncommon to drag something over the taskbar's notification area.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 10 '06 #3
"Chris Johnson" <ra*****@gmail.com> schrieb:
In this one instance though, this application would be well benefited by
it. Basically,
in my work I have to generate many postscript files during my day to day
work, and,
if I want to see what they look like without printing, I then have to
distill it. This leads
to many problems with distilling from different network locations, to
different network
locations and so forth.


I am sorry, but I do not have an idea on how to implement this particular
feature you are requesting. However, some applications such as FlashGet (a
file download client) place a so-called "drop target" somewhere on the
screen, which is a semi-transparent small borderless window which is
displayed on top of all other windows (see properties 'TopMost' and
'Opacity' of Windows Forms forms).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 10 '06 #4
Chris Johnson wrote:
My dream application is that I can drag and drop a PS file to the app, it
does the work
in the background, and I get my PDF. I can do everything but the drag to
systray. It would
just be nicer if it could reside there rather than the start bar.


Why not just add an option to the context menu so that when you right
click on a PS file, you get a menu option to do the work you want?
That seems more intuitive to me.

Jan 11 '06 #5
Yea, that is what I think I will end up doing. The drop to system tray was
just desired so that I could learn something new on the way to completion of
the project.

Thanks for the input all!
chrisj

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Chris Johnson wrote:
My dream application is that I can drag and drop a PS file to the app, it
does the work
in the background, and I get my PDF. I can do everything but the drag to
systray. It would
just be nicer if it could reside there rather than the start bar.


Why not just add an option to the context menu so that when you right
click on a PS file, you get a menu option to do the work you want?
That seems more intuitive to me.

Jan 11 '06 #6

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

Similar topics

6
by: hemant_mishal | last post by:
Hi All, I am writting a java script library which will provide inter frame drag and drop operation. The more precise will be OLE drag and drop, which means only data will be transfered from frame...
0
by: Lauren Quantrell | last post by:
I'm trying to drop a file from Windows Explorer (or desktop, etc.) onto a field in Access2K and capture the full file path. I found an posting below that says this is possible but I cannot...
2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
3
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
1
by: Darren | last post by:
I'm trying to create a file using drag and drop. I want to be able to select a listview item drag it to the shell and create a file. Each icon in the listview represents a blob in a database. When...
0
by: RHSFSS | last post by:
Hi, I have a Drag and Drop registration problem (See http://www.thescripts.com/forum/thread434707.html for similar problem post), can anyone out thereadvise on the best solution? I have a .NET 2.0 ...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.