Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Message Bar items are messages with a navigation tree item link that, when clicked, navigates the user to that location in the WMC.

Adding Message Bar items

Add a message bar item with NavInsertItem.

Items added in the manner shown above display the strLabel text, followed by a link that says "Go There". If you click the link, the WMC navigates to the location specified in strDescription.

 

FlagDescription
NI_FLAG_MESSAGEBAR_ICONWARNING
NI_FLAG_MESSAGEBAR_ICONINFO
NI_FLAG_MESSAGEBAR_ICONSHIELD
The type of icon to show. Mutually exclusive.
NI_FLAG_MESSAGEBAR_NOTIFYNotify the item of the click. Without this flag the default behaviour is to go to a navigation location. Calls the NavItemNotify handler of the notification interface supplied in NavInsertItem
NI_FLAG_MESSAGEBAR_USERXAMLYou wish to supply the full XAML for the item. See below for details.

 

NI_FLAG_MESSAGEBAR_NOTIFY means call NavNotifyItem, else calls NavGotoItem. If NI_FLAG_MESSAGEBAR_NOTIFY then we notify the tag, otherwise we goto the description

 

NI_FLAG_MESSAGEBAR_USERXAML

 

  • No labels