I am looking at introducing context sensitive help to out application. I currently looking at providing help topics for our main menu bar which is an UltraWinExplorerBar and the various functions that are accessible from it.
I currently have a solution in place which happily acts on the HelpRequested event of the explorer bar when F1 is pressed. What I also need to do allow for the "Whats This ?" style help functionality which I am inducing via use of the Win32 API function SendMessage passing SC_CONTEXTHELP as the message.
The explorer bar items do not seem to respond to this and just perform their normal action when pressed and the HelpRequested event doesn't fire.
Does the explorer bar support this or is there something I need to setup to get it to respond?
Thanks
Brian, Thanks for your reply.
Do the actual explorer bar items inherit from control (I assume the answer should be yes but ...) ?
I'm not seeing the "HelpRequested" event exposed by an UltraExplorerBarItem object as it seems to Inherit from Infragisitics.Shared.SubObjectBase which fails on a cast to WinForm control.
Can I conclude that UltraExplorerBarItems do not support this kind of context help?
There is no support for that beyond whatever it picks up for free from the base System.Windows.Forms.Control class. I don;t know if this will help, but if you know when you are in this mode, it would seem you could handle MouseDown, use ItemFromPoint to find the item that was clicked, and then react to that accordingly.