
I set hwndOwner to the main window, using function (HWND)gdk_win32_drawable_get_handle((GdkDrawable*)parent->gobj()), but still cannot make the dialog modal.
Bruce Cheng --
-----Original Message----- From: Bruce [mailto:bruce1914@...400...] Sent: Thursday, July 15, 2010 4:55 PM To: 'Jasper van de Gronde' Cc: 'inkscape-devel@lists.sourceforge.net' Subject: RE: [Inkscape-devel] How to create a Windows Style file selection modally using GTK?
Did you set hwndOwner?
Oh, I did not. I do not know what the parent window mean. It mean the top level window?
Bruce Cheng
-----Original Message----- From: Jasper van de Gronde [mailto:th.v.d.gronde@...528...] Sent: Thursday, July 15, 2010 4:52 PM To: Bruce Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] How to create a Windows Style file selection modally using GTK?
Bruce wrote:
... So can anyone tell me how you make your Windows style file
selection
dialog modally (preventing the main window from active) ?
Did you set hwndOwner?