But if you do want to get a handle to the HWND (at least in win32) I think you can cast the TCanvasImp into a TWin32Canvas which has a GetWindow() method that returns the HWND. My question is the following. Can you turn off the menubar and border for canvas and then wrap it in a CWnd (MFC) via the HWND? Brandon Kohn ----- Original Message ----- From: "Valeri Fine" <fine@bnl.gov> To: <roottalk@pcroot.cern.ch> Cc: "Aldo F Saavedra" <AFSaavedra@lbl.gov> Sent: Wednesday, November 07, 2001 11:42 AM Subject: Re: [ROOT] HWND of the Canvas window? > > > Valeri Fine wrote: > > > > > > > > 2) Why are the colours of the palette in the windows version being > > > > limited to 236 colours? > > > > > > It is not Windows version of ROOT limitation. ROOT has built-in array > > > 256 indices. > > > I wonder if ROOT team had lifted that restriction. > > > > > this restriction has been lifted some time ago. > > I wonder if it was lifted for UNIX platform only and never was tested on > Windows. > Can you ask your current Win32 volunteer Bertrand to fix that ? > > Valeri > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:06 MET