In the set of actions that SpawnDialog is a part of, continue with further
actions that either end there or move onto the next dialog (based on the
value of the property you set in the warning dialog).

-----Original Message-----
From: Matt Johnson [mailto:ma...@timeamerica.com] 
Sent: Monday, January 17, 2011 3:39 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to continue on close of modal popup?

I have a UI dialog that I want to present a "warning" popup when a field is
blank.  The dialog is launched with SpawnDialog and says something like "Do
you really want the field empty?"  There are two buttons labeled "Yes" and
"No".  If the user picks "No", it's easy enough to close the popup and
return to the parent dialog with the usual "EndDialog" event and "Return"
value.  However, I can't seem to find a clean way to close the popup and
still move to the next dialog.  There doesn't appear to be any other value I
can pass to EndDialog that would do this.

I came up with a solution that kinda works.  Instead of using SpawnDialog, I
use SpawnWaitDialog.  Then in the popup, I set a property when the user
clicks either button.  This property is the trigger condition for the wait
dialog.  The approach works, except that the cursor changes to the wait icon
(spinning circle or hourglass) - which makes it unclear to the user that
they need to press a button.  Is there any way to change the cursor
manually?  Perhaps in a custom action?

Is there a better approach to this?

Thanks,
Matt
----------------------------------------------------------------------------
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to