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

Getting HWND from a CA


1 reply to this topic

reesi02

reesi02
  • Members
  • 10 posts

Posted 14 May 2002 - 11:57

I have a DLL based CA that displays a dialog, but I cannot get the HWND of the parent window(the MSIEXEC.exe). Does any body have any suggestions?

pdriley

pdriley
  • Members
  • 91 posts

Posted 14 May 2002 - 13:54

Can't you use FindWindow?

You might have to run a couple of tests to find the class but as you can only have one installer on the go at any time, I'd have thought it was quite easy.

If that doesn't work the maybe there's a clever way to use MsiSetInternalUI (though I've never really understood what that does exactly).
Paul Riley (Vector Networks), InstallShield User.