Microsoft KB Archive/248309

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 20:46, 16 July 2020 by X010 (talk | contribs) (1 revision imported: importing part 2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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


Last Reviewed: October 23, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.