Re: [Win32] Hidden window cannot be shown more than once

2011-06-17 Thread Michael Cronenworth
Michael Cronenworth on 06/17/2011 11:46 AM wrote: Is this a possible bug? or I'm doing something wrong? And just as I hit send I catch it. My callbacks were of return type void. Changing them to gboolean and returning TRUE makes the window appear upon the second call. It seems in Win32 the

[Win32] Hidden window cannot be shown more than once

2011-06-17 Thread Michael Cronenworth
Hello, I have a window that I create in a hidden state. When it is accessed in a menu I call gtk_window_present( window ); and the window is visible. I have a callback attached to the destroy and delete-event signals and I call gtk_widget_hide( window ) in them. When a user attempts to

Re: [Win32] Hidden window cannot be shown more than once

2011-06-17 Thread Nicola Fontana
Il giorno Fri, 17 Jun 2011 11:56:12 -0500 Michael Cronenworth m...@cchtml.com ha scritto: Michael Cronenworth on 06/17/2011 11:46 AM wrote: My callbacks were of return type void. Changing them to gboolean and returning TRUE makes the window appear upon the second call. It seems in Win32 the

Re: [Win32] Hidden window cannot be shown more than once

2011-06-17 Thread Nicola Fontana
Il giorno Fri, 17 Jun 2011 13:09:07 -0500 Michael Cronenworth m...@cchtml.com ha scritto: Nicola Fontana on 06/17/2011 12:29 PM wrote: AFAICT there is no such difference between platforms: the documentation explicitely requires a gboolean [1]. I think your program was working on Linux only