wpAddToObjUseList - Usage
The following types of items can be added to the use list:
USAGE_MEMORY
This item specifies a block of memory
allocated for this object through the use of the wpAllocMem
method. Items of this type add a MEMORYITEM
structure to the end of the USEITEM
structure.
USAGE_OPENVIEW
When
a view of an object is opened, one of these items is added to the in-use
list. If multiple, concurrent views are not enabled for this object, the
USAGE_OPENVIEW items are used by the system to automatically switch
to the open view when the user chooses to open the same view again. This
behavior is controlled by the application by calling the wpOpen
or the wpSwitchTo method. This
item is also used by the system to update the title bar text and switch-entry
text when the user changes the object title. If this type is specified,
the in-use emphasis bit is turned on for all inserted records for this object.
Items of this type concatenate a VIEWITEM
structure to the end of the USEITEM
structure.
USAGE_RECORD
For
every view (WC_CONTAINER) window that the object is inserted into,
there is one of these items on its in-use list. This enables an object to
refresh its appearance in all views at the same time. Items of this type
add a RECORDITEM structure to
the end of the USEITEM structure.
[Back: wpAddToObjUseList - Remarks]
[Next: wpAddToObjUseList - Related Methods]