English
Source / code snippets

Show Chm Control Ocx

 
RGH

Sebastian king
is Perhaps the command HH_KEYWORD_LOOKUP for uCommand-Parameter the, what You seek?


Wow! this is the fehlende Tipp! THANK YOU!

so funktionierts:
CompileMarkSeparation
def HtmlHelp(4) !HHCtrl.ocx,HtmlHelpA
def &HH_DISPLAY_TOPIC 1
def &HH_KEYWORD_LOOKUP $0D
struct tAKLIN =
cbStruct&,
fReserved&,
pszKeywords&,
pszUrl&,
pszMsgText&,
pszMsgTitle&,
pszWindow&,
fIndexOnFail&
window 10,10-300,300
declare ocx&, AKLIN#, KeyWord$
dim AKLIN#, tAKLIN
ocx&=usedll(HHCtrl.ocx)
KeyWord$ = assign

with AKLIN#

    .cbStruct&     = sizeOf(AKLIN#)
    .fReserved&    = 0
    .pszKeywords&  = addr(Keyword$)
    .fIndexOnFail& = 1

endwith

HtmlHelp(0, profan.chm, &HH_KEYWORD_LOOKUP, AKLIN#)
waitkey
case ocx&:freedll ocx&
 
10/26/06  
 




Uwe
''Pascal''
Niemeier
Hello people!

here a something erweiterte Variante:
CompileMarkSeparation
window 10,10-300,300
def HtmlHelp(4) !HHCtrl.ocx,HtmlHelpA
declare ocx&
ocx&=usedll(HHCtrl.ocx)
declare HH#
struct HH=Struct&,Reserved&,Keywords&,Url&,MsgText&,MsgTitle&,Window&,IndexOnFail&
dim HH#,HH
clear HH#
declare Key$,Chm$
Key$=Clipboard
Chm$=D:1TestViewhlp.chm
HH#.Struct&=sizeof(HH#)
HH#.Keywords&=addr(Key$)
HH#.IndexOnFail&=1
--Öffnet Help mit Index-Paneel und selektiert das Keyword (zeigt das Thema aber nicht an):
HtmlHelp(%hwnd,addr(Chm$),$13,HH#)--HH_ALINK_LOOKUP
--oder auch:
HtmlHelp(%hwnd,addr(Chm$),2,addr(Key$))--HH_DISPLAY_INDEX
--Öffnet Help mit TOC-Paneel
HtmlHelp(%hwnd,addr(Chm$),1,0)-----HH_DISPLAY_TOC
--Zeigt das Thema zum Keyword an (und selektiert es im TOC, aber nicht im Index)
HtmlHelp(%hwnd,addr(Chm$),$D,HH#)--HH_KEYWORD_LOOKUP
waitkey
case ocx&:
10/27/06  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.356 Views

Untitledvor 0 min.
PETER195607/18/18
Peter Max Müller09/15/14
Tommy01/30/14
Thomas Freier12/18/13
More...

Themeninformationen

this Topic has 2 subscriber:

Uwe ''Pascal'' Niemeier (1x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie