Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop

IMEMENUITEMINFOW Structure


This document describes technologies available in the Internet Explorer 5 Beta. While we encourage you to evaluate these features and to send us your feedback, please note that these features are subject to change.

Contains information about IME menu items.

Syntax

typedef struct{
    UINT        cbSize;
    UINT        fType;
    UINT        fState;
    UINT        wID;
    HBITMAP     hbmpChecked;
    HBITMAP     hbmpUnchecked;
    DWORD       dwItemData;
    WCHAR       szString[IMEMENUITEM_STRING_SIZE];
    HBITMAP     hbmpItem;
} IMEMENUITEMINFOW;

Members

cbSize
Unsigned integer that contains the size of the structure in bytes.
fType
Unsigned integer that contains the menu type. This can be one of the following values:
IMFT_RADIOCHECK
Displays checked menu items using a radio button mark instead of a check mark if the hbmpChecked member is NULL.
IMFT_SEPARATOR
Specifies that the menu item is a separator. A menu item separator appears as a horizontal dividing line. The hbmpItem and szString members are ignored in this case.
IMFT_SUBMENU
Specifies that the menu item is a submenu.
fState
Unsigned integer that contains the menu item state. This can be one or more of the following values:
IMFS_CHECKED
The menu item is checked.
IMFS_DEFAULT
The menu item is the default. A menu can contain only one default menu item, which is displayed in bold.
IMFS_DISABLED
The menu item is disabled, but not shaded. It can still be selected.
IMFS_ENABLED
The menu items is enabled. This is the default state.
IMFS_GRAYED
The menu item is disabled and shaded so it cannot be selected.
IMFS_HILITE
The menu item is highlighted.
IMFS_UNCHECKED
The menu item is unchecked.
IMFS_UNHILITE
The menu item is not highlighted.
wID
Unsigned integer value that contains an application-defined value that identifies the menu item.
hbmpChecked
Handle to the bitmap. If this member is NULL, no bitmap is used.
hbmpUnchecked
Handle to the bitmap. If this member is NULL, no bitmap is used.
dwItemData
Unsigned long integer value that contains an application-defined value associated with the menu item.
szString
Array of wide characters that contains the content of the menu item. This is a null-terminated string.
hbmpItem
Handle to the bitmap to display.

Remarks

This structure maps to the IMEMENUINFO structure documented in the Microsoft® Platform Software Development Kit (SDK). Non-SBN link

Structure Information

Windows NT Use version 4.0 and later. Implemented as a Unicode structure.
Windows Use Windows 95 and later. Implemented as a Unicode structure.
Header Dimm.h
Minimum availability Internet Explorer 5

Does this content meet your programming needs? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site