473,403 Members | 2,270 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,403 software developers and data experts.

What are these Windows Explorer clipboard formats used for?

If I select files in Windows Explorer and click Copy I find the following
formats on the clipboard.
I know what FileDrop contains. How can I find out what the others are used
for?

FileDrop
FileName
FileNameW
Shell IDList Array
Preferred DropEffect
Shell Object Offsets appears if there is only one file

Thanks
Nov 17 '05 #1
2 2002
Basically, an object on the clipboard can have many different formats.
Because the drag source doesn't know which application will use it (or what
format the drop target will want), the drag source places on the clipboard
what formats it supports. Then, the drop source can enumerate through those
types, and determine the one that best suits its needs.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

" **Developer**" <RE*************@a-znet.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
If I select files in Windows Explorer and click Copy I find the following
formats on the clipboard.
I know what FileDrop contains. How can I find out what the others are used
for?

FileDrop
FileName
FileNameW
Shell IDList Array
Preferred DropEffect
Shell Object Offsets appears if there is only one file

Thanks

Nov 17 '05 #2
Nicholas Paldino [.NET/C# MVP] wrote:
Basically, an object on the clipboard can have many different formats.
Because the drag source doesn't know which application will use it (or what
format the drop target will want), the drag source places on the clipboard
what formats it supports. Then, the drop source can enumerate through those
types, and determine the one that best suits its needs.

Hope this helps.

I was wondering what the formats I listed are used for.

Thanks
Nov 17 '05 #3

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

Similar topics

2
by: Gey-Hong Gweon | last post by:
Is there a way to copy a PIL image to windows clipboard (as a dib image or a bitmap, I suppose)? What I would like to accomplish is to do a fast copy and paste of images from my python...
5
by: Trevor Best | last post by:
Is there a built-in way of accessing the clipboard in Access? -- This sig left intentionally blank
4
by: Dave | last post by:
I need to add the ability to drag from a Windows Form and drop into a non dotNet application. For example, having a generated image in my app that I wish to drag out into explorer as a friendly way...
0
by: geo24 | last post by:
Have a problem with clipboard. Using the standard way for copying the image data: read the image into "myBitmap" copy the image into clipboard: DataObject myData = new DataObject();...
1
by: B. Cline | last post by:
Hi, I need to write a conversion routine to split pictures out of about 10000 word documents. (Actually the text is converted to RTF, the pictures should be converted to jpg). I thought I...
11
by: Andrey Dzizenko | last post by:
Hi all! Did anyone try the subj? I use extern IsClipboardFormatAvailable and GetClipboardData from user32.dll. IsClipboardFormatAvailable(14) returns true, but GetClipboardData(14)...
5
by: nagar | last post by:
I have a .NET 2.0 application that needs to backup and restore the contents of the clipboard. When I back it up, I use this code: DataObject oldClipboard = Clipboard.GetDataObject();...
6
by: \Frank\ | last post by:
On the Internet there are many descriptions of the memory layout for a DIB. But none that I can find for a Bitmap. Is that because a Bitmap's layout depends on a related device. If that's...
6
by: \Frank\ | last post by:
I trying to learn what a Bitmap is. Not a Managed Bitmap Object but one that, for example, comes from the clipboard with CF_BITMAP. I'm guessing that a CompatableBitmap is an array of indices...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.