Jump to content

wpSetConcurrentView

From EDM2

This instance method sets the multiple concurrent view behavior of the object.

Syntax

wpSetConcurrentView(somSelf, ulCCView)

Parameters

somSelf (WPObject *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPObject.
ulCCView (ULONG) - input
Flag indicating the concurrent view behavior of the object.
Possible values are described in the following list:
  • CCVIEW_DEFAULT Concurrent view mode is set to the system default.
  • CCVIEW_ON Concurrent view mode is on.
  • CCVIEW_OFF Concurrent view mode is off.

Returns

rc (none) - returns
There is no return value for this method.

How to Override

This method is generally not overridden.

Usage

This method is not covered in the provided text.

Remarks

This method is not covered in the provided text.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG ulCCView; /* Flag indicating the concurrent view behavior of the object. */

wpSetConcurrentView(somSelf, ulCCView);

/* Example code embedded in provided text: */
SOM_Scope BOOL   SOMLINK Browse_O_Maticwps_wpSetup(Browse_O_Matic *somSelf,
                PSZ pszSetupString)
{
     /* Browse_O_MaticData *somThis = Browse_O_MaticGetData(somSelf); */
     Browse_O_MaticMethodDebug("Browse_O_Matic","Browse_O_Maticwps_wpSetup");

     _wpSetType( somSelf, DRT_DLL, NULL);

     /************************************************/
     /* Allow mulitple secondary views of the object */
     /************************************************/

     _wpSetConcurrentView( somSelf, CCVIEW_ON);

     return (parent_wpSetup(somSelf,pszSetupString));
}

Related Methods