Dear Rooters, Several questions to disturb, please ! (1). In 'guitest.cxx', I add: const TGPicture *pic ; ........................... pic = fClient->GetPicture("mb_stop_s.xpm"); ................................ fPictButton = new TGPictureButton(f1, pic, 100); and in ' ProcessEvent', I add the following : case kCM_BUTTON: ................ case 100: fClient->FreePicture(pic); pic = fClient->GetPicture("home_t.xpm"); fPictButton->DoRedraw(); break; But the compilation will give the errors messages like: >>>> CC: error: cannot open message catalog: CC.cat >>>> CC: "oo.c", line 935: error: unknown message (1299) where line 935 is "fPictButton->DoRedraw();" (2). Is there any implementation in ROOT that make some warning sound like 'beep' function in UNIX ? It would be nice if the sound can continues till you switch it off. (3). Is the size of a TGPictureButton determined by that of the picture inside ? I did not find any implemtation that can resize the button. Sincerely, xie
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET