U_HELPREND
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
xcall U_HELPREND(window_id)
Arguments
window_id
The ID of the window. (n)
Discussion
U_HELPREND sets the renditions of the window specified by window_id to the help window renditions. The default help window renditions can be set in U_REND using the following rendition codes.
D_RND_HLP_BCK |
Help window background. |
D_RND_HLP_BDR |
Help window border. |
D_RND_HLP_TTL |
Help window title. |
You also can use U_EDITREND or Proto to set these renditions.
You can use U_HELPREND within your EHELP_METHOD subroutine to change the window’s renditions before it is placed on the screen.
See also
- U_EDITREND routine
- Proto utility
Examples
subroutine my_help_method a_help_id ,a ;optional help identifier .include "WND:tools.def" record colid ,i4 ;Text editing column id wndid ,i4 ;Window id srch ,i4 proc xcall e_enter if (%passed(a_help_id)) then xcall u_ldwnd(wndid, g_utlib, a_help_id,, srch) else xcall u_ldwnd(wndid, g_utlib, "h_general",, srch) xcall t_setup(wndid) xcall u_helprend(wndid) xcall m_ldcol(colid, g_utlib, "c_text",, srch) xcall t_view(wndid) xcall e_exit clear g_select xreturn endsubroutine