|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
|
| Header File
| richole.h
| Unicode
|
| Platform Notes
| None
|
|
|
IRichEditOle::InsertObject
Inserts an object into a rich edit control.
HRESULT InsertObject(
REOBJECT FAR * lpreobject
|
| );
|
|
Parameters
lpreobject
Pointer to a REOBJECT structure containing the object information and interfaces. The rich edit
control automatically increments the reference count for the interfaces if it
holds onto them, so the caller can safely release the interfaces if not needed.
Return Values
Returns success status. Use GetScode to retrieve an SCODE. Can be S_OK on success or E_OUTOFMEMORY if memory could
not be allocated to insert the object.
If the cp member of the REOBJECT structure is REO_CP_SELECTION, the selection is replaced with the specified
object.
See Also
IRichEditOle, REOBJECT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|