Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Custom dialog does not appear in foreground!


1 reply to this topic

UserMI

UserMI
  • Members
  • 7 posts

Posted 21 November 2002 - 18:54

I am having trouble with a custom dialog. I have a Basic MSI project. I have a custom action after InstallFinalize that displays the custom dialog using Define Dialog. Everything works correctly as long as there are no messageboxes displayed before the custom action. If a messagebox does appear beforehand, the custom dialog appears behind the SetUpProgress Dialog. I have tried SetForeGroundWindow, SetFocus, BringWindowToFront using the handle of the custom dialog with no success. Please, any ideas?

thanks in advance
advance

vkj

vkj
  • Members
  • 15 posts

Posted 27 November 2002 - 11:58

Use FindWindow funciton to get the window handle. You can get the window class by using the spy tool with Visual Studio tools.