Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!dprg-330.GOVt.shearson.COM!fgreco From: fgreco@dprg-330.GOVt.shearson.COM (Frank Greco) Newsgroups: comp.windows.x Subject: Re: Dialogs in XView 2.0 Message-ID: <9010171405.AA14347@islanders.> Date: 17 Oct 90 14:05:55 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 > > > It doesn't appear that there is a dialog box in XView. Is there anyone who > can tell me what the 'standard' practice for creazting this type of functionality is? It would seem that a comand frame is created, then a panel, and then > the items in the panel. Is this correct? Also, I'm reading that the > default panel can be attached to the command frame. What does this mean? But of course there's a "dialog box" in XView. As you state, you would create a FRAME_CMD, which comes with a default PANEL obtain-able via: popup_panel = (Panel)xv_get(popup_frame, FRAME_CMD_PANEL); ...or you could create your panel(s) if you wish. Now you just add your control-panel items, i.e., PANEL_TEXT, PANEL_BUTTON, PANEL_LIST...etc. Add some notify procs for the panel items, and you got it. BTW, its much easier to do the UI layout if you use Sun's GUIDE. Frank G.