RE: [ROOT] dialog boxes in Win32

From: Ed Oltman (eoltman@imago.com)
Date: Tue Mar 26 2002 - 17:32:15 MET


Fons,
  Unfortunately, I cannot use the TG classes in Win32.  There is also no
gClient object. - I'm not sure what I can learn from this example..

Ed
> -----Original Message-----
> From: Fons Rademakers [mailto:Fons.Rademakers@cern.ch]
> Sent: Tuesday, March 26, 2002 10:21 AM
> To: Ed Oltman
> Cc: Valeri Fine; Roottalk@Pcroot. Cern. Ch
> Subject: RE: [ROOT] dialog boxes in Win32
>
>
> Hi Ed,
>
>  check $ROOTSYS/tutorials/dialogs.C
>
> Cheers, Fons.
>
>
>
> On Tue, 2002-03-26 at 17:12, Ed Oltman wrote:
> > Vareri,
> >
> >  I'm afraid my question was unclear.  I do not want to generate the
> > pop-up dialog in response to a click on a displayed object. Instead,
> > I am asking if my executing code could somehow utilize the same
> > code ROOT uses when it displays dialogs in response to context menu
> > clicks.  I hope this is more clear...
> >
> > Thanks,
> > Ed
> >
> >
> > > -----Original Message-----
> > > From: Valeri Fine [mailto:fine@bnl.gov]
> > > Sent: Tuesday, March 26, 2002 9:42 AM
> > > To: Ed Oltman; Roottalk@Pcroot. Cern. Ch
> > > Subject: Re: [ROOT] dialog boxes in Win32
> > >
> > >
> > > At the moment you may click the "object" (on TCanvas or TBrowser)
> > > with your right mouse
> > > button to pop-up so-called context menu. That menu is build of
> > > the list of the method
> > > of your class marked with the comment //*MENU*
> > > Selecting appropriated "context menu" item you force system to
> > > present you a dialog
> > > box to enter the values of the parameters of your class method
> > > and then call it.
> > >
> > >  To generate a new dialog box one is to add an extra method to
> > > his/her  class
> > >  and mark this method with the comment //*MENU*
> > >
> > > Can you try that ?
> > >
> > > In fact it would be nice ROOT provides an API rather GUI to
> > > generate the same class
> > > method parameters input dialog box.
> > >
> > >
> > >                          Cheers , Valeri
> > > -----
> > > Dr.Valeri Fine
> > > STAR/US Atlas                                    E-mail: fine@bnl.gov
> > > Brookhaven National Lab                    Phone: +1 631 344 7806
> > > Upton, NY 11973-5000                       FAX:     +1 631 344 4206
> > > USA
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Ed Oltman" <eoltman@imago.com>
> > > To: "Roottalk@Pcroot. Cern. Ch" <roottalk@pcroot.cern.ch>
> > > Sent: Tuesday, March 26, 2002 9:22 AM
> > > Subject: [ROOT] dialog boxes in Win32
> > >
> > >
> > > > Hello,
> > > >   I am using root v3.02/07 for win32 platform.  Is it
> possible to create
> > > > the kind of dialog boxes that appear when a root object's context
> > > > sensitive menu item is clicked?
> > > > In other words, I would like to cause such a dialog window
> to open under
> > > > program control when user input is required.  I have relied on the
> > > > console window for this, but often run into situations when
> characeters
> > > > are lost, presumable because the console did not have
> focus...  Thanks..
> > > >
> > > > Ed
> > > >
> > >
> > >
> > >
> > >
> >
> --
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
>
>
>
>



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET