XL7: No Help Topic When You Right Click Custom Dialog Object

Last reviewed: September 3, 1997
Article ID: Q151283
The information in this article applies to:
  • Microsoft Excel for Windows 95, version 7.0

SYMPTOMS

When you display a custom dialog box in Microsoft Excel for Windows 95, version 7.0 and, using the right mouse buttton, click a dialog object, such as a button, you may receive the following message:

   No Help topic is associated with this item.

CAUSE

You will receive this message in Microsoft Excel 7.0 because it is written to implement the Windows 95 or Windows NT Context Sensitive Help feature. To implement Context Sensitive Help when an object is right-clicked, an application must trap the right-click, determine the context, and pass the Help Context ID associated with the object to the Operating System. While Microsoft Excel 7.0 does perform each of these steps, the custom dialog objects do not have a Help Context ID associated with them. Therefore, Windows 95 displays the message, "No Help topic is associated with this item."

MORE INFORMATION

The Windows 95 Help Authoring Kit states, "The 32-bit version of Microsoft Visual Basic version 4.0 supports Windows 95-style context-sensitive Help. You can set the HelpContextID property for a control in a dialog box." Visual Basic for Applications does provide a HelpContextID property, but it only applies to the MenuItem and ToolbarButton objects. Visual Basic for Applications currently does not offer this functionality to a control on a custom dialog box.

REFERENCES

"Windows 95 Help Authoring Kit," Chapter 9, "Software Developers: 'Hooking Up' the Code," page 179

For more information about the HelpContextID property in Microsoft Excel for Windows 95, version 7.0 , choose the Index tab in Help and type:

   HelpContextID


Additional query words: 7.00
Keywords : PgmOthr kbprg kbref
Version : 7.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.