Re: TGListBox event

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Feb 25 1999 - 19:08:02 MET


Hi Laurent,

   the fourth element is passed as parm2 to the ProcessMessage of the
receiving class:

Bool_t Txxxx::ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
{
   // parm2 is the item_id
}


Cheers, Fons.



Laurent Aphecetche wrote:
> 
> Hi,
> 
> A probably stupid question : how can I get the fourth element of a
> TGListBox event
> (kC_COMMAND, kCM_LISTBOX, listbox id, item id).
> 
> I've been able to have kC_COMMAND by GET_MSG(), kCM_LISTBOX by
> GET_SUBMSG(), listbox id
>  by parm1.  What about item id ?
> 
> Thanks.
> --
> APHECETCHE Laurent (mailto:Laurent.Aphecetche@subatech.in2p3.fr)
> SUBATECH-Ecole des Mines de Nantes-4 rue Alfred Kastler-44070 NANTES
> cedex 03
> TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24
> WWW: http://www-subatech.in2p3.fr/~photons

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910
URL:    http://root.cern.ch/~rdm/



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET