special semi-modal dialog
Posted: Wed Oct 21, 2009 4:49 pm
Hello All,
i am looking for a special dialog, but maybe there is already some chance, or an easy way to implement it:
If you loow at Wireshark, there are some warning popup dialogs (done trough gtk), for example if you write a wrong filter in the filter bar, an error dialog popup.
These dialogs allow the interface below to be updated, so i suppose the main loop still process events like OnIdle.
At the same time they are modal, so no actions in the GUI below are allowed.
As far as i know, wxWidgets ShowModal() block other frame events, and main frame OnIdle() is no more processed.
I am trying to implement something like this, using KillFocus events, to avoid to click on other windows, anyway it is resulting quite hard and i don't think it is the right way to do this.
Any help is really appreciated.
Angelo
i am looking for a special dialog, but maybe there is already some chance, or an easy way to implement it:
If you loow at Wireshark, there are some warning popup dialogs (done trough gtk), for example if you write a wrong filter in the filter bar, an error dialog popup.
These dialogs allow the interface below to be updated, so i suppose the main loop still process events like OnIdle.
At the same time they are modal, so no actions in the GUI below are allowed.
As far as i know, wxWidgets ShowModal() block other frame events, and main frame OnIdle() is no more processed.
I am trying to implement something like this, using KillFocus events, to avoid to click on other windows, anyway it is resulting quite hard and i don't think it is the right way to do this.
Any help is really appreciated.
Angelo