[haiku] Re: BWindow pointer

  • From: Chris Moore <chris@xxxxxxxxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sun, 25 Mar 2012 08:19:34 +0100

Hi Stephan,

On 23/03/2012 14:33, Stephan Aßmus wrote:

When you call Show() for the first time, it starts the CredentialsWindow event thread. For the second time onward, you need to call Lock() before calling Show(). Also, how do you hide the window?


Thanks - that works now, but I still had to move the initialisation of CredentialsWindow out of the constructor of MainWindow for some reason or any call to Show() would still freeze the program, even after Lock().

Best regards,
Chris







Other related posts: