Hello Eric, Manipulating with TCanvas (just to move it around) means "interact" with that object. For that reason your application must be "interactive" one. So you do need an active "event loop". I just want to call your attention even though you want just visualize "something" one still may have wanted to "resize" and "move" that window. This does make your application an "interactive" one on Windows platform. It is not a case for X11 based application because moving the X11 widget around is a job of the separate process called X-server. Under Windoze one has no separate system process to manage the task windows. The Windows application is responsible for there windows alone albeit it is the trivial "moving" or "sizing". By this reason your Windows application must be running the "event loop". You said you got this problem under GDK. Can you reproduce it with Qt-edition? (see: http://root.bnl.gov ) Thank you, ---- Best regards Valeri > -----Original Message----- > From: ANCIANT E. [mailto:eric_anciant@sodern.fr] > Sent: Thursday, January 08, 2004 5:12 AM > To: 'Valeri Fine'; 'Brandon Kohn'; 'Rene Brun'; 'roottalk@root.cern.ch' > Subject: RE: [ROOT] > > Thanks a lot for the quick help, > > indeed, instanciating one TApplication solve my "pop-up" problem > no need to have it run ( which is not what I was looking for since I use > Root > rather as a display facility .. ) > > however now I got an Error message : > > Error in <TWinNTSystem::BaseName>: name = 0 > > Besides, when I try to resize the window of my canvas (without the > TApplication instance running), > the content of the window (Canvas?, pads, histograms ..) don't get resized. > > I don't know if it is linked to the error message. > > Or I guess I could wrap everything within the App and launch my application > through a button ? > > regards, > > eric > > > > > > -----Message d'origine----- > > De: Valeri Fine [SMTP:fine@bnl.gov] > > Date: mercredi 7 janvier 2004 18:23 > > À: 'Brandon Kohn'; 'ANCIANT E.'; 'roottalk@root.cern.ch' > > Objet: RE: [ROOT] > > > > I think the reason for your troubles is the "gdk" version. > > Did you say you did use very "gdk" in past? > > > No, it is the first time I try GDK ( before I was using root 3.02 > with win32 ) > >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET