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 >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET