Re: [Wireshark-dev] simple_dialog not truly modal in win32

2007-05-27 Thread Bill Meier
> > I understand that "Modal windows prevent interaction with other windows in > the same application... ", but I assumed it will also block the normal code > execution until the dialog returns/closes. > > I also understand that I could use a callback to call a function to execute > the remai

Re: [Wireshark-dev] simple_dialog not truly modal in win32

2007-05-11 Thread Greg Bell
I understand that "Modal windows prevent interaction with other windows in the same application... ", but I assumed it will also block the normal code execution until the dialog returns/closes. I also understand that I could use a callback to call a function to execute the remaining code,

Re: [Wireshark-dev] simple_dialog not truly modal in win32

2007-05-11 Thread Stephen Fisher
On Fri, May 11, 2007 at 11:44:10AM -0700, Greg Bell wrote: > I'm working with the simple_dialog (gtk\simple_dialog.c) and even > though it is defined as being modal, > the calling code path continues execution after the dialog opens, > without waiting for the user to close the dialog. For e

[Wireshark-dev] simple_dialog not truly modal in win32

2007-05-11 Thread Greg Bell
Hi, I'm working with the simple_dialog (gtk\simple_dialog.c) and even though it is defined as being modal, gtk_window_set_modal(GTK_WINDOW(win), TRUE); in display_simple_dialog(...) the calling code path continues execution after the dialog opens, without waiting for the user