Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Drag & Drop

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32
Win32  
Author Message
XNote
Kapetan


Joined: 16 Jun 2006
Posts: 532

PostPosted: Wed Nov 15, 2006 1:39 am    Post subject: Drag & Drop Reply with quote

GipsySoft: DragEdit

"I was inspired by Ahmad Shyazli's DragEdit on CodeGuru.

Ahmad took the usual MFC approach and created a class derived from
CEdit. I thought I could do it with my usual one-function approach and
had a quick hack last night.

The result is a single function call to allow you to get file or folder names
from files or folders dropped onto your edit control."
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Tue May 08, 2007 2:34 pm    Post subject: Reply with quote

RC: Drag and drop is a general purpose transfer model, not exclusive to
Explorer directories


"From the description, it appears that what piers really wants is the destination
path, but who says that the drop destination is a directory? The user might
have dropped the item into an email message, onto an FTP site, onto a Web
site (via Web Folders), or even a directory on an operating system running
inside a virtual machine!"
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3524
Location: Zagreb

PostPosted: Thu Oct 25, 2007 12:32 am    Post subject: Reply with quote

RC: What's the difference between LVM_HITTEST and LVM_INSERTMARKHITTEST?

"You use LVM_INSERTMARKHITTEST when the user is dragging something
and you want to see what the item is going to be dropped between."
Back to top
View user's profile Send private message Visit poster's website
XNote
Kapetan


Joined: 16 Jun 2006
Posts: 532

PostPosted: Wed Nov 07, 2007 6:28 pm    Post subject: Reply with quote

Catch22 - OLE Drag and Drop Tutorial

"This tutorial will ease you through the pain of writing the required OLE inter-
faces necessary to enable drag & drop behaviour. As usual, we will use pure
Win32 API techniques. However, I will be using C++ rather than C, because
C++ is definitely the preferred language to write COM interfaces with. It would
be a simple matter to convert the code to C as I will also explain."
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Wed Mar 12, 2008 3:21 pm    Post subject: Reply with quote

RC: What a drag: Dragging text

"This week's mini-series was almost titled "It's the least you could do"
because I'm going to try to do the absolute least amount of work to
accomplish something interesting with drag and drop. The real purpose
today is to lay some groundwork, but just to have something to show
for our effort, I'll show you how to drag text around."
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3136
Location: Europe

PostPosted: Thu Jul 24, 2008 4:52 pm    Post subject: Reply with quote

RC: Reading a contract from the other side: Simulating a drop

"For example, you can drop a file onto a shortcut to a printer, and the file
will print; or you can drop a file onto a folder and it will be copied there
(since we specified DROPEFFECT_COPY | DROPEFFECT_LINK, but folders
prefer copy to link if the Ctrl+Shift keys are not held down); or you can
drop a file onto the Mail Recipient.MAPIMail shortcut in your <Send To>
folder to create a mail message with the file as an attachment."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32 All times are GMT + 1 Hour
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


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group