Jump to content

wpRenderComplete

From EDM2

This instance method is called to notify the object that the drag or drop rendering request is complete.

Syntax

_wpRenderComplete(somSelf, pdxfer, ulResult)

Parameters

somSelf (WPObject *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPObject.
pdxfer (PDRAGTRANSFER) - input
Pointer to a DRAGTRANSFER structure.
ulResult (ULONG) - input
Success indicator. The flag indicating whether the operation was performed successfully. See **DM_RENDERCOMPLETE** in the **Presentation Manager Programming Reference** for more information about this parameter.

Returns

mresreturn (MRESULT) - returns
Refer to the **DM_RENDERCOMPLETE** message in the **Presentation Manager Programming Reference** for a description of the return value.

How to Override

This method should be overridden if the class has a special rendering mechanism and format.

Usage

This method is generally called only by the system as the folder containing the object processed by the **DM_RENDERCOMPLETE** message.

Remarks

The **wpRenderComplete** method is called when the object receives a **DM_RENDERCOMPLETE** message. See the **DM_RENDERCOMPLETE** message in the **Presentation Manager Programming Reference** for more information.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
PDRAGTRANSFER *pdxfer; /* Pointer to a DRAGTRANSFER structure. */
ULONG ulResult; /* Success indicator. */
MRESULT mresreturn; /* Refer to the DM_RENDERCOMPLETE message in the Presentation Manager Programming Reference for a description of the return value. */

mresreturn = _wpRenderComplete(somSelf, pdxfer,
                ulResult);

Related Methods