INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |
--
-- Purpose:
-- Create an C++ virtual table, corresponding to
-- IOleInPlaceFrame interface.
-- Params:
-- None.
-- Return Value:
-- Pointer to created VTBL.
-- Notes:
-- None.
--
--
-- Purpose:
-- Allows the container to insert its menu groups into the
-- composite menu to be used during the in-place session.
-- Params:
-- menuShared: INTEGER [in] Specifies a handle to an
-- empty menu.
-- menuWidths: EOLE_MENUGROUPWIDTHS [in] Points to an
-- EOLE_MENUGROUPWIDTHS array
-- of six LONG values.
-- The container fills in
-- elements 0, 2, and 4 to
-- reflect the number of
-- menu elements it provided
-- in the File, View, and
-- Window menu groups.
-- Return Value:
-- None.
--
-- Notes:
-- None.
--
--
-- Purpose:
-- Installs the composite menu in the window frame containing
-- the object being activated in place.
-- Params:
-- menuShared: INTEGER [in] Specifies a handle to the
-- composite menu constructed by
-- calls to
-- IOleInPlaceFrame::InsertMenus
-- and the Windows InsertMenu
-- function.
-- oleMenu: INTEGER [in] Specifies the handle to the menu
-- descriptor returned by the
-- OleCreateMenuDescriptor function.
-- activeObjectHwnd: INTEGER [in] Specifies a handle to a window
-- owned by the object and to which
-- menu messages, commands, and
-- accelerators are to be sent.
--
-- Return Value:
-- None.
--
-- Notes:
-- None.
--
--
-- Purpose:
-- Gives the container a chance to remove its menu elements from
-- the in-place composite menu.
-- Params:
-- mwnuShared: INTEGER [in] Specifies a handle to the in-place
-- composite menu that was constructed by
-- calls to IOleInPlaceFrame::InsertMenus
-- and the Windows InsertMenu function.
--
-- Return Value:
-- None.
-- Notes:
-- None.
--
--
-- Purpose:
-- Sets and displays status text about the in-place object in the
-- container's frame window status line.
-- Params:
-- StatusText: STRING [in] Character string containing the message
-- to display.
--
-- Return Value:
-- None.
-- Notes:
-- None.
--
--
-- Purpose:
-- Enables or disables a frame's modeless dialog boxes.
-- Params:
-- Enable: BOOLEAN [in] Specifies whether the modeless dialog
-- boxes are to be enabled by specifying
-- TRUE or disabled by specifying FALSE.
--
-- Return Value:
-- None.
-- Notes:
-- None.
--
--
-- Purpose:
-- Translates accelerator keystrokes intended for the container's
-- frame while an object is active in place.
-- Params:
-- msg: EOLE_MESSAGE [in] Points to an MSG structure
-- containing the keystroke message.
-- commandID: INTEGER [in] Contains the command identifier
-- value corresponding to the
-- keystroke in the container-provided
-- accelerator table. Containers
-- should use this value instead of
-- translating again.
-- Return Value:
-- None.
-- Notes:
-- None.
--
--
-- Purpose:
-- Creates and returns an OLE menu descriptor (that is, an
-- OLE-provided data structure that describes the menus)
-- for OLE to use when dispatching menu messages and commands.
-- Params:
-- hmenuCombined: INTEGER [in] Specifies a handle to the combined
-- menu created by the object.
-- lpMenuWidths: POINTER [in] Points to an array of six LONG
-- values giving the number of menus
-- in each group.
-- Return Value:
-- Returns the handle to the descriptor, or 0 if insufficient
-- memory is available.
-- Notes:
-- None.
--
--
-- Purpose:
-- Installs or removes OLE dispatching code from the container's
-- frame window.
-- Params:
-- hOleMenu: INTEGER [in] Specifies the handle to the
-- composite menu descriptor
-- returned by the
-- OleCreateMenuDescriptor function.
-- If 0, the dispatching code is
-- unhooked.
-- hwndFrame: INTEGER [in] Specifies the handle to the
-- container's frame window where
-- the in-place composite menu is
-- to be installed.
-- hwndActiveObject: INTEGER [in] Specifies the handle to the
-- object's in-place activation
-- window. OLE dispatches menu
-- messages and commands to this
-- window.
-- lpFrame: POINTER [in] IOleInPlaceFrame pointer to the
-- container's frame window.
-- (Can be obtained by the
-- get_ole_interface_ptr method.)
-- lpActiveObject: POINTER [in] IOleInPlaceActiveObject pointer
-- to the active in-place object.
-- Return Value:
-- OLE error code (HRESULT)
-- Notes:
-- None.
--
--
-- Purpose:
-- Called by the container to free the shared menu descriptor
-- allocated by the OleCreateMenuDescriptor function.
-- Params:
-- hOleMenu: INTEGER [in] Specifies a handle to the shared menu
-- descriptor that was returned by the
-- OleCreateMenuDescriptor function.
-- Return Value:
-- None.
-- Notes:
-- None.
--
INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |