Ole SDK-framework interface (1)

Source: Internet
Author: User
Ioleinplaceframe

IoleinplaceframeThe interface controls the top-level framework window of the container. The control allows the container to insert its menu group to the composite menu, install the composite menu in the appropriate window frame, and remove the menu tag of the container from the composite menu. It is set to correspond to the display status text to the relevant in-place. It also activates or disables the non-mode dialog box of the framework and serves as the container framework translation acceleration key as expected.

When to implement

If you want to write a container application activated in-placeProgramYou will need to implement this interface.

When to use

This interface is used by the object application to control the display and layout of compound menus, key-accelerated translation, context-related help mode and non-mode dialog box.

Methods In V Table Sequence
Iunknown Method Description
QueryInterface Returns the pointer to the specified interface.
Addref Add reference count
Release Reduce the number of references

Iolewindow Method Description
Getwindow Obtain a window handle.
Contextsensitivehelp Controls are available with context-related help.

Ioleinplaceuiwindow Method Description
Getborder Translate messages.
Requestborderspace The status of the container's top-level framework.
Setborderspace The status of the container document window.
Setactiveobject Be careful when adjusting the border spacing of the expected object.

Ioleinplaceframe Method Description
Insertmenus Allows the container to insert menus.
Setmenu Add the composite menu to the window frame.
Removemenus Move the menu tag of a container.
Setstatustext Set and display status text.
Enablemodeless Enable or disable non-mode dialog box.
Translateaccelerator Translation acceleration key.

Quick info

Windows NT:3.1 or later.
Windows:Windows 95 or later.
Windows CE:Not supported.
Header:Oleidl. h.

See

Iolewindow,Ioleinplaceuiwindow

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.