The information in this article applies to:
SYMPTOMSWhen you set the HelpCommand property of a Common Dialog control to cdlHelpContents and then use the ShowHelp method to display the contents of a Help file, Windows Help appears with a blank window. The contents of the Help file is not displayed. The same behavior is exhibited if you set the HelpCommand property to cdlHelpIndex to display the index of a Help file. RESOLUTIONWorkaround #1To display the contents or index of your Help file with the ShowHelp method, first set the HelpCommand property of the Common Dialog control to the value &HB. This value corresponds to the HELP_FINDER constant 0x000b in WINUSER.H. When you use this constant, the Help window appears with the last active tab. For example, if the Index tab was selected when this window was last shown, then it will be the active tab when help is shown again:
Workaround #2To display the Index tab of your Help file, regardless of which tab was active when the Help file was last shown, set the HelpCommand property of the Common Dialog control to cdlHelpPartialKey:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: cmdlg kbVBp500bug kbVBp600bug kbVBp kbdsd kbDSupport kbControl
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |