DrgVerifyType - Example Code

This example verifies whether a given type is present in the list of types defined for a drag object.

#define INCL_WINSTDDRAG  /* Direct Manipulation (Drag) Functions */
#include <OS2.H>


BOOL     fValid;
DRAGITEM Dragitem;       /* DRAGITEM structure whose hstrType is */
                         /* to be verified                       */
char pszType[] = DRT_EXE;
                         /* A string specifying the types to     */
                         /* search for                           */

fValid = DrgVerifyType(&Dragitem, pszType);


[Back: DrgVerifyType - Related Functions]
[Next: DrgVerifyType - Topics]