Sizing OLE 2.0 Objects and OLEMISC_RECOMPOSEONRESIZE (114014)
The information in this article applies to:
- Microsoft OLE Libraries for Windows and Win32s 2.0
- Microsoft OLE Libraries for Windows and Win32s 2.01
- Microsoft OLE Libraries, when used with:
- the operating system: Microsoft Windows NT 3.5
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows 95
This article was previously published under Q114014 SUMMARY
Some server applications want to have their presentation displayed
differently based on the size of the object in the container application.
For example, if version 6.0 of Microsoft Word For Windows is used as a
server application, Word for Windows will rewrap the text of an object
based on the object size in the container. This is accomplished in a server
application by setting the OLEMISC_RECOMPOSEONRESIZE bit in the MiscStatus
bits.
However, for setting the OLEMISC_RECOMPOSEONRESIZE bit to work, the
container application must properly implement its sizing code by honoring
the OLEMISC_RECOMPOSEONRESIZE bit returned by IOleObject::GetMiscStatus().
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbprogramming KB114014 |
---|
|