This method is specific to Version 3, or higher, of the OS/2 operating system.
This instance method modifies the current object style for the given object.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulStyleFlags; /* Flag indicating the object's styles to be affected. */ ULONG ulStyleMask; /* Style flags in ulStyleFlags to be set or cleared. */ BOOL rc; /* Success indicator. */ rc = _wpModifyStyle(somSelf, ulStyleFlags, ulStyleMask);