


XmCreateWarningDialog(3X)			    XmCreateWarningDialog(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteeWWaarrnniinnggDDiiaalloogg	- The MessageBox WarningDialog 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eWWaarrnniinnggD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eWWaarrnniinnggDDiiaalloogg	is a convenience creation function that	creates	a
  DialogShell and an unmanaged MessageBox child	of the DialogShell.  A War-
  ningDialog warns users of action consequences	and gives them a choice	of
  resolutions.	It includes a symbol, a	message, and three buttons.  The
  default symbol is an exclamation point.  The default button labels are OOKK,
  CCaanncceell, and HHeellpp.

  Use XXttMMaannaaggeeCChhiilldd to pop up the WarningDialog	(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_tSpecifies 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)).















