Dana, I think the better way is try to use FindWindow, since we always know the name of the MSI dialogs we use and all MSI dialogs have same class name - "MsiDialogCloseClass". But I have no chance to try this way yet.
Best regards, Peter G. Sakhno C-MAP RUSSIA Ltd http://www.c-map.ru/ Dana Gutride wrote: > Peter: > > Is it possible to try something like: > > HWND hWndParent; > hWndParent = GetActiveWindow(); > > I'm facing a similar problem with a dialog that pops up during the MSI > UI. Unfortunately, sometimes it pops up behind the MSI dialog and other > times it is in front of it. > > Anybody else have any ideas? > > Dana > > > On 6/19/06, *Peter G. Sakhno* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I need to show some message boxes from DLL during MSI CustomAction. > Is there any way to get HWND of current MSI UI to pass to the > MessageBox > as a parent wnd? > > -- > Best regards, > Peter G. Sakhno > C-MAP RUSSIA Ltd > http://www.c-map.ru/ > > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net <mailto:WiX-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users