| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Fri Apr 15, 2011 2:36 pm Post subject: Drag and drop into a taskicon |
|
|
I know there is a mouseover in vds 6, but is there a way to drag and drop into a taskicon? _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Fri Apr 15, 2011 5:15 pm Post subject: |
|
|
Realistically, I don't see this as a difficulty with VDS, but any dialog language I'm familiar with...
I'd have to say no; however, I dare you to prove me wrong  |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Fri Apr 15, 2011 5:16 pm Post subject: |
|
|
| Do taskicons have individual hwnds? |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Apr 15, 2011 5:17 pm Post subject: |
|
|
I bet something could be whipped up using GadgetX, but honestly have no clue if it could be done, just that if it could, GadgetX would be the likely candidate to aid you in that effort. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Fri Apr 15, 2011 5:21 pm Post subject: |
|
|
| Just did a WindowSpy on #Shell_TrayWnd, I'm not seeing where the taskicons have distinguishable hwnds so I'm still running with no. I'm my opinion it's not reasonably possible. It may be possible, but not within the realm of reason and should be considered out of scope. |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Fri Apr 15, 2011 5:29 pm Post subject: |
|
|
Blast you. You're making me think.
OK, what you could do...maybe...
Don't create a taskicon in the traditional manner. Create a notitle window the right size, then parent it into #Shell_TrayWnd somehow.
I'm not going to get involved any further than that. But this seems within reason.
For a normal traditional taskicon, no way within reason. |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Fri Apr 15, 2011 5:35 pm Post subject: |
|
|
| Hey, I'd find a way to use the toolbar! Just make a link and pass the variables on as %1 and collect them in a file. Taskbar toolbars have been around since Win98, and are in Win7 as well. Just another opinion ;p |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Sat Apr 16, 2011 6:35 am Post subject: |
|
|
| taskicons are just images that Windows draws in the notification area, you wont be able to drag and drop there; as mentioned by others images have no handles. They are only interactive as Windows sends a notification when you click on the image; allowing you to show a popup or your own custom window. |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Sat Apr 16, 2011 1:04 pm Post subject: |
|
|
Hum, thanks for the ideas/info. I am using an app that allows me to drag and drop onto it's icon on the task bar. I guess it's using some kind of window?
How does VDS know when my mouse is over the icon for the mouseover event? If I could get the location of the icon I may be able to make a dialog over it to use as a drop target.
Any more ideas? _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Mon Apr 18, 2011 4:30 pm Post subject: |
|
|
Hi LiquidCode,
Sometime ago I writed this code to make what you asked
| Code: | Title drag&drop
Parse "%z;%z;%x;%y",@SysInfo(DESKTOPRECT)
%y =@Diff(%y,5)
%x =@Diff(%x,30)
DIALOG CREATE,D&D,%y,%x,10,5,BALLOONTIPS,NOTITLE,DRAGDROP,ONTOP
Dialog Add,TaskIcon,Icona,,
Dialog Show
:Loop
Wait Event
%e = @Event()
Goto %e
:DragDrop
List Create,1
List Dropfiles,1
Info @Text(1)
List Close,1
Goto Loop
:IconaCLICK
Stop |
I hope this will usefull to you
Byez |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Tue Apr 19, 2011 12:13 am Post subject: |
|
|
Thanks, but I don't think this will work for me. I am running Windows 7 and I need to be able to drag and drop right onto a task icon.
I think I am going to have to figure out a different way for what I want/need.
Thanks all! _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
cnodnarb Professional Member


Joined: 11 Sep 2002 Posts: 766 Location: Eastman, GA
|
Posted: Tue Apr 19, 2011 2:13 am Post subject: |
|
|
If you OWN the window the dropfiles originate from....
you could parent a window into the tray while the files are being dragged and wait for the mouse release, grab the files then hide the window.
The window would be a screenshot of the actual tray area.
Only time window should be shown is when the dropfile even is occuring.
I've looked into this, the app your using most likely uses ugly COM code (only other way to do it) and if more than one app hooks in then it will be a nightmare. |
|
| Back to top |
|
 |
|