Simulating Drag-and-Drop Interface for Custom Control

ID: Q69080


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1


SUMMARY

The Microsoft Software Library 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 files are available for download from the Microsoft Download Center. Click the file names below to download the files:


Movecc.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words: softlib MOVECC.EXE

Keywords : kbfile kbsample kb16bitonly kbCtrl kbDragDrop kbSDKPlatform kbGrpUser kbWinOS310 kbWinOS300 kbUser
Version : WINDOWS:3.1
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.