Re: [WiX-users] MSI Installation UI HWND

2006-06-22 Thread Dana Gutride
Peter:Thanks for the suggestion, I just tried    HWND hWndParent;    hWndParent = FindWindow(_T("MsiDialogCloseClass"), NULL);This seems to work very well.  I haven't noticed any times (yet) where my dialog is behind the MSI main dialog. Thanks,DanaOn 6/22/06, Peter G. Sakhno <[EMAIL PROTECTED]> wr

Re: [WiX-users] MSI Installation UI HWND

2006-06-22 Thread Peter G. Sakhno
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 Gut

Re: [WiX-users] MSI Installation UI HWND

2006-06-22 Thread Dana Gutride
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?DanaOn