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
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
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
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
4 matches
Mail list logo