Share via


COleClientItem::IsOpen

Call this function to see whether the OLE item is open; that is, opened in an instance of the server application running in a separate window.

BOOL IsOpen( ) const;

Return Value

Nonzero if the OLE item is open; otherwise 0.

Remarks

It is used to determine when to draw the object with a hatching pattern. An open object should have a hatch pattern drawn on top of the object. You can use a CRectTracker object to accomplish this.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart

COleClientItem::GetItemState

CRectTracker Class

Other Resources

COleClientItem Members