zoukankan      html  css  js  c++  java
  • [原创] Delphi Win API函数 操作帮助文件 HtmlHelpA函数介绍

    Delphi Win API函数 操作帮助文件 HtmlHelpA函数介绍

    函数原型:HWND HtmlHelpA( HWND hwndCaller, LPCSTR pszFile, UINT uCommand, DWORD_PTR dwData );

    Delphi 中引用:function HtmlHelpA (hwndcaller:Longint; lpHelpFile:string; wCommand:Longint;dwData:string): HWND;stdcall; external 'hhctrl.ocx';   //调用这个 hhctrl.ocx 控件里面的函数,一般windows系统 都有带

     

    官方操作示例:

      HtmlHelp( GetDesktopWindow(), "c:\Help.chm::/Intro.htm>Mainwin", HH_DISPLAY_TOPIC, NULL) ;

     

    Delphi 实际应用示例:

      HtmlHelpA(Handle, PChar( ExtractFilePath(ParamStr(0))+‘’Help.chm ),0,'主页.htm');

     

    注意:HH_DISPLAY_TOPIC 默认 取值为 0

    更新日期:2019.12.24

    来源:https://www.cnblogs.com/guorongtao/p/12091183.html

  • 相关阅读:
    Scala window下安装
    HIVE 总结
    mapreduce源码解析以及优化
    Hadoop2.x + eclipse 插件配置
    python spark
    Hive与Hbase关系整合
    Sqoop架构以及应用介绍
    flume
    SOAP
    Leetcode#75 Sort Colors
  • 原文地址:https://www.cnblogs.com/guorongtao/p/12091183.html
Copyright © 2011-2022 走看看