Difference between revisions of "UIM Display Help (QUHDSPH)"
From MidrangeWiki
DaveLClarkI (talk | contribs) m (DaveLClarkI moved page QUHDSPH — Display Help to UIM Display Help (QUHDSPH): Better Indexing (too many Q's)) |
DaveLClarkI (talk | contribs) (→Summary) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
The following is an RPG/LE fully free-form prototype for the IBM QUHDSPH API to use the UIM to display a help panel. The help panel is an overlay to either a DDS DSPF or a UIM application panel. A data structure template is also included for the help id array parameter. | The following is an RPG/LE fully free-form prototype for the IBM QUHDSPH API to use the UIM to display a help panel. The help panel is an overlay to either a DDS DSPF or a UIM application panel. A data structure template is also included for the help id array parameter. | ||
+ | |||
+ | For more information on this API, visit [https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quhdsph.htm Display Help (QUHDSPH) API] (right-click to open link in a new tab). | ||
+ | |||
+ | By [[User:DaveLClarkI|Dave Clark]] | ||
== Prototype for the QUHDSPH API == | == Prototype for the QUHDSPH API == | ||
Line 38: | Line 42: | ||
== References == | == References == | ||
− | * [[ | + | * [[API Error Code Structure (ApiErrC)]] |
Latest revision as of 17:01, 17 December 2018
Summary
The following is an RPG/LE fully free-form prototype for the IBM QUHDSPH API to use the UIM to display a help panel. The help panel is an overlay to either a DDS DSPF or a UIM application panel. A data structure template is also included for the help id array parameter.
For more information on this API, visit Display Help (QUHDSPH) API (right-click to open link in a new tab).
By Dave Clark
Prototype for the QUHDSPH API
//****************************************************************************** // IBM Display Help API // https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/quhdsph.htm //****************************************************************************** dcl-pr IBMUIM_DisplayHelp extpgm('QUHDSPH'); DhHlpIdAry likeds(IBMUIM_HelpIdEntry) dim(2000) options(*varsize); DhHlpIdCnt int(10) const; DhHlpType int(10) dim(2); DhDspTtl char(55) const; DhSrchIdx char(20) const; DhDspType char(1) const; DhUlCorner int(10) dim(2); DhLrCorner int(10) dim(2); DhCsrLoc int(10) dim(2); DhErrCode likeds(ApiErrC) options(*varsize); //optional parm group DhBkShelf char(8) const options(*nopass); DhBdAttrb char(1) dim(2) const options(*nopass); DhBdChars char(1) dim(8) const options(*nopass); end-pr; dcl-ds IBMUIM_HelpIdEntry qualified template; PanelGroup char(20); PnlGrpNme char(10) overlay(PanelGroup); PnlGrpLib char(10) overlay(PanelGroup:*next); HelpModule char(32); end-ds;