|
OLEINPLACEFRAMEINFO
The OLEINPLACEFRAMEINFO structure contains information about the accelerators supported by a container
during an in-place session. The structure is defined in the IOleInPlaceFrame interface (inplcf.idl), and it is used in the IOleInPlaceSite::GetWindowContext method and the OleTranslateAccelerator API function.
typedef struct tagOIFI
{
UINT cb;
BOOL fMDIApp;
HWND hwndFrame;
HACCEL haccel;
UINT cAccelEntries;
} OLEINPLACEFRAMEINFO, *LPOLEINPLACEFRAMEINFO;
Members
cb
Specifies the size in bytes of this structure. The object server must specify
sizeof(OLEINPLACEFRAMEINFO) in the structure it passes to IOleInPlaceSite::GetWindowContext. The container can then use this size to determine the structure's version.
fMDIApp
Indicates whether the container is an MDI application.
hwndFrame
Specifies a handle to the container's top-level frame window.
haccel
Specifies the handle to the accelerator table that the container wants to use
during an in-place editing session.
cAccelEntries
Specifies the number of accelerators in haccel.
Comments
When an object is being in-place activated, its server calls the container's IOleInPlaceSite::GetWindowContext method which fills in an OLEINPLACEFRAMEINFO structure. During an in-place session, the message loop of an EXE server
passes a pointer to the OLEINPLACEFRAMEINFO structure to OleTranslateAccelerator. OLE uses the information in this structure to determine whether a message
maps to one of the container's accelerators.
See Also
IOleInPlaceSite::GetWindowContext, OleTranslateAccelerator
Related LinksSoftware 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
|