Microsoft KB Archive/248309

{|
 * width="100%"|

BUG: Shell Drag and Drop Handlers Not Called for a Drive Root

 * }

Q248309

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), on platform(s):
 * the operating system: Microsoft Windows 2000

-

SYMPTOMS
If a shell drag and drop handler is registered under the HKEY_CLASSES_ROOT\Directory\ShellEx\DragDropHandlers key, the handler will not be invoked when you drop an object on the root of a drive, such as C:\. This symptom will also occur when the drag and drop handler is registered under the HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers key.

In Windows NT 4.0, Windows 95, and Windows 98, the drag and drop handler is invoked when an object is dropped on the drive root.

CAUSE
The drive's drop target handler fails to read the drag and drop handlers from these registry keys:

HKEY_CLASSES_ROOT\Directory\ShellEx\DragDropHandlers

HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers

RESOLUTION
You can avoid this problem by registering the drag and drop handler under the HKEY_CLASSES_ROOT\Drive\ShellEx\DragDropHandlers key in addition to the Directory or Folder keys.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words: kbGrpShell, kbDragDrop

Keywords : _IK kbExtension kbOSWin2000bug kbSDKPlatform kbSDKWin32 kbShellGrp kbDSupport

Issue type : kbbug

Technology : kbAudDeveloper kbWin32sSearch kbWin32API