Simulating Drag-and-Drop Interface for Custom Control (69080)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q69080

SUMMARY

The Microsoft Download Center contains a file named MOVECC, which demonstrates how to simulate the Drag and Drop interface for custom controls. By using the MoveWindow() function, this sample allows you to click on a control and drag it to a new location.

MOVECC also demonstrates how to manipulate child window Z-order to prevent windows from going behind other child windows, and to avoid children painting on other children.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Modification Type:MinorLast Reviewed:2/11/2005
Keywords:kbdownload kb16bitonly kbCtrl kbDragDrop kbfile kbinfo kbsample kbUser KB69080