


XmCreateTemplateDialog(3X)			   XmCreateTemplateDialog(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteeTTeemmppllaatteeDDiiaalloogg - A MessageBox	TemplateDialog convenience creation
  function

SYNOPSIS


  ##iinncclluuddee <<XXmm//MMeessssaaggeeBB..hh>>
  WWiiddggeett XXmmCCrreeaatteeTTeemmppllaatteeDDiiaalloogg	((_p_a_r_e_n_t, _n_a_m_e, _a_r_g_l_i_s_t,	_a_r_g_c_o_u_n_t))
       WWiiddggeett	 _p_a_r_e_n_t;;
       SSttrriinngg	 _n_a_m_e;;
       AArrggLLiisstt	 _a_r_g_l_i_s_t;;
       CCaarrddiinnaall	 _a_r_g_c_o_u_n_t;;

DESCRIPTION
  XXmmCCrreeaatteeTTeemmppllaatteeDDiiaalloogg is a convenience creation function that creates a
  DialogShell and an unmanaged MessageBox child	of the DialogShell. The	Mes-
  sageBox widget's XXmmNNddiiaallooggTTyyppee resource is set to XXmmDDIIAALLOOGG__TTEEMMPPLLAATTEE.	By
  default, the TemplateDialog widget contains only the separator child.	 You
  can build a customized dialog	by adding children to the TemplateDialog.

  You can create the standard MessageBox pushbuttons, CCaanncceell, HHeellpp, and	OOKK,
  by specifying	the associated callback	and label string resources.  Setting
  XXmmNNssyymmbboollPPiixxmmaapp or XXmmNNmmeessssaaggeeSSttrriinngg creates a	symbol or message label.

  Use XXttMMaannaaggeeCChhiilldd to pop up the TemplateDialog (passing the MessageBox as
  the widget parameter); use XXttUUnnmmaannaaggeeCChhiilldd to	pop it down.

  _p_a_r_e_n_t      Specifies	the parent widget ID

  _n_a_m_e	      Specifies	the name of the	created	widget

  _a_r_g_l_i_s_t     Specifies	the argument list

  _a_r_g_c_o_u_n_t    Specifies	the number of attribute/value pairs in the argument
	      list (_a_r_g_l_i_s_t)

  For a	complete definition of MessageBox and its associated resources,	see
  XXmmMMeessssaaggeeBBooxx((33XX)).

RETURN VALUE
  Returns the MessageBox widget	ID.

RELATED	INFORMATION
  XXmmMMeessssaaggeeBBooxx((33XX)).













