Band objects are required to implement
The Platform SDK says that they must also implement
but this is not the case. Optionally, if the band accepts user input,
it needs to implement
IInputObject. Bands can also
provide context menus by implementing
IContextMenu. We have already discussed
IContextMenu, so basically all we need to do is
get up to speed with
IInputObject. So, let’s get to it.
the primary interface of the band object, is derived from
IDockingWindow, which, in turn, is derived from
IDeskband contains only one native method:
GetBandInfo. There are three methods that are
IDockingWindow, and two that have
been inherited from
IOleWindow. We have already
IOleWindow while discussing
IShellBrowser in Chapter 11, so
we will forego another discussion. Table 13.1
describes all the methods of the
interface. The methods that have been marked with an asterisk do not
have to be implemented.
Table 13-1. IDeskband Methods
Returns the window handle to one of the windows participating in in-place activation (frame, document, parent, or in-place object window).
Determines whether context-sensitive help mode should be entered during an in-place activation session.
Called when the docking window is supposed to be shown or hidden. ...