PMGuide - Direct Manipulation
Appearance
About Direct Manipulation
Application-Defined Drag Operations
Rendering Mechanism and Format
Non-Standard Rendering Mechanisms
Responsibilities of a Source Application
Responsibilites of a Target Application
Messages Sent to a Target Application
Response to Messages Sent to a Target Application
Two-Object Drag Operation
Conversation after the Drop
Canceling a Drag Operation
About Pickup and Drop
Data Structure Handling
Message Handling
About Rendering Mechanisms
OS/2 File Rendering Mechanism
Mechanism Name
Messages
Native Mechanism Actions
Preventing a Target from Rendering an Item
Requesting the Source to Render the Item
Allocating and Freeing a DRAGTRANSFER Data Structure
Operation Specifics
Non-Native Mechanism Actions
Naming Conventions
Types
Print Rendering Mechanism
Mechanism Name
Messages
Native Mechanism Actions
Naming Conventions
Dynamic Data Exchange (DDE) Rendering Mechanism
Mechanism Name
Messages
Native Mechanism Actions
Operation Specifics
Non-Native Mechanism Actions
Naming Conventions
Types
Application-Defined Rendering Mechanisms
Mechanism Name
Native Mechanism Actions
Naming Conventions
Performance Considerations
Using Direct Manipulation
Allocating Memory for the Drag Operation
Initializing DRAGITEM Data Structure
Type
True Type
Rendering Mechanism and Format
Native Rendering Mechanism and Format
Suggested Name at Target
Container Name
Source Name
Sample Code for Initializing DRAGITEM Data Structure
Initializing DRAGIMAGE Data Structure
Starting the Drag Operation
Responding to the DM_DRAGOVER Message
Providing Target Emphasis
Providing Customized Images
Responding to the DM_DRAGLEAVE Message
Responding to the DM_DROP Message
Exchanging Data
Performance Considerations
Using Pickup and Drop