Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS Treeview helpcontextids

Status
Not open for further replies.

ChrisRChamberlain

Programmer
Mar 23, 2000
3,392
GB
Hi all

Anyone know where, if anywhere, the MSComtlLib.TreeCtrl.2 has .HelpContextID properties?

AFAIK, the CMCTL198.chm has no references to them.

TIA

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
TreeView doesn't have HelpContextId, also if TreeView has focus F1 doesn't works :eek:)
But in KeyDown Event of the treeview you can:

Code:
IF keycode == 28 (F1)
   HELP ID ContextId 
ENDIF

Borislav Borissov
 
Borislav, Mike

Thanks for your response.

As the .HelpContextID property is read/write at runtime I was thinking along the lines that you suggest Mike, ie use the .HelpContextID of the form or container, and assign a suitable value to it through a mouse event of whatever node etc.

Thus if the F1 key fires as Borislav suggests, HELP ID THISFORM.HelpContextID, the topic in the HTMLHelp .chm would relate to the relevant node, etc.

That's the theory but have yet to try it. [smile]

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top