forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Drag and drop into a taskicon

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Fri Apr 15, 2011 2:36 pm    Post subject: Drag and drop into a taskicon Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Fri Apr 15, 2011 5:15 pm    Post subject: Reply with quote

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 Twisted Evil
Back to top
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Fri Apr 15, 2011 5:16 pm    Post subject: Reply with quote

Do taskicons have individual hwnds?
Back to top
View user's profile Send private message AIM Address
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Apr 15, 2011 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Fri Apr 15, 2011 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Fri Apr 15, 2011 5:29 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Fri Apr 15, 2011 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Sat Apr 16, 2011 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Apr 16, 2011 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Mon Apr 18, 2011 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Tue Apr 19, 2011 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 766
Location: Eastman, GA

PostPosted: Tue Apr 19, 2011 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group