Aufruf vom Register Inhalt, Index oder Suchen (Hilfe)

Thomas Schulz ⌂ @, Castrop-Rauxel, Donnerstag, 13.05.2004, 17:56 (vor 7260 Tagen) @ Ingo Kollesch

Hallo Ingo,

tur mir leid habe die API nicht vollständig durchgeschaut.
Aufruf des Inhaltsregisters fehlt. Sorry!

Es gibt aber noch eine Abhandlung von MVP David Liske, wie das Aufrufen für VB 5.0/6.0 zu realisieren ist (dürfte auch in Access funktionieren).
Hier der Originaltext aus der Hilfe:

The only way to guarantee the help file will open to the Contents tab every time is to use the HELP_TAB command. This is combined with the TB_CONTENTS constant, and they're used as follows:

[code]Private Const HELP_TAB = &HF&
Private Const TB_CONTENTS = 0

Private Declare Function WinHelp Lib "user32" _
Alias "WinHelpA" _
(ByVal hWnd As Long, _
ByVal lpHelpFile As String, _
ByVal wCommand As Long, _
ByVal dwData As Long) As Long

Private Sub mnuHelpContents_Click()

WinHelp 0, App.Path & "WH_Menus.hlp", HELP_TAB, TB_CONTENTS
End Sub[/code]

Link zu Download des gesamten Projektes: http://mvps.org/htmlhelpcenter/winhelp/WH_Menus.zip

Gruss
Thomas

--
Viele Grüße
Thomas Schulz (Administrator)
______________
[image]


gesamter Thread:

 

powered by my little forum