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