Hi Cor,
Herfried may provide a better explanation, but AFAIK, TopMost establishes a
window in your app that will be always on top of the others, while
SetForegroundWindow is used to bring a normal window to the foreground, to
call the user's attention over it, if the OS allows it (because it can be
annoying, see
http://msdn.microsoft.com/library/de...oundwindow.asp)
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"Cor Ligthert" <(E-Mail Removed)> escribió en el mensaje
news:u$(E-Mail Removed)...
>
> "Herfried K. Wagner [MVP]"
>
>>> Why do you not use just TopMost
>>
>> ... because it's something entirely different...
>>
> I did not know that you was asking your question in this newsgroup with
> another pseudo, however can you explain to me what is different?
>
> Cor
>