Valeriy Onuchin wrote: > > Hi, > I have few problems with root 2.25/00 > > - THtml failes to create USER_Index.html > - tm struct ( from <time.h> ) not available to > interpreter anymore > root [0] #include <time.h> root [1] .class tm =========================================================================== struct tm size=0x2c (tagnum=452,voffset=-1,isabstract=0,parent=-1,gcomp=0,=~cd=0) List of base class-------------------------------------------------------- List of member variable--------------------------------------------------- Defined in tm 0x0 int tm_sec 0x4 int tm_min 0x8 int tm_hour 0xc int tm_mday 0x10 int tm_mon 0x14 int tm_year 0x18 int tm_wday 0x1c int tm_yday 0x20 int tm_isdst List of member function--------------------------------------------------- filename line:size busy function type and name (in tm) > ++ not concerning to root version > > - having TGMsgBox with few buttons how > to determine which button was pressed ? > The pressed button is returned in the "ret_code" argument as sepecified in the TGMsgBox ctor. To get the meaning test it against "enum EMsgBoxButton" values, e.g: switch (ret_code) { case kMBYes: ... break; case kMBIgnore: ... break; etc. Cheers, Fons. -- 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 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET