2010-07-07, 21:14
I want to activate a warning type dialog based on whether mouse input is enabled and whether a certain window is active.
I made a custom dialog with the following conditions:
In the custom window that is called I have two buttons. One button that should close the custom dialog and take the user to the system settings window, the other should just close the dialog and prevent the custom window to reappear by using a setbool (which would be added to the visibility conditions above)
However the buttons in the dialog window will not get focused, it stays in the underlying window. I tried to use <zorder> but that didn't make a difference.
Is this possible at all?
I made a custom dialog with the following conditions:
PHP Code:
<visible>system.getbool(input.enablemouse) + [Window.IsActive(appearancesettings) | Window.IsActive(home)]</visible>
<defaultcontrol always="true">11</defaultcontrol>
In the custom window that is called I have two buttons. One button that should close the custom dialog and take the user to the system settings window, the other should just close the dialog and prevent the custom window to reappear by using a setbool (which would be added to the visibility conditions above)
However the buttons in the dialog window will not get focused, it stays in the underlying window. I tried to use <zorder> but that didn't make a difference.
Is this possible at all?