Index   Commented   Search   About

IOleInPlaceActiveObject

The IOleInPlaceActiveObject interface provides a direct channel of communication between an in-place object and the associated application's outer-most frame window and the document window within the application that contains the embedded object. The communication involves the translation of messages, the state of the frame window (activated or deactivated), and the state of the document window (activated or deactivated). It also informs the object when its needs to resize its borders, and manages modeless dialog boxes.

When to Implement

This interface is implemented by object applications in order to provide support their objects while they are active in place.

When to Use

These methods are used by the in-place object's top-level container to manipulate objects while they are active.

Methods in VTable Order

IUnknown Methods
Description
QueryInterface
Returns a pointer to a specified interface.
AddRef
Increments the reference count.
Release
Decrements the reference count.

IOleWindow Methods
Description
GetWindow
Gets a window handle.
ContextSensitiveHelp
Controls enabling of context sensitive help.

IOleInPlaceActiveObject Methods
Description
TranslateAccelerator
Translates messages.
OnFrameWindowActivate
State of container's top-level frame.
OnDocWindowActivate
State of container document window.
ResizeBorder
Alert object of need to resize border space.
EnableModeless
Enable or disable modeless dialog boxes.

See Also

IOleWindow

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
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.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 (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun