The IDM structure contains all of the common enumerations and definitions that are shared by the direct manipulation classes.
This structure contains the definitions of the following enumerations:
This structure contains the definitions of the following typedefs:
This structure defines a static debug support flag for debugging purposes.
These strings identify the default drag item types of the
Open Class Library. Use the drag item type to identify the type of data object
that the drag item represents. For example, use
IDM::containerObject to identify a container object as the data
object that the drag item represents.
Note:
![]() |
public:
static Type const any
Drag item represents any data object. This type combines all of the other types.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const binary
Drag item represents a generic binary object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const binaryData
Drag item represents a binary data object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const bitmap
Drag item represents a bitmap object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const container
Drag item represents a container control object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const containerObject
Drag item represents a container object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const file
Drag item represents a file object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const icon
Drag item represents an icon object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const menuItem
Drag item represents a menu item object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const plainText
Drag item represents a plain text object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const text
Drag item represents a generic text object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const toolBarButton
Drag item represents a tool bar button object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static Type const unknown
Drag item represents an unknown object.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these strings to query or set rendering formats that
are supported by the Open Class Library.
Note:
![]() |
public:
static RF const rfAny
Drag item supports any rendering format. This format combines all of the other formats. The Open Class Library does not provide default support for this format.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RF const rfObject
Drag item supports the OS/2 Workplace Shell's object rendering format. The Open Class Library does not provide default support for this format.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RF const rfProcess
Drag item supports the process rendering format. The process rendering format is created by appending the equal sign and the process ID to this string. See the static member function IDMItem::rfForThisProcess for more information.
The Open Class Library provides default support for this format.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RF const rfSharedMem
Drag item supports the shared memory rendering format. The Open Class Library provides default support for this format.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RF const rfText
Drag item supports the text rendering format. The text rendering format is used if the text length is less than or equal to 255 bytes, if the text does not contain embedded NULL characters, and if the IDM::rmFile rendering mechanism is not added in a derived class.
The Open Class Library provides default support for this format.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RF const rfUnknown
Drag item supports an unknown rendering format. The Open Class Library provides default support for this format.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use these strings to query or set rendering mechanisms that
are supported by the Open Class Library.
Note:
![]() |
public:
static RM const rmAny
Drag item supports any rendering mechanism. This mechanism combines all of the other mechanisms. The Open Class Library does not provide default support for this mechanism.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RM const rmDiscard
Drag item supports the operating system's rendering mechanism for the discarding (shredding) of objects. The Open Class Library does not provide default support for this mechanism.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RM const rmFile
Drag item supports the operating system's file rendering mechanism. The Open Class Library provides default support for this mechanism.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RM const rmLibrary
Drag item supports the default rendering mechanism of the Open Class Library.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RM const rmObject
Drag item supports the OS/2 Workplace Shell's object rendering mechanism. The Open Class Library does not provide default support for this mechanism.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static RM const rmPrint
Drag item supports the operating system's rendering mechanism for the printing of objects. The Open Class Library does not provide default support for this mechanism.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum DiscardIndicator { sourceDiscards=0x0001, targetDiscards=0x0002, abortDiscard=0x0003 }
Use the DiscardIndicator enumeration as an argument to the member function IDMSourceDiscardEvent::setWhoDiscards to set the discard indicator. Enumerations of the possible discard indicator values include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum DragImageStyle { stack3AndFade, allStacked, systemImages }
Use the DragImageStyle enumeration as an argument to the member function IDMSourceOperation::setImageStyle to set the drag image style. Enumerations of the possible drag image styles to use when displaying the drag image include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum DropIndicator { notOk=0x0000, ok=0x0001, operationNotOk=0x0002, neverOk=0x0003 }
Use the DropIndicator enumeration as an argument to the member function IDMTargetEnterEvent::setDropIndicator to set the drop indicator values for a direct manipulation. Use the DropIndicator as an argument to the member function IDMItem::setDropStatus to set the drop status of individual drag items. Enumerations of the possible drop indicator values include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum DropStyle { notContainer=0x0000, dropAtPosition=0x0001, alignVertical=0x0002, alignFlow=0x0004, flowBeside=0x0008 }
Use the DropStyle enumeration as an argument to the member function IDMTargetOperation::setStyle to set the drop style. Enumerations of the possible drop style values include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum PrintIndicator { sourcePrints=0x0001, targetPrints=0x0002, abortPrint=0x0003 }
Use the PrintIndicator enumeration as an argument to the member function IDMSourcePrintEvent::setWhoPrints to set the print indicator. Enumerations of the possible print indicator values include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum RenderCompletion { targetSuccessful=0x0001, targetFailed=0x0002, retry=0x0008, renderOk=0x0010, fail=0x0020 }
Use the RenderCompletion enumeration as an argument to the member function IDMSourceRenderEvent::setCompletion to set the render completion values for the source. Use the member function IDMTargetRenderer::informSourceOfCompletion to set the render completion values for the target. Enumerations of the possible render completion values include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
enum Source { pointingDevice, keyboard }
Use the Source enumeration as an argument to the member function IDMOperation::setSource to set the type of the device that is the source of the direct manipulation. Enumerations of the possible source values include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef const char * Type
Definition of the default drag item types of the Open Class Library include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef const char * RF
Definition of the default rendering formats of the Open Class Library include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef const char * RM
Definition of the default rendering mechanisms of the Open Class Library include the following:
Windows | OS/2 | AIX |
Yes | Yes | Yes |