Export (0) Print
Expand All
Expand Minimize

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;

Nonzero if the OLE item is open; otherwise 0.

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.

Header: afxole.h

Show:
© 2014 Microsoft