Jump to content

User contributions for Iturbide

A user with 606 edits. Account created on 31 March 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

8 April 2025

  • 05:2405:24, 8 April 2025 diff hist −1 DevOpenDC No edit summary
  • 05:2105:21, 8 April 2025 diff hist +8 DevOpenDC Related Functions
  • 05:2005:20, 8 April 2025 diff hist −2 DevCloseDC Example Code
  • 05:1905:19, 8 April 2025 diff hist 0 DrgLazyDrag No edit summary current
  • 05:1805:18, 8 April 2025 diff hist +2,583 N DrgVerifyTypeSet Created page with "This function returns the intersection of the contents of the string associated with the type-string handle for an object and an application-specified type string. ==Syntax== DrgVerifyTypeSet(pDragitem, pType, cbBuflen, pBuffer) ==Parameters== ;pDragitem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose hstrType is to be verified. ;pType (PSZ) - input: String specifying the types to search for. This string is in the format: type[,type...] ;cbBuflen (ULONG..." current
  • 05:1705:17, 8 April 2025 diff hist +1,697 N DrgVerifyType Created page with "This function verifies whether a given type is present in the list of types defined for a drag object. ==Syntax== DrgVerifyType(pDragitem, pType) ==Parameters== ;pDragitem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose hstrType is to be verified. ;pType (PSZ) - input: String specifying the types to search for. This string is in the format: type[,type...] ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Successful completion. :: FALSE -..." current
  • 05:1605:16, 8 April 2025 diff hist +1,877 N DrgVerifyTrueType Created page with "This function determines if the true type of a dragged object matches an application-supplied type string. ==Syntax== DrgVerifyTrueType(pDragitem, pType) ==Parameters== ;pDragitem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose true type is to be verified. ;pType (PSZ) - input: String specifying a type. This string is in the format: type[,type...] ==Returns== ;rc (BOOL) - returns: Validity indicator. :: TRUE - Successful completion. :: FALSE - Error..." current
  • 05:1505:15, 8 April 2025 diff hist +1,779 N DrgVerifyRMF Created page with "This function determines if a given rendering mechanism and format are supported for a dragged object. ==Syntax== DrgVerifyRMF(pDragitem, pMech, pFormat) ==Parameters== ;pDragitem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose native rendering mechanism and format are to be validated. ;pMech (PSZ) - input: String specifying the rendering mechanism to search for. NULL will match any mechanism. ;pFormat (PSZ) - input: String specifying the rendering format..." current
  • 05:1405:14, 8 April 2025 diff hist +8 DrgVerifyNativeRMF Parameters current
  • 05:1305:13, 8 April 2025 diff hist +2,531 N DrgVerifyNativeRMF Created page with "Determines if the native rendering mechanism and format of an object match any supplied by the application. ==Syntax== DrgVerifyNativeRMF(pDragitem, pRMF) ==Parameters== ;pDragitem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose native rendering mechanism and format are to be verified. ;pRMF (PSZ) - input: A string specifying the rendering mechanism and format. :: The string is of the form: <pre> mechfmt[,mechfmt,mechfmt,...] </pre> :: where mechfmt can b..."
  • 05:1205:12, 8 April 2025 diff hist +1,542 N DrgSetDragPointer Created page with "This function sets the pointer to be used while over the current target. ==Syntax== DrgSetDragPointer(pdinfo, hptr) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure to be used for this drag. ;hptr (HPOINTER) - input: Handle to the pointer to use. ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Successful completion. :: FALSE - Error occurred. ==Remarks== This function sets the pointer to be used to indicate the hot spo..." current
  • 05:1205:12, 8 April 2025 diff hist +7,037 N DrgSetDragitem Created page with "This function sets the values in a DRAGITEM structure. ==Syntax== DrgSetDragitem(pdinfo, pditem, cbBuffer, iItem) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure in which to place the DRAGITEM. ;pditem (PDRAGITEM) - input: Pointer to the DRAGITEM structure to place in DRAGINFO. ;cbBuffer (ULONG) - input: Size of the DRAGITEM addressed by pditem. ;iItem (ULONG) - input: Zero-based index of the DRAGITEM to be set. ==Returns== ;rc (..." current
  • 05:1005:10, 8 April 2025 diff hist +2,144 DrgSetDragImage No edit summary current
  • 05:0905:09, 8 April 2025 diff hist +1,524 N DrgSetDragImage Created page with "This function sets the image that is being dragged. ==Syntax== DrgSetDragImage(pdinfo, pdimg, cdimg, pRsvd) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure representing the drag operation for which the pointer is to be set. ;pdimg (PDRAGIMAGE) - input: Pointer to an array of DRAGIMAGE structures. :: These structures describe the images to be drawn under the pointer during the drag. ;cdimg (ULONG) - input: Number of DRAGIMAGE structure..."
  • 05:0805:08, 8 April 2025 diff hist +32 Presentation Manager Functions Direct Manipulation Functions
  • 05:0705:07, 8 April 2025 diff hist +4 DrgSendTransferMsg Remarks current
  • 05:0605:06, 8 April 2025 diff hist +4,479 N DrgSendTransferMsg Created page with "This function sends a message to the other application involved in the direct manipulation operation. ==Syntax== DrgSendTransferMsg(hwndTo, ulMsgid, mpParam1, mpParam2) ==Parameters== ;hwndTo (HWND) - input: Window handle to which the message is to be sent. :: '''Target''': hwndItem in the DRAGITEM structure. :: '''Source''': hwndClient in the DRAGTRANSFER structure. ;ulMsgid (ULONG) - input: Identifier of the message to be sent. :: Valid messages are: ::: DM_..."
  • 05:0505:05, 8 April 2025 diff hist +4 DrgReleasePS Parameters current
  • 05:0505:05, 8 April 2025 diff hist +1,168 N DrgReleasePS Created page with "This function releases a presentation space obtained by using the DrgGetPS function. ==Syntax== DrgReleasePS(hps) ==Parameters== ;hps (HPS) - input: Handle of the presentation space to release. ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Successful completion. :: FALSE - Error occurred. ==Remarks== Only presentation spaces created with DrgGetPS can be released using this function. The presentation-space handle should not be used after..."
  • 05:0305:03, 8 April 2025 diff hist +2,012 N DrgReallocDraginfo Created page with "This function releases the current DRAGINFO structure and reallocates a new one. ==Syntax== DrgReallocDragInfo(pdinfoOld, cditem) ==Parameters== ;pdinfoOld (PDRAGINFO) - input: Pointer to the current DRAGINFO structure. ;cditem (ULONG) - input: Number of DRAGITEM structures to be allocated. ==Returns== ;pdinfoCurrent (PDRAGINFO) - returns: Pointer to a newly allocated DRAGINFO structure. ==Remarks== It is necessary to call DrgReallocDragInfo anytime objects are..." current
  • 05:0205:02, 8 April 2025 diff hist +2,307 N DrgQueryTrueTypeLen Created page with "This function obtains the length of the string that represents the true type of a dragged object. ==Syntax== DrgQueryTrueTypeLen(pditem) ==Parameters== ;pditem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose type length is to be obtained. ==Returns== ;ulLength (ULONG) - returns: String length of the first element of the character string associated with hstrType. :: 0 - Error occurred. :: Other - The length of the first element of the character string..." current
  • 05:0105:01, 8 April 2025 diff hist +1,835 N DrgQueryTrueType Created page with "This function obtains the true type of a dragged object. ==Syntax== DrgQueryTrueType(pditem, cbBuffer, pBuffer) ==Parameters== ;pditem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose type is to be obtained. ;cbBuffer (ULONG) - input: Maximum number of bytes to copy to pBuffer. Must be > 0. ;pBuffer (PSZ) - output: Buffer in which the null-terminated string is to be returned. ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Successfu..." current
  • 04:5904:59, 8 April 2025 diff hist +20 Presentation Manager Functions Direct Manipulation Functions
  • 00:3400:34, 8 April 2025 diff hist 0 Presentation Manager Functions Direct Manipulation Functions
  • 00:3400:34, 8 April 2025 diff hist −2 DrgAccessDraginfo Example Code
  • 00:3300:33, 8 April 2025 diff hist +28 DrgAccessDraginfo No edit summary
  • 00:3100:31, 8 April 2025 diff hist +31 N DrgAccessDragInfo Iturbide moved page DrgAccessDragInfo to DrgAccessDraginfo current Tag: New redirect
  • 00:3100:31, 8 April 2025 diff hist 0 m DrgAccessDraginfo Iturbide moved page DrgAccessDragInfo to DrgAccessDraginfo
  • 00:3000:30, 8 April 2025 diff hist +2,427 N DrgQueryStrNameLen Created page with "This function gets the length of a string associated with a string handle. ==Syntax== DrgQueryStrNameLen(hstr) ==Parameters== ;hstr (HSTR) - input: String handle. The handle must be created with DrgAddStrHandle. ==Returns== ;cLength (ULONG) - returns: Length of the string associated with hstr. :: 0 - The string handle is NULLHANDLE or is not valid. :: Other - The length of the string associated with the string handle, excluding the null terminating byte. ==R..." current
  • 00:2900:29, 8 April 2025 diff hist +2,435 N DrgQueryStrName Created page with "This function gets the contents of a string associated with a string handle. ==Syntax== DrgQueryStrName(hstr, cbBuffer, pBuffer) ==Parameters== ;hstr (HSTR) - input: The handle must have been created with DrgAddStrHandle. ;cbBuffer (ULONG) - input: Maximum number of bytes to copy into pBuffer. Must be greater than 0. Otherwise, an error is returned. ;pBuffer (PSZ) - output: Buffer where the null-terminated string is returned. ==Returns== ;ulLength (ULONG)..." current
  • 00:2800:28, 8 April 2025 diff hist +1,626 N DrgQueryNativeRMFLen Created page with "Obtains the length of the string representing the native rendering mechanism and format of the dragged object. ==Syntax== DrgQueryNativeRMFLen(pditem) ==Parameters== ;pditem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose native rendering mechanism and format string length are to be obtained. ==Returns== ;ulLength (ULONG) - returns: String length of the ordered pair. :: 0 - Error occurred. :: Other - String length of the ordered pair, excluding the n..." current
  • 00:2800:28, 8 April 2025 diff hist +2,051 N DrgQueryNativeRMF Created page with "Obtains the ordered pair that represents the native rendering mechanism and format of the dragged object. ==Syntax== DrgQueryNativeRMF(pditem, cbBuffer, pBuffer) ==Parameters== ;pditem (PDRAGITEM) - input: Pointer to the DRAGITEM structure whose native rendering mechanism and format are to be obtained. ;cbBuffer (ULONG) - input: Maximum number of bytes to copy to the buffer. ;pBuffer (PCHAR) - output: Pointer to the buffer in which the null-terminated string is to..." current
  • 00:2700:27, 8 April 2025 diff hist +550 N DrgQueryDragStatus Created page with "This function determines the status of the current drag operation. ==Syntax== DrgQueryDragStatus() ==Returns== ;rc (ULONG) - returns: Flag indicating the current drag status. :: 0 - A drag operation is not currently in progress. :: DGS_DRAGINPROGRESS - A standard drag operation is in progress. :: DGS_LAZYDRAGINPROGRESS - A lazy drag operation is in progress. ==Example Code== <pre> #define INCL_WINSTDDRAG #include <os2.h> if (DrgQueryDragStatus() & DGS_LAZYDRAGIN..." current
  • 00:2600:26, 8 April 2025 diff hist −4 DrgQueryDragitemPtr Returns current
  • 00:2600:26, 8 April 2025 diff hist +1,356 N DrgQueryDragitemPtr Created page with "This function returns a pointer to the DRAGITEM structure used in the direct manipulation operation. ==Syntax== DrgQueryDragitemPtr(pdinfo, ulIndex) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure from which the DRAGITEM structure is obtained. ;ulIndex (ULONG) - input: Zero-based index of the DRAGITEM structure for which the pointer is to be returned. ==Returns== ;Dragitem (PDRAGITEM) - returns: Pointer to the DRAGITEM struct..."
  • 00:2500:25, 8 April 2025 diff hist +24 Presentation Manager Functions Direct Manipulation Functions
  • 00:2400:24, 8 April 2025 diff hist +709 N DrgQueryDragitemCount Created page with "This function returns the number of objects being dragged during the current direct manipulation operation. ==Syntax== DrgQueryDragitemCount(pdinfo) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure for which number of dragged objects is requested. ==Returns== ;cDitem (ULONG) - returns: Number of objects being dragged. ==Example Code== <pre> #define INCL_WINSTDDRAG Direct Manipulation (Drag) Functions: #include <os2.h> ULONG cDi..." current
  • 00:2400:24, 8 April 2025 diff hist +1,773 N DrgQueryDragitem Created page with "This function returns a DRAGITEM structure used in the direct manipulation operation. ==Syntax== DrgQueryDragitem(pdinfo, cbBuffer, pditem, iItem) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure from which the DRAGITEM structure is obtained. ;cbBuffer (ULONG) - input: Maximum number of bytes to copy to the buffer. ;pditem (PDRAGITEM) - output: Pointer to the buffer into which the DRAGITEM structure is copied. ;iItem (ULONG) - inpu..." current
  • 00:2300:23, 8 April 2025 diff hist +976 N DrgQueryDraginfoPtrFromHwnd Created page with "This function determines whether a particular window has allocated a DRAGINFO structure. ==Syntax== DrgQueryDraginfoPtrFromHwnd(hwndSource) ==Parameters== ;hwndSource (HWND) - input: Handle of the window whose associated DRAGINFO pointer is to be returned. ==Returns== ;pDraginfo (PDRAGINFO) - returns: Pointer to the DRAGINFO structure allocated by the window specified by hwndSource. :: If the return value is NULL, the DRAGINFO structure has not been allocated..." current
  • 00:2200:22, 8 April 2025 diff hist −938 DrgQueryDraginfoPtrFromDragitem No edit summary
  • 00:2100:21, 8 April 2025 diff hist −37 DrgQueryDraginfoPtrFromDragitem Related Functions
  • 00:2100:21, 8 April 2025 diff hist +1,816 N DrgQueryDraginfoPtrFromDragitem Created page with "This function is called to obtain a pointer to the DRAGINFO structure associated with a given DRAGITEM structure. ==Syntax== DrgQueryDraginfoPtrFromDragitem(pditem) ==Parameters== ;pditem (PDRAGITEM) - input: Pointer to a DRAGITEM structure whose corresponding DRAGINFO is to be returned. ==Returns== ;pDraginfo (PDRAGINFO) - returns: Pointer to the DRAGINFO structure for the specified pditem. :: A return value of NULL indicates that a DRAGITEM structure was not found...."
  • 00:2100:21, 8 April 2025 diff hist +849 N DrgQueryDraginfoPtr Created page with "This function obtains a pointer to the current DRAGINFO structure. ==Syntax== DrgQueryDraginfoPtr(pRsvd) ==Parameters== ;pRsvd (PDRAGINFO) - input: Reserved value, must be NULL. ==Returns== ;pDragInfo (PDRAGINFO) - returns: Pointer to the current DRAGINFO structure. :: A return value of NULL indicates that a DRAGINFO has not been allocated. ==Remarks== The returned DRAGINFO structure could have been allocated for use in either a standard or lazy drag operation. Dr..." current
  • 00:2000:20, 8 April 2025 diff hist +1,423 N DrgPushDraginfo Created page with "This function gives a process access to a DRAGINFO structure. ==Syntax== DrgPushDraginfo(pdinfo, hwndDest) ==Parameters== ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure. ;hwndDest (HWND) - input: Handle of the window whose process is to be given access to a DRAGINFO structure. ==Returns== ;rc (BOOL) - returns: Success indicator. :: TRUE - Successful completion. :: FALSE - Error occurred. ==Remarks== The receiving process is responsible for: #..." current
  • 00:1900:19, 8 April 2025 diff hist +2,851 N DrgPostTransferMsg Created page with "This function posts a message to the other application involved in the direct manipulation operation. ==Syntax== DrgPostTransferMsg(hwnd, msg, pdxfer, fl, ulRsvd, fRetry) ==Parameters== ;hwnd (HWND) - input: Window handle to which the message is to be posted. :: '''Target''': hwndItem in the DRAGITEM structure. :: '''Source''': hwndClient in the DRAGTRANSFER structure. ;msg (ULONG) - input: Identifier of the message to be posted. :: DM_RENDERCOMPLETE is the on..." current
  • 00:1800:18, 8 April 2025 diff hist +1,163 N DrgLazyDrop Created page with "This function is called to invoke a lazy drop operation. ==Syntax== DrgLazyDrop(hwndTarget, ulOperation, pptlDrop) ==Parameters== ;hwndTarget (HWND) - input: Handle of the target window receiving the drop. ;ulOperation (ULONG) - input: Drop operation code. :: Possible values: ::: DO_DEFAULT - Default operation. ::: DO_COPY - Operation is a copy. ::: DO_MOVE - Operation is a move. ::: DO_LINK - Operation is a link. ;pptlDrop (PPOINTL) - input: Pointer to the dr..." current
  • 00:1800:18, 8 April 2025 diff hist +32 Presentation Manager Functions Direct Manipulation Functions
  • 00:1700:17, 8 April 2025 diff hist +9,418 N DrgLazyDrag Created page with "DrgLazyDrag is called when a direct-manipulation button is pressed while the lazy drag augmentation key is held to initiate a pickup and drop (lazy drag) operation. ==Syntax== DrgLazyDrag(hwndSource, pdinfo, pdimg, cdimg, pRsvd) ==Parameters== ;hwndSource (HWND) - input: Handle of the source window that is calling this function. ;pdinfo (PDRAGINFO) - input: Pointer to the DRAGINFO structure which contains information about the objects being dragged. ;pdimg (PDRAGI..."
  • 00:1600:16, 8 April 2025 diff hist +1,501 N DrgGetPS Created page with "This function gets a presentation space that is used to provide target feedback to the user during a drag operation. ==Syntax== DrgGetPS(hwnd) ==Parameters== ;hwnd (HWND) - input: Handle of the window for which presentation space is required. ==Returns== ;Hps (HPS) - returns: Presentation-space handle used for drawing in the window. :: NULLHANDLE - Error occurred. ==Remarks== This function returns a handle to a presentation space that can be used for drawing..." current
  • 00:1500:15, 8 April 2025 diff hist +1,058 N DrgFreeDragtransfer Created page with "This function frees the storage associated with a DRAGTRANSFER structure. ==Syntax== DrgFreeDragtransfer(pdxfer) ==Parameters== ;pdxfer (PDRAGTRANSFER) - input: Pointer to the DRAGTRANSFER structures to be freed. ==Returns== ;rc (BOOL) - returns: Return code. :: TRUE - The structure was freed successfully. :: FALSE - The deallocation failed. ==Remarks== This function frees the DRAGTRANSFER structures allocated by calls to DrgAllocDragtransfer. When all of th..." current
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)